单应用项目,可以创建很多独立工具类页面 ,不用登录 初始化的页面
zhangchen
2025-08-29 018bd61e06ae35de8fd38abbec6dbb886545273c
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
@@ -138,9 +139,14 @@
          bedsideAuxiliaryScreenStore.deviceData.underTreatment.dialysisAge
        )
      : null,
    birthDate: bedsideAuxiliaryScreenStore.deviceData.患者出生日期,
  };
});
const isShowBirthDate = computed(() => {
  return bedsideAuxiliaryScreenStore.deviceData.customConfiguration.是否显示患者出生年月日 === 1;
});
const formattedCountdown = computed(() => {
  if (countdown.value == null || countdown.value <= 0) return "0s";