From 8fd0ad7a95d85cd09c5bf98bc0c05235a162a8af Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 16 十一月 2023 16:40:34 +0800 Subject: [PATCH] bug列表:180(分类上增加关键属性查重校验字段当前分类是否参与校验,历史数据导入代码逻辑中关键属性校验增加过滤条件) --- 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