From 1bc97562ccf38d0b6235f2efdba35eb68f1f208b Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期一, 10 十一月 2025 22:06:55 +0800
Subject: [PATCH] fix:修复 sysuser

---
 app/api/hospital.js |   56 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 53 insertions(+), 3 deletions(-)

diff --git a/app/api/hospital.js b/app/api/hospital.js
index 0607054..dc1d7d0 100644
--- a/app/api/hospital.js
+++ b/app/api/hospital.js
@@ -2,14 +2,16 @@
 
 /**
  * 鎼滅储鍖婚櫌
- * @param {string} keyword 鎼滅储鍏抽敭璇嶏紙鍖婚櫌鍚嶇О鎴栧湴鍧�锛�
+ * @param {string} keyword 鎼滅储鍏抽敭璇嶏紙鍖婚櫌鍚嶇О銆佸湴鍧�銆佺畝绉般�佺渷甯傚尯锛�
+ * @param {number} deptId 閮ㄩ棬ID锛堢敤浜庢牴鎹儴闂ㄥ尯鍩熼厤缃繃婊ゅ尰闄級
  */
-export function searchHospitals(keyword) {
+export function searchHospitals(keyword, deptId) {
   return request({
     url: '/system/hospital/search',
     method: 'get',
     params: {
-      keyword: keyword
+      keyword: keyword,
+      deptId: deptId
     }
   })
 }
@@ -27,3 +29,51 @@
     }
   })
 }
+
+/**
+ * 鑾峰彇甯哥敤杞嚭鍖婚櫌鍒楄〃
+ * @param {string} serviceOrdClass 鍒嗗叕鍙哥紪鐮侊紙service_order_class锛�
+ * @param {string} region 鍦板煙鍏抽敭璇嶏紙鍙�夛級
+ */
+export function getFrequentOutHospitals(serviceOrdClass, region) {
+  return request({
+    url: '/system/hospital/frequent/out',
+    method: 'get',
+    params: {
+      serviceOrdClass: serviceOrdClass,
+      region: region
+    }
+  })
+}
+
+/**
+ * 鑾峰彇甯哥敤杞叆鍖婚櫌鍒楄〃
+ * @param {string} serviceOrdClass 鍒嗗叕鍙哥紪鐮侊紙service_order_class锛�
+ * @param {string} region 鍦板煙鍏抽敭璇嶏紙鍙�夛級
+ */
+export function getFrequentInHospitals(serviceOrdClass, region) {
+  return request({
+    url: '/system/hospital/frequent/in',
+    method: 'get',
+    params: {
+      serviceOrdClass: serviceOrdClass,
+      region: region
+    }
+  })
+}
+
+/**
+ * 鏍规嵁閮ㄩ棬鍖哄煙閰嶇疆鎼滅储鍖婚櫌锛堟敮鎸佸绾у尯鍩燂級
+ * @param {string} keyword 鎼滅储鍏抽敭璇�
+ * @param {number} deptId 閮ㄩ棬ID
+ */
+export function searchHospitalsByDeptRegion(keyword, deptId) {
+  return request({
+    url: '/system/hospital/search/by-dept-region',
+    method: 'get',
+    params: {
+      keyword: keyword,
+      deptId: deptId
+    }
+  })
+}

--
Gitblit v1.9.1