This commit is contained in:
wangshiming
2022-03-04 16:14:22 +08:00
parent 99d00bafa8
commit 855615d1ff
8 changed files with 43 additions and 39 deletions

View File

@ -31,7 +31,7 @@
[acl-ability]="['SUPPLY-INDEX-vehicleSearch']"
>查询</button
>
<button nz-button nzType="primary" [disabled]="loading">导出</button>
<button nz-button nzType="primary" [disabled]="loading" (click)="exportFire()" >导出</button>
<button nz-button [disabled]="loading" (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }}

View File

@ -611,4 +611,12 @@ export class SupplyManagementVehicleComponent implements OnInit {
}
];
}
// 导出
exportFire() {
this.service.request(this.service.$api_asyncExportWholeList, this.reqParams ).subscribe((res: any) => {
if(res) {
this.service.msgSrv.success('导出成功,请去下载中心下载!')
}
})
}
}