From bbbc478129f72b26e2ec4a2e981ed8698a96880c Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 22 十月 2026 00:28:18 +0800
Subject: [PATCH] 当service_type=6时,需要根据传入的入院还是离院病区(病区)去后端查询

---
 src/api/smartor/patouthosp.js |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/api/smartor/patouthosp.js b/src/api/smartor/patouthosp.js
index ebe3d70..315c9cc 100644
--- a/src/api/smartor/patouthosp.js
+++ b/src/api/smartor/patouthosp.js
@@ -8,6 +8,17 @@
     data: query
   })
 }
+// 鏌ヨ寰呭叆闄㈣褰曞垪琛�
+export function listPatMedInhosp(query) {
+  const data = { ...query };
+  // bedSort 涓嶄紶鍗充笉鎸夊簥鍙锋帓搴�
+  if (data.bedSort == null || data.bedSort === "") delete data.bedSort;
+  return request({
+    url: '/smartor/patinhosp/selectPatMedInhospList',
+    method: 'post',
+    data: data
+  })
+}
 
 // 鏌ヨ鎮h�呴棬璇婅褰曡缁�
 export function getPatouthosp(id) {

--
Gitblit v1.9.3