From 8d11e11a86bbfe84ea4156bd68e865bb2986e9bd Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 18 十一月 2024 11:18:21 +0800
Subject: [PATCH] 领用界面 自动叫号控制

---
 src/views/ecg/doctor/Routine.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/views/ecg/doctor/Routine.vue b/src/views/ecg/doctor/Routine.vue
index 252127f..c79aa8b 100644
--- a/src/views/ecg/doctor/Routine.vue
+++ b/src/views/ecg/doctor/Routine.vue
@@ -13,7 +13,9 @@
 const roomBedVO: RoomBedVO = {
     roomId: null,
     roomName: null,
-    bedNo: null
+    bedNo: null,
+    checkTypes: null,
+    opType: null
 }
 
 const onStagePatient = ref<QueueVO>({
@@ -129,6 +131,8 @@
     roomBedVO.roomId = userStore.room!.roomId
     roomBedVO.roomName = userStore.room!.roomName
     roomBedVO.bedNo = userStore.room!.bedNo
+    roomBedVO.checkTypes = userStore.room!.checkTypes
+    roomBedVO.opType = userStore.room!.opType
 
     timerRunFlag = true
     doctorTimer()
@@ -149,6 +153,7 @@
 const onEventRoutine = () => {
    //console.info("onDevRentPanelEvent...")
   onStagePatient.value.patId = ""
+  initLoad()
 }
 
 const onEventRecallFinish = () => {
@@ -166,14 +171,14 @@
 <template>
   <el-container>
     <el-header style="background-color: var(--el-color-primary-light-7); font-size: 24px">
-      <TitlePanel :titleType=2 :room="roomBedVO" :patientStatistic="patientStat" />
+      <TitlePanel :titleType=0 :room="roomBedVO" :patientStatistic="patientStat" />
     </el-header>
     <el-container style="height: 100%;">
       <el-main style="border: solid var(--el-color-primary-light-7)">
         <RoutinePanel :room="roomBedVO" ref="routimePanelRef" @event_routine="onEventRoutine"/>
       </el-main>
       <el-aside width="400px" style="border: solid var(--el-color-primary-light-7)">
-          <QueuePanel :queue="patientList" @event_RecallFinish="onEventRecallFinish"/>
+          <QueuePanel :room="roomBedVO" :queue="patientList" @event_RecallFinish="onEventRecallFinish"/>
       </el-aside>
     </el-container>
     <el-container class="right-bottom">

--
Gitblit v1.9.3