From a5453cb3440e4536b5d5dc5e74e48df482836065 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 08 十二月 2023 12:08:33 +0800
Subject: [PATCH] 码段新增和修改时限制层级类型为最小层级时,层级的值不可输入,并且校验只能输入数字

---
 Source/UBCS-WEB/src/api/resource/file.js |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/resource/file.js b/Source/UBCS-WEB/src/api/resource/file.js
index d9c2076..0af8963 100644
--- a/Source/UBCS-WEB/src/api/resource/file.js
+++ b/Source/UBCS-WEB/src/api/resource/file.js
@@ -36,12 +36,14 @@
   })
 }
 
-export const download = (fileOids) => {
+export const download = (data) => {
   return request({
     url: '/api/ubcs-resource/fileController/downloadFilesByOids',
     method: 'post',
-    // headers:{'Content-Type':'application/x-www-form-urlencoded'},
-    params: fileOids
+    headers:{'Content-Type':'application/x-www-form-urlencoded;charset=UTF-8'},
+    responseType: 'blob',
+    data: data
+
   })
 }
 

--
Gitblit v1.9.3