From 9aa9c765801fcaa7281df2788400cc61592c005e Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期四, 25 四月 2024 17:42:30 +0800 Subject: [PATCH] 修改了会议申请内容 --- ruoyi-ui/src/api/wish/index.js | 37 +++++++++++++++++++++++-------------- 1 files changed, 23 insertions(+), 14 deletions(-) diff --git a/ruoyi-ui/src/api/wish/index.js b/ruoyi-ui/src/api/wish/index.js index eb4e58c..5495b14 100644 --- a/ruoyi-ui/src/api/wish/index.js +++ b/ruoyi-ui/src/api/wish/index.js @@ -10,12 +10,12 @@ } // 鏍规嵁id鏌ヨ -export function getWish(id) { +export function getWish(queryParameters) { return request({ - url: '/zIdea/' + id, + url: '/zIdea', method: 'get', - - }) + params: queryParameters + }); } //鏂板 @@ -48,7 +48,15 @@ //涓婁紶鏂囦欢 export function uploadPic(data) { return request({ - url: '/common/upload', + url: '/common/uploads', + method: 'post', + data: data + }) +} +//涓婁紶鏂囦欢 +export function enload(data) { + return request({ + url: '/zIdea/importData', method: 'post', data: data }) @@ -62,12 +70,13 @@ responseType: 'blob' }) } -//瀵煎叆妯℃澘 -export function downloadModel(data) { - return request({ - url: '/zIdea/model', - method: 'get', - params: data, - responseType: 'blob' - }) -} + +// //瀵煎叆妯℃澘 +// export function downloadModel(data) { +// return request({ +// url: '/zIdea/model', +// method: 'get', +// params: data, +// responseType: 'blob' +// }) +// } -- Gitblit v1.9.1