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 | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/api/smartor/patouthosp.js b/src/api/smartor/patouthosp.js
index 353c440..315c9cc 100644
--- a/src/api/smartor/patouthosp.js
+++ b/src/api/smartor/patouthosp.js
@@ -10,10 +10,13 @@
}
// 鏌ヨ寰呭叆闄㈣褰曞垪琛�
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: query
+ data: data
})
}
--
Gitblit v1.9.3