Commit 4c0ae264 by 张杰

修改工单图片导出方式

1 parent 546d9112
...@@ -376,9 +376,12 @@ export default { ...@@ -376,9 +376,12 @@ export default {
_this.iloading = true; _this.iloading = true;
GET_WORKORDER_BATCHEXPORTPICS(oParams).then(res => { GET_WORKORDER_BATCHEXPORTPICS(oParams).then(res => {
_this.iloading = false;
if(res.code == 200){ if(res.code == 200){
window.open(res.data) window.open(res.data)
} }
}).catch(error => {
_this.iloading = false;
}) })
// _this.$Common.exportExcel({ // _this.$Common.exportExcel({
// url: `${store.state.baseURL}${GET_WORKORDER_BATCHEXPORTPICS}`, // url: `${store.state.baseURL}${GET_WORKORDER_BATCHEXPORTPICS}`,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!