From ef05f1416c204098f003c3f4c3861354d18cd503 Mon Sep 17 00:00:00 2001
From: 张钢 <floatgang@163.com>
Date: 星期六, 24 八月 2024 13:48:35 +0800
Subject: [PATCH] Merge branch 'master' of http://47.93.189.255:8099/r/zhangshi_app_web
---
ruoyi-ui/src/api/healthy/index.js | 65 +++++++++++++++++++++++++++++---
1 files changed, 58 insertions(+), 7 deletions(-)
diff --git a/ruoyi-ui/src/api/healthy/index.js b/ruoyi-ui/src/api/healthy/index.js
index fb77407..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({
@@ -85,7 +136,7 @@
export function updateHealthBase(data) {
return request({
url: '/zHealthBase',
- method: 'put',
+ method: 'post',
data: data
})
}
@@ -113,7 +164,7 @@
export function updateHealthHabit(data) {
return request({
url: '/zHealthHabit',
- method: 'put',
+ method: 'post',
data: data
})
}
@@ -133,7 +184,7 @@
export function updateHealthHuli(data) {
return request({
url: '/zHealthInfo',
- method: 'put',
+ method: 'post',
data: data
})
}
@@ -152,7 +203,7 @@
export function updateHealthNow(data) {
return request({
url: '/zHealthNow',
- method: 'put',
+ method: 'post',
data: data
})
}
@@ -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