eight
2024-10-12 e477d995d50232304ba88f3cb673a780b609cc3e
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