From 9e9435a15d12e364d0a910434de0568e11bb273c Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期四, 03 八月 2023 17:08:05 +0800
Subject: [PATCH] 1、处理lastr","firstr","lastv","firstv"字段在数据创建时为整形问题。 2、处理属性分组设置了一个属性,且配置表单中不显示。那么页面的表单应该不显示此分组。

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

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

--
Gitblit v1.9.3