| src/store/type/bedsideAuxiliaryScreen.type.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/mobile/bedsideAuxiliaryScreen/components/Header.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/store/type/bedsideAuxiliaryScreen.type.ts
@@ -132,6 +132,7 @@ 上次透析血压列表: any[]; 上次透析超滤总量: number | null; 四点血压图数据: 四点血压图数据[] | null; 患者出生日期: string; } export interface 四点血压图数据 { @@ -213,6 +214,7 @@ interface Customconfiguration { 患者信息是否加密显示: number; 是否显示患者出生年月日: number; } export interface Sphygmomanometer { @@ -242,6 +244,7 @@ underTreatment: UnderTreatment; sphygmomanometer: Sphygmomanometer; customConfiguration: Customconfiguration; 患者出生日期: string; } export const defaultSphygmomanometer = () :Sphygmomanometer => { @@ -497,6 +500,7 @@ age: "", // 年龄 gender: "", // 性别 patForm: EPatForm.OUTPATIENT_SERVICE, // 患者来源 患者出生日期: "", // 患者出生日期 patFormNumber: "", // 住院门诊号 customConfiguration: defaultCustomconfiguration(), // 自定义配置项 // @ts-ignore @@ -512,7 +516,8 @@ export const defaultCustomconfiguration = (): Customconfiguration => { return { 患者信息是否加密显示: 0 患者信息是否加密显示: 0, 是否显示患者出生年月日: 0, } } @@ -566,6 +571,7 @@ result.gender = seeMsg.透析状态?.性别 + ""; result.patForm = seeMsg.透析状态?.患者来源; result.patFormNumber = seeMsg.透析状态?.患者门诊住院号; result.患者出生日期 = seeMsg.透析状态?.患者出生日期 || ""; // 未签到页面需要显示的 if (treatmentStatus === EMedStatus.NOT_CHECKED_IN) { 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";