src/views/ecg/doctor/components/QueuePanel.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/ecg/doctor/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/ecg/doctor/components/QueuePanel.vue
@@ -8,6 +8,8 @@ name: 'QueuePanel' }) const emit = defineEmits(['event_RecallFinish']) // 定义 success 事件,用于操作成功后的回调 const message = useMessage() // 消息弹窗 const props = defineProps({ @@ -32,6 +34,7 @@ } const data = await DoctorApi.recallPatient(patientVO); emit("event_RecallFinish") message.info(data) } @@ -39,10 +42,9 @@ <template> <div v-for="(item, index) in queue" :key="index"> {{item.patName}}{{item.passed === 0 ? "":"*"}} <span style="display:inline-block; width:70px;"> {{item.patName}}{{item.passed === 0 ? "":"*"}} </span> <dict-tag :type="DICT_TYPE.SYSTEM_USER_SEX" :value="item.patGender" /> {{item.roomName}} {{item.bedNo}} <!-- {{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> @@ -50,5 +52,9 @@ </template> <style scoped lang="scss"> div { padding-left: 5px; padding-bottom: 5px; } </style> src/views/ecg/doctor/index.vue
@@ -146,6 +146,10 @@ // console.info("onDevRentPanelEvent...") } const onEventRecallFinish = () => { initLoad() } /** 患者变更操作 */ const devInstallPanelRef = ref() const setOnStagePatient = (tempPatient: QueueVO | undefined) => { @@ -164,7 +168,7 @@ <DevInstallPanel ref="devInstallPanelRef" @success="onEvent"/> </el-main> <el-aside width="400px" style="border: solid var(--el-color-primary-light-7)"> <QueuePanel :queue="patientList"/> <QueuePanel :queue="patientList" @event_RecallFinish="onEventRecallFinish"/> </el-aside> </el-container> <el-container class="right-bottom">