From 003120232b4b5eb13bbc00bfcbc130cffe47cc67 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 26 九月 2024 17:47:31 +0800
Subject: [PATCH] 设备准备-确费功能

---
 src/views/ecg/doctor/components/TitlePanel.vue |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/src/views/ecg/doctor/components/TitlePanel.vue b/src/views/ecg/doctor/components/TitlePanel.vue
index 3fba55b..6a80cf4 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,7 +22,7 @@
 <template>
 <div class="mytitle">
     <div>
-      璇婂{{roomBedVO.roomId}} 宸ヤ綅{{roomBedVO.bedNo}}
+      {{room.roomName || ''}} {{room.bedNo || ''}}
     </div>
     <div>
     宸插氨璇妠{patientStatistic.finishedNum==undefined ? 0 : patientStatistic.finishedNum}}

--
Gitblit v1.9.3