| | |
| | | const patientStat = ref<PatientStatisticVO>({ |
| | | finishedNum: 0, |
| | | readyNum: 0, |
| | | receivedNum: 0, |
| | | passedNum: 0, |
| | | queuingNum: 0 |
| | | }) |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | |
| | | 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 |