| | |
| | | const finishNextPatient = async () => { |
| | | finishFlag.value = true |
| | | try { |
| | | patientList.value = await DoctorApi.finishNextPatient(roomBedVO) |
| | | patientStat.value = await DoctorApi.getPatientStatistic(roomBedVO) |
| | | patientList.value = await DoctorApi.finishReceiveNextPatient(roomBedVO) |
| | | patientStat.value = await DoctorApi.getDevReadyStatistic(roomBedVO) |
| | | getOnstagePatient() |
| | | } finally { |
| | | finishFlag.value = false |
| | |
| | | passFlag.value = true |
| | | try { |
| | | patientList.value = await DoctorApi.passNextPatient(roomBedVO) |
| | | patientStat.value = await DoctorApi.getPatientStatistic(roomBedVO) |
| | | patientStat.value = await DoctorApi.getDevReadyStatistic(roomBedVO) |
| | | getOnstagePatient() |
| | | } finally { |
| | | passFlag.value = false |
| | |
| | | |
| | | patientList.value = await DoctorApi.getPatientList(roomBedVO) |
| | | getOnstagePatient() |
| | | patientStat.value = await DoctorApi.getPatientStatistic(roomBedVO) |
| | | patientStat.value = await DoctorApi.getDevReadyStatistic(roomBedVO) |
| | | const queueVO2 = await DoctorApi.bedDoctorGet(roomBedVO) |
| | | if (queueVO2.status === 20) |
| | | state.value = true |
| | |
| | | |
| | | const onEventDevReady = () => { |
| | | //console.info("onDevRentPanelEvent...") |
| | | onStagePatient.value.patId = "" |
| | | } |
| | | |
| | | const onEventRecallFinish = () => { |
| | |
| | | } |
| | | |
| | | /** 患者变更操作 */ |
| | | const devInstallPanelRef = ref() |
| | | const devReadyPanelRef = ref() |
| | | const setOnStagePatient = (tempPatient: QueueVO | undefined) => { |
| | | devInstallPanelRef.value.setPatient(tempPatient) |
| | | devReadyPanelRef.value.setPatient(tempPatient) |
| | | } |
| | | |
| | | </script> |
| | |
| | | <template> |
| | | <el-container> |
| | | <el-header style="background-color: var(--el-color-primary-light-7); font-size: 24px"> |
| | | <TitlePanel :room="roomBedVO" :patientStatistic="patientStat" /> |
| | | <TitlePanel :titleType=0 :room="roomBedVO" :patientStatistic="patientStat" /> |
| | | </el-header> |
| | | <el-container style="height: 100%;"> |
| | | <el-main style="border: solid var(--el-color-primary-light-7)"> |
| | | <DevReadyPanel :room="roomBedVO" ref="devInstallPanelRef" @event_dev_ready="onEventDevReady"/> |
| | | <DevReadyPanel :room="roomBedVO" ref="devReadyPanelRef" @event_dev_ready="onEventDevReady"/> |
| | | </el-main> |
| | | <el-aside width="400px" style="border: solid var(--el-color-primary-light-7)"> |
| | | <QueuePanel :queue="patientList" @event_RecallFinish="onEventRecallFinish"/> |