From 6e7f546cc37ed57e7e2eda4fdfc32fa2b3e0160c Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 20 十月 2026 17:41:10 +0800
Subject: [PATCH] 测试完成

---
 src/api/patient/record.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/api/patient/record.js b/src/api/patient/record.js
index 522b134..e318faa 100644
--- a/src/api/patient/record.js
+++ b/src/api/patient/record.js
@@ -3,10 +3,13 @@
 
 // 鏌ヨ浣忛櫌璁板綍鍒楄〃
 export function listpatient(data) {
+  const params = { ...data };
+  // bedSort 涓嶄紶鍗充笉鎸夊簥鍙锋帓搴�
+  if (params.bedSort == null || params.bedSort === "") delete params.bedSort;
   return request({
     url: '/smartor/patinhosp/selectPatMedInhospList',
     method: 'post',
-    data: data
+    data: params
   })
 };
 // 浣忛櫌璁板綍璇︽儏

--
Gitblit v1.9.3