edit
This commit is contained in:
@ -223,13 +223,7 @@ export class FreightComponentsListComponent implements OnInit {
|
||||
|
||||
exportList() {
|
||||
const params = this.reqParams;
|
||||
this.service
|
||||
.request(this.service.$api_export_freight_list, { ...params, pageSize: this.st.ps, pageIndex: this.st.pi })
|
||||
.subscribe(res => {
|
||||
if (res) {
|
||||
this.service.msgSrv.success('导出成功');
|
||||
}
|
||||
});
|
||||
this.service.downloadFile(this.service.$api_export_enterprise, params);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user