From 3a7caf4344d5911a3ee68d232e53887d6cc2ff6b Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 15 一月 2025 15:41:25 +0800
Subject: [PATCH] 测试完成

---
 src/api/patient/homepage.js |  169 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 167 insertions(+), 2 deletions(-)

diff --git a/src/api/patient/homepage.js b/src/api/patient/homepage.js
index 713159b..19cb4a3 100644
--- a/src/api/patient/homepage.js
+++ b/src/api/patient/homepage.js
@@ -1,5 +1,5 @@
 import request from '@/utils/request'
-import { parseStrEmpty } from "@/utils/ruoyi";
+import { parseStrEmpty } from "@/utils/ruoyi";//澶勭悊瀛楃涓�,und,null杞崲涓�'';
 
 // 鏌ヨ鎮h�呭垪琛�
 export function listpatient(query) {
@@ -8,4 +8,169 @@
     method: 'get',
     params: query
   })
-}
\ No newline at end of file
+};
+// 鐢ㄦ埛淇℃伅鏌ヨ鎮h�呭垪琛�
+export function messagelistpatient(data) {
+  return request({
+    url: '/smartor/patarchive/patInfoByContion',
+    method: 'post',
+    data: data
+  })
+};
+
+// 淇敼鎮h�呮。妗�
+export function alterpatient(data) {
+  return request({
+    url: '/smartor/patarchive/saveOrUpdatePatInfo',
+    method: 'post',
+    data: data
+  })
+};
+// 鏂板鎮h��
+export function addpatient(data) {
+  return request({
+    url: '/smartor/patarchive/add',
+    method: 'post',
+    data: data
+  })
+};
+
+// 鎮h�呰鎯�
+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',
+  })
+};
+// 鍒犻櫎鎮h�呭垪琛�
+export function deletepatient(userId) {
+  return request({
+    url: '/smartor/patarchive/remove/' + userId,
+    method: 'get',
+  })
+};
+
+// 瀵煎嚭鎮h�呴敊璇俊鎭�
+export function Exporterrorpatient(userId) {
+  return request({
+    url: '/smartor/patarchive/patTagByContion/'+userId,
+    method: 'get',
+  })
+};
+// 瀵煎叆鎮h�呮枃浠跺鐞�
+export function toleadpatient(userId) {
+  return request({
+    url: '/smartor/patarchive/patTagByContion/'+userId,
+    method: 'get',
+  })
+};
+// 鏂板鎮h�呯梾鍙�
+
+export function addmedicalhistory(data) {
+  return request({
+    url: '/medicalhistory/add',
+    method: 'post',
+    data: data
+  })
+};
+// 鐥呭彶鍒楄〃
+export function getmedicalhistory(data) {
+  return request({
+    url: '/medicalhistory/selectMedicalHistoryList',
+    method: 'post',
+    data: data
+  })
+};
+
+// 淇敼鐥呭彶
+export function editmedicalhistory(data) {
+  return request({
+    url: '/medicalhistory/edit',
+    method: 'post',
+    data: data
+  })
+};
+
+// 鏂板鎮h�呰仈绯绘柟寮�
+export function addcontactinformation(data) {
+  return request({
+    url: '/archivecontact/add',
+    method: 'post',
+    data: data
+  })
+};
+// 淇敼鎮h�呰仈绯绘柟寮�
+export function editcontactinformation(data) {
+  return request({
+    url: '/archivecontact/edit',
+    method: 'post',
+    data: data
+  })
+};
+// 鑱旂郴鏂瑰紡璇︽儏
+export function getcontactinformation(userId) {
+  return request({
+    url: '/medicalhistory/'+userId,
+    method: 'get',
+  })
+};
+// 鑱旂郴鏂瑰紡鍒楄〃
+export function listcontactinformation(data) {
+  return request({
+    url: '/archivecontact/selectPatArchivecontactList',
+    method: 'post',
+    data:data
+  })
+};
+// 鍒犻櫎璇︽儏
+export function delcontactinformation(userId) {
+  return request({
+    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