From 3b7ed32fb0d22be7d1b7e23e7101e29a5b2dfb40 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期三, 28 二月 2024 20:33:50 +0800 Subject: [PATCH] 修改了备忘录内容 --- ruoyi-ui/src/api/healthy/index.js | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 53 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/api/healthy/index.js b/ruoyi-ui/src/api/healthy/index.js index 4e164ec..fbbdec7 100644 --- a/ruoyi-ui/src/api/healthy/index.js +++ b/ruoyi-ui/src/api/healthy/index.js @@ -45,6 +45,56 @@ 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({ @@ -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