From a2346b299c8537318fbc245e3325b7a499ecce4e Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 21 八月 2024 18:32:33 +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