From 936c01060eea0924b88ca5c35d221a972a6aba7d Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期一, 05 十月 2026 10:47:22 +0800
Subject: [PATCH] 检查单列表调整

---
 src/views/ecg/room/RoomSetting.vue |   67 +++++++++++++++++++++++++--------
 1 files changed, 50 insertions(+), 17 deletions(-)

diff --git a/src/views/ecg/room/RoomSetting.vue b/src/views/ecg/room/RoomSetting.vue
index 7e79a0c..258617f 100644
--- a/src/views/ecg/room/RoomSetting.vue
+++ b/src/views/ecg/room/RoomSetting.vue
@@ -1,25 +1,27 @@
 <template>
   <el-container>
-    <el-main>
-      <div style="display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 20px">
-        <div class=wrap v-for="(value, key) in bedMap" :key="key">
+    <el-main class="room-setting-main">
+      <div class="card-area">
+        <div class="wrap" v-for="(value, key) in bedMap" :key="key">
           <RoomStatus :title="key" :bedList="value"  @refresh="getList"/>
         </div>
       </div>
-      <div style="display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 20px">
-        <el-button @click="startBiz" > 鎵嬪姩寮�璇� </el-button>
-        <el-button @click="closeBiz" > 鎵嬪姩闂瘖 </el-button>
-        <el-button @click="resetRoom" > 閲嶇疆璇婂 </el-button>
-        <el-button @click="resetSchedule" > 閲嶇疆瀹氭椂浠诲姟 </el-button>
-        <el-button @click="refresh" > 鍒锋柊 </el-button>
+      <div class="btn-area">
+        <el-button size="small" @click="startBiz" > 鎵嬪姩寮�璇� </el-button>
+        <el-button size="small" @click="closeBiz" > 鎵嬪姩闂瘖 </el-button>
+        <el-button size="small" @click="resetRoom" > 閲嶇疆璇婂 </el-button>
+        <el-button size="small" @click="resetSchedule" > 閲嶇疆瀹氭椂浠诲姟 </el-button>
+        <el-button size="small" @click="refresh" > 鍒锋柊 </el-button>
       </div>
     </el-main>
-    <el-aside width="250px">
-      <div>寮�璇婃椂闂达細{{ openingPeriod }}  {{ monitorInfo.openingFlag }}  </div>
-      <div>宸ヤ綅姒傚喌锛� {{monitorInfo.queueNum}} {{monitorInfo.activeQueueNum}} {{monitorInfo.priorityQueueNum}} </div>
+    <el-aside width="210px" class="monitor-aside">
+      <div>寮�璇婃椂闂达細{{ openingPeriod }}  {{ monitorInfo?.openingFlag }}  </div>
+      <div>宸ヤ綅姒傚喌锛� {{monitorInfo?.openingBedNum}} {{monitorInfo?.docBedNum}} {{monitorInfo?.routingBedNum}} </div>
       <div v-for="(value, key) in monitorInfo.checkTypeBedInfo" :key="key">
-        {{ checkTypeStore.getCheckTypeName(Number(key)) }}  {{ value }}
+        {{ getCheckTypeName(Number(key)) }}  {{ value }}
       </div>
+      <div>宸ヤ綅姒傚喌锛氬紑鏀剧殑宸ヤ綅  鏈夊尰鐢熷伐浣�  鍙備笌鍒嗘祦宸ヤ綅</div>
+      <div>妫�鏌ラ」鐩� 寮�鏀剧殑宸ヤ綅 (妫�鏌�/棰嗙敤 | 瀹夎)  鏈夊尰鐢熷伐浣� (妫�鏌�/棰嗙敤 | 瀹夎)</div>
     </el-aside>
   </el-container>
 </template>
@@ -30,6 +32,7 @@
 import { QueueApi } from '@/api/ecg/queue'
 import { getConfigKey } from '@/api/infra/config'
 import {useCheckTypeStore} from "@/store/modules/checkType";
+import {getCheckTypeName} from "../../../utils/checkTypeFormatter";
 
 defineOptions({ name: 'RoomSetting' })
 
@@ -37,9 +40,9 @@
 
 const openingPeriod = ref<string>('')
 const monitorInfo = ref<MonitorInfo>({
-  queueNum: 0,
-  activeQueueNum: 0,
-  priorityQueueNum: 0,
+  openingBedNum: 0,
+  docBedNum: 0,
+  routingBedNum: 0,
   openingFlag: 0,
   checkTypeBedInfo: {}
 })
@@ -97,7 +100,37 @@
 </script>
 
 <style scoped lang="scss">
+/* ==========================================================================
+   闇�姹傦細寮�璇婅缃〉闈㈠崱鐗囧お澶э紝瑕佷笉婊氬姩榧犳爣灏辫兘鐪嬪叏銆�
+   鍗$墖鏈韩宸插湪 RoomStatus 閲屽帇缂╋紙148px 瀹� / 鍥剧墖闄愰珮 46px锛夛紝
+   杩欓噷鍐嶆敹绱у竷灞�澶栬竟璺濅笌鍙充晶鐩戞帶鏍忥紝鍑忓皯鏁翠綋绾靛悜鍗犵敤銆�
+   ========================================================================== */
+.room-setting-main {
+  padding: 8px 12px;
+}
+
+.card-area {
+  display: flex;
+  flex-wrap: wrap;
+  justify-content: center;
+  margin-bottom: 8px;
+}
+
 .wrap {
-  margin-right: 20px;
+  margin: 0 6px;
+}
+
+.btn-area {
+  display: flex;
+  flex-wrap: wrap;
+  justify-content: center;
+  margin-bottom: 8px;
+}
+
+/* 鍙充晶鐩戞帶淇℃伅锛氬瓧鍙锋敹绱э紝閬垮厤鎹㈣鎾戦珮 */
+.monitor-aside {
+  padding: 8px 10px;
+  font-size: 12px;
+  line-height: 18px;
 }
 </style>

--
Gitblit v1.9.3