From 55562e3961cc1bc3a9bcb015ae3cdb8cc1b8d810 Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期六, 06 九月 2025 15:37:07 +0800
Subject: [PATCH] ID2040-x
---
src/views/mobile/bedsideAuxiliaryScreen/components/Header.vue | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/views/mobile/bedsideAuxiliaryScreen/components/Header.vue b/src/views/mobile/bedsideAuxiliaryScreen/components/Header.vue
index da82b86..51b2f31 100644
--- a/src/views/mobile/bedsideAuxiliaryScreen/components/Header.vue
+++ b/src/views/mobile/bedsideAuxiliaryScreen/components/Header.vue
@@ -23,7 +23,8 @@
<!-- 有排班 -->
<template v-else>
<span class="info-text">{{ patientInfo.patientName }}</span>
- <span class="info-text">{{ patientInfo.age }}岁</span>
+ <span v-if="isShowBirthDate" class="info-text">{{ patientInfo.birthDate }}</span>
+ <span v-else class="info-text">{{ patientInfo.age }}岁</span>
<span class="info-text">{{ patientInfo.gender }}</span>
<span v-if="patientInfo.patFormNumber" class="info-text">
{{ patientInfo.patForm }}:{{ patientInfo.patFormNumber }}</span
@@ -141,6 +142,10 @@
};
});
+const isShowBirthDate = computed(() => {
+ return bedsideAuxiliaryScreenStore.deviceData.customConfiguration.是否显示患者出生年月日 === 1;
+});
+
const formattedCountdown = computed(() => {
if (countdown.value == null || countdown.value <= 0) return "0s";
--
Gitblit v1.8.0