From 79d870e1d8c88c01fa5075e3fb30ad9f0b6f37f7 Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期四, 25 四月 2024 15:15:17 +0800 Subject: [PATCH] 修改完254、258、259、260、261错误 --- ruoyi-ui/src/api/healthy/index.js | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 54 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/api/healthy/index.js b/ruoyi-ui/src/api/healthy/index.js index 4e164ec..9045f72 100644 --- a/ruoyi-ui/src/api/healthy/index.js +++ b/ruoyi-ui/src/api/healthy/index.js @@ -45,10 +45,60 @@ data: data }) } + +// 鏌ヨ鍘嗗勾浣撴鎯呭喌 +export function listExamination(query) { + return request({ + url: '/physcial/all', + method: 'get', + params: query + }) +} + + +// // 鏍规嵁id鏌ヨ璇︾粏淇℃伅 +export function getExaminationInfo(queryParameters) { + return request({ + url: '/physcial' , + method: 'get', + params: queryParameters + }) +} + +//澧炲姞瀹跺涵璁惧 +export function addExamination(data) +{ + return request({ + url: '/physcial', + method: 'post', + data: data + }) +} + +// 鍒犻櫎瀹跺涵璁惧 +export function delExamination(Ids) { + return request({ + url: '/physcial/' + Ids, + method: 'delete' + }) +} +//淇敼瀹跺涵璁惧 +export function updateExamination(data) { + return request({ + url: '/physcial', + method: 'put', + data: data + }) +} + + + + + //涓婁紶鏂囦欢 export function uploadPic(data) { return request({ - url: '/common/upload', + url: '/common/uploads', method: 'post', data: data }) @@ -62,6 +112,7 @@ responseType: 'blob' }) } + //涓婁紶鏂囦欢 export function enload(data) { return request({ @@ -160,7 +211,7 @@ //鑾峰緱鎵�鏈� export function listHealthNote(query) { return request({ - url: '/zHealthNote/all', + url: '/zHealthNote', method: 'get', params: query }) @@ -170,7 +221,7 @@ export function updateHealthNote(data) { return request({ url: '/zHealthNote', - method: 'put', + method: 'post', data: data }) } -- Gitblit v1.9.1