From 3b8457c9c63f0996d8dae63ac988f976da956d38 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 28 八月 2024 10:58:49 +0800
Subject: [PATCH] update
---
src/views/ecg/doctor/components/TitlePanel.vue | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/src/views/ecg/doctor/components/TitlePanel.vue b/src/views/ecg/doctor/components/TitlePanel.vue
index 00def2a..3fba55b 100644
--- a/src/views/ecg/doctor/components/TitlePanel.vue
+++ b/src/views/ecg/doctor/components/TitlePanel.vue
@@ -10,8 +10,8 @@
})
const roomBedVO: RoomBedVO = {
- roomId: userStore.room.roomId,
- bedNo: userStore.room.bedNo
+ roomId: userStore.room!.roomId,
+ bedNo: userStore.room!.bedNo
}
const props = defineProps({
@@ -24,11 +24,23 @@
</script>
<template>
-宸插氨璇妠{patientStatistic.finishedNum}} 鍑嗗涓瓄{patientStatistic.readyNum}}
- 杩囧彿{{patientStatistic.passedNum}} 鎺掗槦涓瓄{patientStatistic.queuingNum}}
- 璇婂{{roomBedVO.roomId}} 宸ヤ綅{{roomBedVO.bedNo}}
+<div class="mytitle">
+ <div>
+ 璇婂{{roomBedVO.roomId}} 宸ヤ綅{{roomBedVO.bedNo}}
+ </div>
+ <div>
+ 宸插氨璇妠{patientStatistic.finishedNum==undefined ? 0 : patientStatistic.finishedNum}}
+ 鍑嗗涓瓄{patientStatistic.readyNum==undefined ? 0 : patientStatistic.readyNum}}
+ 杩囧彿{{patientStatistic.passedNum==undefined ? 0 : patientStatistic.passedNum}}
+ 鎺掗槦涓瓄{patientStatistic.queuingNum==undefined ? 0 : patientStatistic.queuingNum}}
+ </div>
+</div>
+
</template>
<style scoped lang="scss">
-
+.mytitle {
+ display: flex;
+ justify-content: space-between;
+}
</style>
--
Gitblit v1.9.3