eight
2024-10-14 768e6dc2390863e2ebd0b57a0a1aaa9cf2796eaa
src/views/ecg/doctor/DevInstall.vue
@@ -23,6 +23,7 @@
const patientStat = ref<PatientStatisticVO>({
    finishedNum: 0,
    readyNum: 0,
    receivedNum: 0,
    passedNum: 0,
    queuingNum: 0
})
@@ -40,7 +41,7 @@
  finishFlag.value = true
  try {
    patientList.value = await DoctorApi.finishInstallNextPatient(roomBedVO.value)
    patientStat.value = await DoctorApi.getPatientStatistic(roomBedVO.value)
    patientStat.value = await DoctorApi.getDevInstallStatistic(roomBedVO.value)
    getInstallingPatient()
  } finally {
    finishFlag.value = false
@@ -51,7 +52,7 @@
  passFlag.value = true
  try {
    patientList.value = await DoctorApi.passNextPatient(roomBedVO.value)
    patientStat.value = await DoctorApi.getPatientStatistic(roomBedVO.value)
    patientStat.value = await DoctorApi.getDevInstallStatistic(roomBedVO.value)
    getInstallingPatient()
  } finally {
    passFlag.value = false
@@ -84,7 +85,7 @@
  patientList.value = await DoctorApi.getReceivedPatientList(roomBedVO.value)
  getInstallingPatient()
  patientStat.value = await DoctorApi.getPatientStatistic(roomBedVO.value)
  patientStat.value = await DoctorApi.getDevInstallStatistic(roomBedVO.value)
  const queueVO2 = await DoctorApi.bedDoctorGet(roomBedVO.value)
  if (queueVO2.status === 20)
    state.value = true
@@ -146,6 +147,7 @@
const onEventDevInstall = () => {
   //console.info("onDevInstallPanelEvent...")
  // onStagePatient.value.patId = ""
}
const onEventRecallFinish = () => {
@@ -163,7 +165,7 @@
<template>
  <el-container>
    <el-header style="background-color: var(--el-color-primary-light-7); font-size: 24px">
      <TitleInstallPanel :room="roomBedVO" :patientStatistic="patientStat" />
      <TitlePanel :titleType=1 :room="roomBedVO" :patientStatistic="patientStat" />
    </el-header>
    <el-container style="height: 100%;">
      <el-main style="border: solid var(--el-color-primary-light-7)">