This commit is contained in:
Taric Xin
2022-01-12 13:14:15 +08:00
parent ad33c512f1
commit 673b27a935
3 changed files with 21 additions and 7 deletions

View File

@ -22,7 +22,7 @@ export class UserCenterComponentsDriverComponent implements OnInit {
promoterModal!: any;
promotersTelephone = '';
resourceStatus: any = 0;
resourceStatus: any = 10;
constructor(public service: UsermanageService, private modal: NzModalService, private router: Router, private ar: ActivatedRoute) {}
/**
@ -30,7 +30,8 @@ export class UserCenterComponentsDriverComponent implements OnInit {
*/
get reqParams() {
const params: any = {
...(this.sf && this.sf.value)
...(this.sf && this.sf.value),
auditStatus: this.resourceStatus
};
if (this.sf?.value.effectiveDate) {
Object.assign(params, {
@ -55,7 +56,9 @@ export class UserCenterComponentsDriverComponent implements OnInit {
selectChange(e: any) {
this.resourceStatus = e;
this.st.load();
setTimeout(() => {
this.st.load();
}, 200);
}
addPromoter(item?: any) {