From 60ae08e4437faa2c881bda539d57921b837cc8df Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期六, 05 八月 2023 00:39:41 +0800 Subject: [PATCH] 家谱中配偶的第几代不显示 --- ruoyi-ui/src/api/wish/index.js | 35 ++++++++++++++++++++++------------- 1 files changed, 22 insertions(+), 13 deletions(-) diff --git a/ruoyi-ui/src/api/wish/index.js b/ruoyi-ui/src/api/wish/index.js index eb4e58c..ba437c6 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 + }); } //鏂板 @@ -53,6 +53,14 @@ data: data }) } +//涓婁紶鏂囦欢 +export function enload(data) { + return request({ + url: '/zIdea/importData', + method: 'post', + data: data + }) +} //涓嬭浇鏂囦欢 export function download(data) { return request({ @@ -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