This commit is contained in:
Lingzi
2022-04-02 16:37:39 +08:00
parent ab9b88046d
commit d67ba84af0
39 changed files with 61 additions and 31 deletions

View File

@ -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>

View File

@ -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;