no message
This commit is contained in:
parent
e57ae73dda
commit
5bb3a71b34
@ -4,7 +4,7 @@
|
|||||||
<view v-if="session" class="patient-info-bar" @click="openPatientInfo">
|
<view v-if="session" class="patient-info-bar" @click="openPatientInfo">
|
||||||
<view class="patient-summary">
|
<view class="patient-summary">
|
||||||
<text class="patient-name">{{ patientDisplayName }}</text>
|
<text class="patient-name">{{ patientDisplayName }}</text>
|
||||||
<text class="patient-detail">{{ patientDetail }}</text>
|
<text v-if="patientDetail" class="patient-detail">{{ patientDetail }}</text>
|
||||||
</view>
|
</view>
|
||||||
<text class="patient-action">查看/修改</text>
|
<text class="patient-action">查看/修改</text>
|
||||||
<text class="patient-arrow">›</text>
|
<text class="patient-arrow">›</text>
|
||||||
@ -74,7 +74,7 @@ const patientDetail = computed(() => {
|
|||||||
if (patient.sex) details.push(patient.sex);
|
if (patient.sex) details.push(patient.sex);
|
||||||
if (patient.age !== '' && patient.age !== null && patient.age !== undefined) details.push(`${patient.age}岁`);
|
if (patient.age !== '' && patient.age !== null && patient.age !== undefined) details.push(`${patient.age}岁`);
|
||||||
if (patient.relationship) details.push(patient.relationship);
|
if (patient.relationship) details.push(patient.relationship);
|
||||||
return details.join(' · ') || '基础信息待完善';
|
return details.join(' · ');
|
||||||
});
|
});
|
||||||
|
|
||||||
function displayContent(item) {
|
function displayContent(item) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user