From 7199e3f33bf5112febff6568e21cab8285ed1188 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 27 八月 2024 17:58:38 +0800
Subject: [PATCH] update
---
src/views/ecg/doctor/components/TitlePanel.vue | 20 ++++++--------------
1 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/src/views/ecg/doctor/components/TitlePanel.vue b/src/views/ecg/doctor/components/TitlePanel.vue
index aab19ad..00def2a 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();
@@ -15,26 +15,18 @@
}
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}}
+宸插氨璇妠{patientStatistic.finishedNum}} 鍑嗗涓瓄{patientStatistic.readyNum}}
+ 杩囧彿{{patientStatistic.passedNum}} 鎺掗槦涓瓄{patientStatistic.queuingNum}}
+ 璇婂{{roomBedVO.roomId}} 宸ヤ綅{{roomBedVO.bedNo}}
</template>
<style scoped lang="scss">
--
Gitblit v1.9.3