From d9183aa80ae17d36b79dda48c6b1d7fa22a80ee3 Mon Sep 17 00:00:00 2001 From: xiejun <xiejun@vci-tech.com> Date: 星期三, 22 一月 2025 11:20:41 +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