From 2f09efc660bf2cc94cbc5291ad25ca06fc9bdadf Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期六, 24 一月 2026 22:03:09 +0800
Subject: [PATCH] feat: 增加OCR测试,车辆
---
app/api/hospital.js | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/app/api/hospital.js b/app/api/hospital.js
index 39e474f..2551dbb 100644
--- a/app/api/hospital.js
+++ b/app/api/hospital.js
@@ -85,3 +85,21 @@
}
})
}
+
+/**
+ * 鍩轰簬鍒嗚瘝鍖归厤鎼滅储鍖婚櫌锛堟柊绠楁硶锛屾櫤鑳藉垎璇�+璇勫垎鎺掑簭锛�
+ * @param {string} searchText 鎼滅储鏂囨湰
+ * @param {number} deptId 閮ㄩ棬ID锛堝彲閫夛紝鐢ㄤ簬鍖哄煙杩囨护锛�
+ * @param {number} limit 杩斿洖缁撴灉鏁伴噺闄愬埗锛堥粯璁�50锛�
+ */
+export function searchHospitalsByKeywords(searchText, deptId, limit = 50) {
+ return request({
+ url: '/system/hospital/searchByKeywords',
+ method: 'get',
+ params: {
+ searchText: searchText,
+ deptId: deptId,
+ pageSize: limit
+ }
+ })
+}
--
Gitblit v1.9.1