From e477d995d50232304ba88f3cb673a780b609cc3e Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期六, 12 十月 2024 18:03:57 +0800
Subject: [PATCH] 领用&装机 统计信息
---
src/views/ecg/doctor/components/TitlePanel.vue | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/src/views/ecg/doctor/components/TitlePanel.vue b/src/views/ecg/doctor/components/TitlePanel.vue
index 3fba55b..c90736f 100644
--- a/src/views/ecg/doctor/components/TitlePanel.vue
+++ b/src/views/ecg/doctor/components/TitlePanel.vue
@@ -1,20 +1,16 @@
<script setup lang="ts">
import {defineComponent, PropType} from "vue";
-import {useUserStore} from "@/store/modules/user";
import {PatientStatisticVO, RoomBedVO} from "@/api/ecg/doctor";
-
-const userStore = useUserStore();
defineComponent({
name: 'TitlePanel'
})
-const roomBedVO: RoomBedVO = {
- roomId: userStore.room!.roomId,
- bedNo: userStore.room!.bedNo
-}
-
const props = defineProps({
+ room: {
+ type: Object as PropType<RoomBedVO>,
+ required: true
+ },
patientStatistic: {
type: Object as PropType<PatientStatisticVO>,
required: true
@@ -26,10 +22,10 @@
<template>
<div class="mytitle">
<div>
- 璇婂{{roomBedVO.roomId}} 宸ヤ綅{{roomBedVO.bedNo}}
+ {{room.roomName || ''}} {{room.bedNo || ''}}
</div>
<div>
- 宸插氨璇妠{patientStatistic.finishedNum==undefined ? 0 : patientStatistic.finishedNum}}
+ 宸查鐢▄{patientStatistic.finishedNum==undefined ? 0 : patientStatistic.finishedNum}}
鍑嗗涓瓄{patientStatistic.readyNum==undefined ? 0 : patientStatistic.readyNum}}
杩囧彿{{patientStatistic.passedNum==undefined ? 0 : patientStatistic.passedNum}}
鎺掗槦涓瓄{patientStatistic.queuingNum==undefined ? 0 : patientStatistic.queuingNum}}
--
Gitblit v1.9.3