| | |
| | | 透析龄: number | null; |
| | | iot_血液流速: number | null; |
| | | 透析液流量: number | null; |
| | | 患者出生日期: string; |
| | | } |
| | | |
| | | export interface VascularAccess { |
| | |
| | | |
| | | interface Customconfiguration { |
| | | 患者信息是否加密显示: number; |
| | | 是否显示患者出生年月日: number; |
| | | } |
| | | |
| | | export interface Sphygmomanometer { |
| | |
| | | underTreatment: UnderTreatment; |
| | | sphygmomanometer: Sphygmomanometer; |
| | | customConfiguration: Customconfiguration; |
| | | 患者出生日期: string; |
| | | } |
| | | |
| | | export const defaultSphygmomanometer = () :Sphygmomanometer => { |
| | |
| | | signedIn: defaultSignedIn(), // 已签到时需要的数据 |
| | | underTreatment: defaultUnderTreatment(), // 治疗中需要的数据 |
| | | sphygmomanometer: defaultSphygmomanometer(), // 血压计传过来的数据 |
| | | 患者出生日期: '', |
| | | }; |
| | | }; |
| | | |
| | | export const defaultCustomconfiguration = (): Customconfiguration => { |
| | | return { |
| | | 患者信息是否加密显示: 0 |
| | | 患者信息是否加密显示: 0, |
| | | 是否显示患者出生年月日: 0 |
| | | } |
| | | } |
| | | |
| | |
| | | result.gender = seeMsg.透析状态?.性别 + ""; |
| | | result.patForm = seeMsg.透析状态?.患者来源; |
| | | result.patFormNumber = seeMsg.透析状态?.患者门诊住院号; |
| | | result.患者出生日期 = seeMsg.透析状态?.患者出生日期; |
| | | |
| | | // 未签到页面需要显示的 |
| | | if (treatmentStatus === EMedStatus.NOT_CHECKED_IN) { |
| | |
| | | <!-- 有排班 --> |
| | | <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 |
| | |
| | | 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"; |
| | | |