From 4105c9b7b77c8be32b42f9f0c1e75ecf05a677f5 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 29 六月 2023 18:42:22 +0800
Subject: [PATCH] Merge branch 'wulong' of http://116.62.18.175:6699/r/~yxh/smartor-web into yxh01

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

diff --git a/src/api/patient/homepage.js b/src/api/patient/homepage.js
index 713159b..8ede6e1 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,57 @@
     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',
+    method: 'put',
+    data: data
+  })
+};
+// 鏂板鎮h��
+export function addpatient(data) {
+  return request({
+    url: '/smartor/patarchive',
+    method: 'post',
+    data: data
+  })
+};
+// 鎮h�呰鎯�
+export function particularpatient(userId) {
+  return request({
+    url: '/smartor/patarchive/' + userId,
+    method: 'get',
+  })
+};
+// 鍒犻櫎鎮h�呭垪琛�
+export function deletepatient(userId) {
+  return request({
+    url: '/smartor/patarchive/' + userId,
+    method: 'delete',
+  })
+};
+
+// 瀵煎嚭鎮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',
+  })
+};

--
Gitblit v1.9.3