From e2f9c60f3964d37241c8ddcb0d939bcfc4f92fa4 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期五, 20 九月 2024 13:33:59 +0800 Subject: [PATCH] 开诊界面 患者顺序 --- src/views/ecg/doctor/index.vue | 32 +++++++++++++++++++++----------- 1 files changed, 21 insertions(+), 11 deletions(-) diff --git a/src/views/ecg/doctor/index.vue b/src/views/ecg/doctor/index.vue index 7452892..9dd31e2 100644 --- a/src/views/ecg/doctor/index.vue +++ b/src/views/ecg/doctor/index.vue @@ -58,6 +58,10 @@ } } +const callAgain = async () => { + await DoctorApi.callAgainPatient(roomBedVO) +} + const getOnstagePatient = () => { const tempPatient : QueueVO | undefined = patientList.value.find(item => item.status === 30) if (undefined === tempPatient) { @@ -151,7 +155,7 @@ </script> <template> - <el-container style="border: red solid; height: 100%;"> + <el-container> <el-header style="background-color: var(--el-color-primary-light-7); font-size: 24px"> <TitlePanel :room="roomBedVO" :patientStatistic="patientStat" /> </el-header> @@ -159,20 +163,26 @@ <el-main style="border: solid var(--el-color-primary-light-7)"> <DevInstallPanel ref="devInstallPanelRef" @success="onEvent"/> </el-main> - <el-container width="500px" style="border: solid var(--el-color-primary-light-7)"> - <el-main style="border: solid var(--el-color-primary-light-7)" > + <el-aside width="400px" style="border: solid var(--el-color-primary-light-7)"> <QueuePanel :queue="patientList"/> - </el-main> - <el-footer > - <el-button :disabled="finishFlag" type="primary" @click="finishNextPatient">鍙彿</el-button> - <el-button :disabled="passFlag" type="primary" @click="passNextPatient">杩囧彿</el-button> - <el-button :disabled="bedControlFlag" type="primary" @click="bedControl">{{state?'鏆傚仠':'鎭㈠'}}</el-button> - </el-footer> - </el-container> + </el-aside> + </el-container> + <el-container class="right-bottom"> + <el-button :disabled="finishFlag" type="primary" @click="finishNextPatient">鍙彿</el-button> + <el-button :disabled="passFlag" type="primary" @click="passNextPatient">杩囧彿</el-button> + <el-button type="primary" @click="callAgain">閲嶅彨</el-button> + <el-button :disabled="bedControlFlag" type="primary" @click="bedControl">{{state?'鏆傚仠':'鎭㈠'}}</el-button> </el-container> </el-container> </template> <style scoped lang="scss"> - +.right-bottom { + position: absolute; + bottom: 50px; + right: 100px; + //background-color: #f00; + //color: #fff; + //padding: 10px; +} </style> -- Gitblit v1.9.3