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) => {