From 99b062eeca471bdcbfcacd88e308fab9972cd6ec Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 19 八月 2025 14:21:33 +0800
Subject: [PATCH] 展示优化
---
src/api/patient/homepage.js | 78 +++++++++++++++++++++++++++++++++-----
1 files changed, 67 insertions(+), 11 deletions(-)
diff --git a/src/api/patient/homepage.js b/src/api/patient/homepage.js
index 0dfedce..5d242b6 100644
--- a/src/api/patient/homepage.js
+++ b/src/api/patient/homepage.js
@@ -17,22 +17,24 @@
data: data
})
};
+
// 淇敼鎮h�呮。妗�
export function alterpatient(data) {
return request({
- url: '/smartor/patarchive',
- method: 'put',
+ url: '/smartor/patarchive/saveOrUpdatePatInfo',
+ method: 'post',
data: data
})
};
// 鏂板鎮h��
export function addpatient(data) {
return request({
- url: '/smartor/patarchive',
+ url: '/smartor/patarchive/add',
method: 'post',
data: data
})
};
+
// 鎮h�呰鎯�
export function particularpatient(userId) {
return request({
@@ -40,11 +42,18 @@
method: 'get',
})
};
+// 鎮h�呴棬璇婅鎯�
+export function Patientclinic(userId) {
+ return request({
+ url: 'patouthosp/selectPatMedOuthospList' + userId,
+ method: 'get',
+ })
+};
// 鍒犻櫎鎮h�呭垪琛�
export function deletepatient(userId) {
return request({
url: '/smartor/patarchive/remove/' + userId,
- method: 'delete',
+ method: 'get',
})
};
@@ -66,23 +75,24 @@
export function addmedicalhistory(data) {
return request({
- url: '/medicalhistory/add',
+ url: '/smartor/baby/add',
method: 'post',
data: data
})
};
-// 鐥呭彶璇︽儏
-export function getmedicalhistory(userId) {
+// 鐥呭彶鍒楄〃
+export function getmedicalhistory(data) {
return request({
- url: '/medicalhistory/'+userId,
- method: 'get',
+ url: '/smartor/baby/list',
+ method: 'post',
+ data: data
})
};
// 淇敼鐥呭彶
export function editmedicalhistory(data) {
return request({
- url: '/medicalhistory/edit',
+ url: '/smartor/baby/edit',
method: 'post',
data: data
})
@@ -111,10 +121,56 @@
method: 'get',
})
};
+// 鑱旂郴鏂瑰紡鍒楄〃
+export function listcontactinformation(data) {
+ return request({
+ url: '/archivecontact/selectPatArchivecontactList',
+ method: 'post',
+ data:data
+ })
+};
// 鍒犻櫎璇︽儏
export function delcontactinformation(userId) {
return request({
- url: '/archivecontact/'+userId,
+ url: '/archivecontact/remove/'+userId,
+ method: 'get',
+ })
+};
+// 鎮h�呰繃婊ゅ垪琛�
+export function listfiltration(data) {
+ return request({
+ url: '/smartor/filterlist/list',
+ method: 'get',
+ params:data
+ })
+};
+// 鍒犻櫎鎮h�呰繃婊�
+export function delfiltration(userId) {
+ return request({
+ url: '/smartor/filterlist/remove/'+userId,
+ method: 'get',
+ })
+};
+// 淇敼杩囨护鎮h��
+export function editfiltration(data) {
+ return request({
+ url: '/smartor/filterlist/edit',
+ method: 'post',
+ data:data
+ })
+};
+// 淇敼杩囨护鎮h��
+export function addfiltration(data) {
+ return request({
+ url: '/smartor/filterlist/add',
+ method: 'post',
+ data:data
+ })
+};
+// 鏌ヨ杩囨护鎮h�呰鎯�
+export function infofiltration(userId) {
+ return request({
+ url: '/smartor/filterlist/getInfo/'+userId,
method: 'get',
})
};
--
Gitblit v1.9.3