From 17b041e2e7ebd5afe75403fefc57cc6a88b51dad Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 06 八月 2024 13:23:58 +0800
Subject: [PATCH] 测试完成

---
 src/api/patient/homepage.js |   26 ++++++++++++++++++--------
 1 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/src/api/patient/homepage.js b/src/api/patient/homepage.js
index 0dfedce..f134bfd 100644
--- a/src/api/patient/homepage.js
+++ b/src/api/patient/homepage.js
@@ -20,8 +20,8 @@
 // 淇敼鎮h�呮。妗�
 export function alterpatient(data) {
   return request({
-    url: '/smartor/patarchive',
-    method: 'put',
+    url: '/smartor/patarchive/saveOrUpdatePatInfo',
+    method: 'post',
     data: data
   })
 };
@@ -33,6 +33,7 @@
     data: data
   })
 };
+
 // 鎮h�呰鎯�
 export function particularpatient(userId) {
   return request({
@@ -44,7 +45,7 @@
 export function deletepatient(userId) {
   return request({
     url: '/smartor/patarchive/remove/' + userId,
-    method: 'delete',
+    method: 'get',
   })
 };
 
@@ -71,11 +72,12 @@
     data: data
   })
 };
-// 鐥呭彶璇︽儏
-export function getmedicalhistory(userId) {
+// 鐥呭彶鍒楄〃
+export function getmedicalhistory(data) {
   return request({
-    url: '/medicalhistory/'+userId,
-    method: 'get',
+    url: '/medicalhistory/selectMedicalHistoryList',
+    method: 'post',
+    data: data
   })
 };
 
@@ -111,10 +113,18 @@
     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',
   })
 };

--
Gitblit v1.9.3