From 1b555a0ab0527478cdf2b0c31c0ea8aea70f8adc Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 15 六月 2023 10:52:39 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into yxh01

---
 src/api/patient/homepage.js |   72 ++++++++++++++++++++++++++++++++++++
 1 files changed, 72 insertions(+), 0 deletions(-)

diff --git a/src/api/patient/homepage.js b/src/api/patient/homepage.js
new file mode 100644
index 0000000..6f3bf90
--- /dev/null
+++ b/src/api/patient/homepage.js
@@ -0,0 +1,72 @@
+import request from '@/utils/request'
+import { parseStrEmpty } from "@/utils/ruoyi";//澶勭悊瀛楃涓�,und,null杞崲涓�'';
+
+// 鏌ヨ鎮h�呭垪琛�
+export function listpatient(query) {
+  return request({
+    url: '/smartor/patarchive/list',
+    method: 'get',
+    params: query
+  })
+};
+// 鐢ㄦ埛淇℃伅鏌ヨ鎮h�呭垪琛�
+export function messagelistpatient(data) {
+  return request({
+    url: '/smartor/patarchive/patInfoByContion',
+    method: 'post',
+    data: data
+  })
+};
+// 鏍囩鏌ヨ鎮h�呭垪琛�
+export function taglistpatient(data) {
+  return request({
+    url: '/smartor/patarchive/patTagByContion',
+    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