From a318b296f4411915b4adb1f4e45730f98cdcf1f2 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 30 八月 2024 11:20:29 +0800
Subject: [PATCH] remove 无关模块
---
src/views/ecg/doctor/components/TitlePanel.vue | 38 +++++++++++++++++++++-----------------
1 files changed, 21 insertions(+), 17 deletions(-)
diff --git a/src/views/ecg/doctor/components/TitlePanel.vue b/src/views/ecg/doctor/components/TitlePanel.vue
index aab19ad..3fba55b 100644
--- a/src/views/ecg/doctor/components/TitlePanel.vue
+++ b/src/views/ecg/doctor/components/TitlePanel.vue
@@ -1,7 +1,7 @@
<script setup lang="ts">
import {defineComponent, PropType} from "vue";
import {useUserStore} from "@/store/modules/user";
-import {RoomBedVO} from "@/api/ecg/doctor";
+import {PatientStatisticVO, RoomBedVO} from "@/api/ecg/doctor";
const userStore = useUserStore();
@@ -10,33 +10,37 @@
})
const roomBedVO: RoomBedVO = {
- roomId: userStore.room.roomId,
- bedNo: userStore.room.bedNo
+ roomId: userStore.room!.roomId,
+ bedNo: userStore.room!.bedNo
}
const props = defineProps({
- room: {
- type: String,
+ patientStatistic: {
+ type: Object as PropType<PatientStatisticVO>,
required: true
}
- /*,
- bedList: {
- type: Array as PropType<RoomVO[]>,
- required: true
- },
- modelValue: {
- type: Object as PropType<RoomVO>,
- required: true
- }
-*/
})
</script>
<template>
-宸插氨璇妠{10}} 鍑嗗涓瓄{3}} 杩囧彿{{2}} 鎺掗槦涓瓄{100}} 璇婂{{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