Commit 85ceac4c by 张杰

增加图片导出失败提示语

1 parent 501792f9
......@@ -375,14 +375,20 @@ export default {
oParams.orderIds = arr.toString();
_this.iloading = true;
GET_WORKORDER_BATCHEXPORTPICS(oParams).then(res => {
GET_WORKORDER_BATCHEXPORTPICS(oParams)
.then((res) => {
_this.iloading = false;
if(res.code == 200){
window.open(res.data)
if (res.code != 200) {
showToast({
message: res.message,
});
return false;
}
}).catch(error => {
_this.iloading = false;
window.open(res.data);
})
.catch((error) => {
_this.iloading = false;
});
// _this.$Common.exportExcel({
// url: `${store.state.baseURL}${GET_WORKORDER_BATCHEXPORTPICS}`,
// method: "GET",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!