From f1550a1f24ff7ad862953f7ca078e6619e7b570b Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期三, 28 六月 2023 14:00:48 +0800
Subject: [PATCH] 附件下载及删除

---
 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