fix bug
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||
</div>
|
||||
<div nz-col [nzSpan]="24" style="display: flex; justify-content: flex-end;">
|
||||
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading"
|
||||
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
|
||||
(click)="st?.load(1)" acl [acl-ability]="['ORDER-COMPLAINT-search']">查询</button>
|
||||
<button nz-button nzType="primary" acl [acl-ability]="['ORDER-COMPLAINT-export']"
|
||||
>导出</button>
|
||||
|
||||
@ -29,6 +29,7 @@ export class OrderManagementComplaintComponent implements OnInit {
|
||||
@ViewChild('sfView', { static: false }) sfView!: SFComponent;
|
||||
columns: STColumn[] = [];
|
||||
selectedIndex: number = 0;
|
||||
isLoading: boolean = false;
|
||||
mainTabs = [
|
||||
{ name: '司机投诉', status: '2' },
|
||||
{ name: '货主投诉', status: '1' },
|
||||
@ -253,6 +254,7 @@ export class OrderManagementComplaintComponent implements OnInit {
|
||||
*/
|
||||
resetSF(): void {
|
||||
this.sf.reset();
|
||||
this.isLoading = true
|
||||
}
|
||||
selectChange(e: number) {
|
||||
this.resourceStatus = e;
|
||||
|
||||
Reference in New Issue
Block a user