From e8c62bd430b9697d3f954125b7ec9f61f18347a2 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 11:19:34 +0800
Subject: [PATCH] 测试完成
---
src/api/patient/homepage.js | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 56 insertions(+), 1 deletions(-)
diff --git a/src/api/patient/homepage.js b/src/api/patient/homepage.js
index f134bfd..975a446 100644
--- a/src/api/patient/homepage.js
+++ b/src/api/patient/homepage.js
@@ -17,6 +17,15 @@
data: data
})
};
+// 鐢ㄦ埛淇℃伅鏌ヨ鎮h�呭垪琛�
+export function patarchivelist(data) {
+ return request({
+ url: '/smartor/patarchive/list',
+ method: 'post',
+ data: data
+ })
+};
+
// 淇敼鎮h�呮。妗�
export function alterpatient(data) {
return request({
@@ -28,7 +37,7 @@
// 鏂板鎮h��
export function addpatient(data) {
return request({
- url: '/smartor/patarchive',
+ url: '/smartor/patarchive/add',
method: 'post',
data: data
})
@@ -38,6 +47,13 @@
export function particularpatient(userId) {
return request({
url: '/smartor/patarchive/getInfo/' + userId,
+ method: 'get',
+ })
+};
+// 鎮h�呴棬璇婅鎯�
+export function Patientclinic(userId) {
+ return request({
+ url: 'patouthosp/selectPatMedOuthospList' + userId,
method: 'get',
})
};
@@ -72,6 +88,7 @@
data: data
})
};
+
// 鐥呭彶鍒楄〃
export function getmedicalhistory(data) {
return request({
@@ -128,3 +145,41 @@
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