From 9c98f727014deabd5ff8891f298224104afc0022 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 28 七月 2023 10:37:10 +0800 Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs --- Source/UBCS-WEB/src/components/Master/MasterTransfer.vue | 14 +------------- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue b/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue index 7e667be..3525361 100644 --- a/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue +++ b/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue @@ -133,7 +133,7 @@ exportArr[`attrIdIndexMap[${index}]`] = item }) exportCode({codeClassifyOid:this.codeClassifyOid,'conditionMap[oid]':ids,...exportArr}).then(res=>{ - console.log('res',res) + // console.log('res',res) if(res){ const fileNames = res.headers['content-disposition'].split(";"); let characterSet = fileNames[2].split("filename*=")[1]; @@ -144,18 +144,6 @@ func.downloadFileByBlob(blob,fileName); window.URL.revokeObjectURL(src); //閲婃斁鎺塨lob瀵硅薄 } - - // let src = window.URL.createObjectURL(blob); - // if (src) { - // let link = document.createElement("a"); - // link.style.display = "none"; - // link.href = src; - // link.setAttribute("download", "鏂囦欢鍚嶅瓧.xls"); - // document.body.appendChild(link); - // link.click(); - // document.body.removeChild(link); //涓嬭浇瀹屾垚绉婚櫎鍏冪礌 - // window.URL.revokeObjectURL(src); //閲婃斁鎺塨lob瀵硅薄 - // } }) } -- Gitblit v1.9.3