From 5f545a51231ab4955763fd812a0d914b1d8bc561 Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期四, 27 七月 2023 20:35:34 +0800 Subject: [PATCH] PDM集成swing界面相关功能开发 --- Source/UBCS-WEB/src/components/Master/MasterTransfer.vue | 15 ++------------- 1 files changed, 2 insertions(+), 13 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue b/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue index dab8951..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,19 +144,8 @@ 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