eight
2024-10-24 1b145b5655fa023032c8713bb2375bccdf0fc314
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})
}
@@ -137,13 +137,13 @@
  }
  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})