From ba6648658ec7e6c205a54a1d0d62f20c05fe6ab0 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Wed, 10 Apr 2024 10:51:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=97=A5=E5=B1=95=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nurseManagement/reservation/schedule/addPatientOrder.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue index 4f4c382..f1025b3 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue @@ -13,7 +13,7 @@
姓名:{{ patientInfo.patientName }}
性别:{{ patientInfo.patientSex }}
-
生日:{{ $moment(patientInfo.patientBirthday).format('YYYY-MM-DD') }}
+
生日:{{ birthShow(patientInfo.patientBirthday) }}
年龄:{{ patientInfo.patientAge }}
来源:{{ patientInfo.source }}
@@ -208,6 +208,9 @@ export default { init() { this.visible = true }, + birthShow(birthday) { + return birthday ? this.$moment(birthday).format('YYYY-MM-DD') : '-' + }, // 查询患者 searchPatient(val) { this.$http.get('/appoint/getPatientInfo', { params: { patientId: val }}).then((data) => {