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/room/RoomLoginSelect.vue |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/views/ecg/room/RoomLoginSelect.vue b/src/views/ecg/room/RoomLoginSelect.vue
index 1ca2451..00ae7df 100644
--- a/src/views/ecg/room/RoomLoginSelect.vue
+++ b/src/views/ecg/room/RoomLoginSelect.vue
@@ -4,7 +4,7 @@
       <div class=roomwrap v-for="(value, key) in bedMap" :key="key">
         <RoomBedSelect :title="key" :bedList="value" :curBed="curSel" @event-haveseat="haveSeat" @event-leaveseat="leaveSeat"/>
       </div>
-      <div v-if="isEmptyOpeningBed">"宸ヤ綅娌℃湁寮�鏀�"</div>
+      <el-empty v-if="isEmptyOpeningBed" description="宸ヤ綅娌℃湁寮�鏀�"/>
     </div>
     <div>
       <el-button @click="confirmCurSel">纭</el-button>
@@ -90,11 +90,11 @@
   }
 
   if (isStringEmpty(route.redirectedFrom?.fullPath))
-    push({ path: "/"})
+    push({ path: "/ecg/doctor"})
   else if(route.redirectedFrom?.fullPath === "/roomselect" )
-    push({ path: "/"})
+    push({ path: "/ecg/doctor"})
   else if(route.redirectedFrom?.fullPath === "/ecg/roomselect" )
-    push({ path: "/"})
+    push({ path: "/ecg/doctor"})
   else
     push({ path: route.redirectedFrom?.fullPath})
 }
@@ -136,14 +136,15 @@
     curSel.value = newRoomVO;
   }
 
+  // curSel.value.opType 0 1 2
   if (isStringEmpty(route.redirectedFrom?.fullPath)) {
-    push({path: "/"})
+    push({path: "/ecg/doctor"})
   }
   else if(route.redirectedFrom?.fullPath === "/roomselect" ) {
-    push({path: "/"})
+    push({path: "/ecg/doctor"})
   }
   else if(route.redirectedFrom?.fullPath === "/ecg/roomselect" ) {
-    push({path: "/"})
+    push({path: "/ecg/doctor"})
   }
   else {
     push({path: route.redirectedFrom?.fullPath})

--
Gitblit v1.9.3