From 02dbaaa04bc443e860a715cf907bc0fb5c1a7da4 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期二, 11 七月 2023 09:09:34 +0800 Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs --- Source/UBCS-WEB/src/components/file/main.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/file/main.vue b/Source/UBCS-WEB/src/components/file/main.vue index 370eea5..cfbd438 100644 --- a/Source/UBCS-WEB/src/components/file/main.vue +++ b/Source/UBCS-WEB/src/components/file/main.vue @@ -364,14 +364,17 @@ }, handleDownload(row) { //window.open(`${row.link}`); + let data=new FormData(); if(row && row.oid){ - download({fileOids:row.oid}) + data.append('fileOids',row.oid) + download(data) }else{ if (this.selectionList.length === 0) { - this.$message.warning("璇烽�夋嫨鑷冲皯涓�鏉℃暟鎹�"); + this.$message.warning("璇烽�夋嫨鑷冲皯涓�鏉℃暟鎹�");x return; } - download({fileOids:this.oids}); + data.append('fileOids',this.oids) + download(data); } }, rowDel(row) { -- Gitblit v1.9.3