fix bug
This commit is contained in:
@ -177,17 +177,15 @@ export class SupplyManagementVehicleComponent implements OnInit {
|
|||||||
{
|
{
|
||||||
label: '下载失败数据',
|
label: '下载失败数据',
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
loading: this.service.http.loading,
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
if(!result?.failNumber) {
|
if(!result?.failNumber) {
|
||||||
this.service.msgSrv.error('没有失败数据!');
|
this.service.msgSrv.error('没有失败数据!');
|
||||||
|
tipsModal.destroy();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.service.request(this.service.$api_getFailUploadGoodsOperateResource, result.ids).subscribe((res: any) => {
|
this.service.downloadFile(this.service.$api_getFailUploadGoodsOperateResource, result.ids)
|
||||||
if(res) {
|
tipsModal.destroy();
|
||||||
console.log(res);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
console.log(111);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user