| | |
| | | <script setup lang="ts"> |
| | | |
| | | import {RoomBedVO, RoomProfileVO} from "@/api/ecg/doctor"; |
| | | import {RoomProfileVO} from "@/api/ecg/doctor"; |
| | | import {RoomApi} from "@/api/ecg/room"; |
| | | import {ScreenQueueVO, ScreenApi} from "@/api/ecg/screen"; |
| | | import {CallApi, CallVO} from "@/api/ecg/call"; |
| | | import {queueStatusConvert} from "../../../utils/statusFormatter"; |
| | | import {useCheckTypeStore} from "@/store/modules/checkType"; |
| | | import {getCheckTypeSeqPrefix} from "../../../utils/checkTypeFormatter"; |
| | | import {getCheckTypeName, getCheckTypeSeqPrefix} from "../../../utils/checkTypeFormatter"; |
| | | |
| | | defineOptions({ name: 'roomscreen' }) |
| | | let roomId = ref<number>(0) |
| | | |
| | | const checkTypeStore = useCheckTypeStore() |
| | | |
| | | const checkRelatedPatientList = ref<ScreenQueueVO[]>([]) |
| | | const installRelatedPatientList = ref<ScreenQueueVO[]>([]) |
| | |
| | | return; |
| | | |
| | | curSpeakPat = await CallApi.getNextInstallCall() |
| | | if (curSpeakPat !== null) { |
| | | speak("请、" + curSpeakPat.patName + "到" + curSpeakPat.roomName + "装机"); |
| | | } |
| | | if (curSpeakPat == null) |
| | | return; |
| | | |
| | | speak("请、" + curSpeakPat.patName + "到" + curSpeakPat.roomName + "装机"); |
| | | } |
| | | |
| | | const speak = (msg) => { |