From e4bb67837897301d82bcd7ad9e391422d6e7f865 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 15 十月 2024 14:13:50 +0800
Subject: [PATCH] refactor
---
src/views/ecg/doctor/Routine.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/views/ecg/doctor/Routine.vue b/src/views/ecg/doctor/Routine.vue
index d6d7d3d..943e3a1 100644
--- a/src/views/ecg/doctor/Routine.vue
+++ b/src/views/ecg/doctor/Routine.vue
@@ -66,7 +66,7 @@
const getOnstagePatient = () => {
const tempPatient : QueueVO | undefined = patientList.value.find(item => item.status === 30)
if (undefined === tempPatient) {
- setOnStagePatient(undefined)
+ // setOnStagePatient(undefined)
} else if (tempPatient.patId !== onStagePatient.value.patId) {
onStagePatient.value= tempPatient
setOnStagePatient(tempPatient)
@@ -83,7 +83,7 @@
return
}
- patientList.value = await DoctorApi.getPatientList(roomBedVO)
+ patientList.value = await DoctorApi.getToBeCheckedPatientList(roomBedVO)
getOnstagePatient()
patientStat.value = await DoctorApi.getPatientStatistic(roomBedVO)
const queueVO2 = await DoctorApi.bedDoctorGet(roomBedVO)
@@ -145,6 +145,7 @@
const onEventRoutine = () => {
//console.info("onDevRentPanelEvent...")
+ onStagePatient.value.patId = ""
}
const onEventRecallFinish = () => {
@@ -162,7 +163,7 @@
<template>
<el-container>
<el-header style="background-color: var(--el-color-primary-light-7); font-size: 24px">
- <TitlePanel :room="roomBedVO" :patientStatistic="patientStat" />
+ <TitlePanel :titleType=2 :room="roomBedVO" :patientStatistic="patientStat" />
</el-header>
<el-container style="height: 100%;">
<el-main style="border: solid var(--el-color-primary-light-7)">
--
Gitblit v1.9.3