src/api/ecg/doctor/index.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/ecg/doctor/DevInstall.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/ecg/doctor/components/QueuePanel.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/api/ecg/doctor/index.ts
@@ -69,6 +69,11 @@ return await request.get({ url: `/ecg/doctor/pass-next-patient`, params }) }, // 装机过号,取下一位患者 passInstallNextPatient: async (params: RoomBedVO) => { return await request.get({ url: `/ecg/doctor/pass-install-next-patient`, params }) }, // 重叫 callAgainPatient: async (params: RoomBedVO) => { return await request.get({ url: `/ecg/doctor/call-again`, params }) @@ -79,9 +84,9 @@ return await request.get({ url: `/ecg/doctor/get-patient-list`, params }) }, // 取 已领用 患者列表 getReceivedPatientList: async (params: RoomBedVO) => { return await request.get({ url: `/ecg/doctor/get-received-patient-list`, params }) // 取 [待装机] 患者列表 getToBeInstalledPatientList: async (params: RoomBedVO) => { return await request.get({ url: `/ecg/doctor/get-to-be-installed-list`, params }) }, // 取患者统计 @@ -104,7 +109,12 @@ return await request.get({ url: `/ecg/doctor/recall-patient`, params }) }, // 召回过号患者 // 召回 安装过号 患者 recallInstallPatient: async (params: PatientVO) => { return await request.get({ url: `/ecg/doctor/recall-install-patient`, params }) }, // 加急患者 patientJump: async (params: PatientVO) => { return await request.get({ url: `/ecg/doctor/patient-jump`, params }) } src/views/ecg/doctor/DevInstall.vue
@@ -1,5 +1,5 @@ <script setup lang="ts"> import TitleInstallPanel from "@/views/ecg/doctor/components/TitleInstallPanel.vue"; import TitlePanel from "@/views/ecg/doctor/components/TitlePanel.vue"; import DevInstallPanel from "@/views/ecg/doctor/components/DevInstallPanel.vue"; import QueuePanel from "@/views/ecg/doctor/components/QueuePanel.vue"; import {DoctorApi, PatientStatisticVO, RoomBedVO} from '@/api/ecg/doctor'; @@ -43,6 +43,9 @@ patientList.value = await DoctorApi.finishInstallNextPatient(roomBedVO.value) patientStat.value = await DoctorApi.getDevInstallStatistic(roomBedVO.value) getInstallingPatient() // 用于解决 左侧重置后 获取当前 【安装中】患者 setInstallingPatient(installingPatient.value) } finally { finishFlag.value = false } @@ -51,7 +54,7 @@ const passNextPatient = async () => { passFlag.value = true try { patientList.value = await DoctorApi.passNextPatient(roomBedVO.value) patientList.value = await DoctorApi.passInstallNextPatient(roomBedVO.value) patientStat.value = await DoctorApi.getDevInstallStatistic(roomBedVO.value) getInstallingPatient() } finally { @@ -66,7 +69,7 @@ const getInstallingPatient = () => { const tempPatient : QueueVO | undefined = patientList.value.find(item => item.status === 36) if (undefined === tempPatient) { setInstallingPatient(undefined) //setInstallingPatient(undefined) } else if (tempPatient.patId !== installingPatient.value.patId) { installingPatient.value= tempPatient setInstallingPatient(tempPatient) @@ -83,7 +86,7 @@ return } patientList.value = await DoctorApi.getReceivedPatientList(roomBedVO.value) patientList.value = await DoctorApi.getToBeInstalledPatientList(roomBedVO.value) getInstallingPatient() patientStat.value = await DoctorApi.getDevInstallStatistic(roomBedVO.value) const queueVO2 = await DoctorApi.bedDoctorGet(roomBedVO.value) src/views/ecg/doctor/components/QueuePanel.vue
@@ -33,7 +33,12 @@ jumpFlag: 0 } const data = await DoctorApi.recallPatient(patientVO); let data = "" if (item.status === 5) data = await DoctorApi.recallPatient(patientVO); else if (item.status === 7) data = await DoctorApi.recallInstallPatient(patientVO); emit("event_RecallFinish") message.info(data) } @@ -47,7 +52,7 @@ <!-- {{item.roomName}} {{item.bedNo}}--> <dict-tag :type="DICT_TYPE.ECG_CHECK_TYPE" :value="item.bookCheckType" /> <dict-tag :type="DICT_TYPE.ECG_QUEUE_STATUS" :value="item.status" /> <el-button v-if="item.status === 5" @click="recall(item)"> 召回 </el-button> <el-button v-if="item.status === 5 || item.status === 7" @click="recall(item)"> 召回 </el-button> </div> </template>