From 6afb98b81fa4b4b3223d53d42a891fb89862d38b Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期一, 14 八月 2023 16:36:29 +0800 Subject: [PATCH] 新增家谱图,完善各模块新增时的电子文件上传功能,在上传期间显示正在上传 --- ruoyi-ui/src/api/economy/index.js | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ruoyi-ui/src/api/economy/index.js b/ruoyi-ui/src/api/economy/index.js index 43cbdeb..214e221 100644 --- a/ruoyi-ui/src/api/economy/index.js +++ b/ruoyi-ui/src/api/economy/index.js @@ -11,6 +11,7 @@ }) } + // 鏍规嵁id鏌ヨ鎵�鏈夋敹鏀彴璐︿俊鎭� export function getEconomyInfo(id) { return request({ @@ -64,13 +65,12 @@ }) } -//瀵煎叆鏁版嵁 -// export function download(data) { -// return request({ -// url: '/zfEquipment/importData', -// method: 'post', -// params: data, -// responseType: 'blob' -// }) -// } +//瀵煎叆 +export function enload(data) { + return request({ + url: 'zfEconomy/importData', + method: 'post', + data: data + }) +} -- Gitblit v1.9.1