From 13abcae3919e87cec96a00080a4bc1716fbbb11a Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Mon, 10 Apr 2023 18:03:46 +0800 Subject: [PATCH] =?UTF-8?q?'=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dioptric/patient-add-or-update.vue | 56 ++++++++++++------- .../call/patient-add-or-update.vue | 15 +++-- .../treat/patient-add-or-update.vue | 41 +++++++------- 3 files changed, 65 insertions(+), 47 deletions(-) diff --git a/src/page-subspecialty/views/modules/optometryManagement/dioptric/patient-add-or-update.vue b/src/page-subspecialty/views/modules/optometryManagement/dioptric/patient-add-or-update.vue index 4dfbe17..e88dff5 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/dioptric/patient-add-or-update.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/dioptric/patient-add-or-update.vue @@ -39,15 +39,25 @@ - - - + + - - - - + + + @@ -55,15 +65,17 @@ - - - + + + + + @@ -97,8 +109,8 @@ export default { patientPhone: '', patientAddress: '', patientBirthday: '', - outpatientDoc: '', // 门诊医师 - optometryDoc: '', // 视光医师 + outpatientDocId: '', // 门诊医师 + optometryDocId: '', // 视光医师 zlEye: '', zlProject: '', visitId: '', @@ -111,7 +123,8 @@ export default { ], params: {}, visitList: [], - projectList: [] + projectList: [], + doctorList: [] } }, computed: { @@ -139,6 +152,9 @@ export default { ], patientIdNumber: [ { required: true, message: '请输入患者身份证号', trigger: 'blur' } + ], + optometryDocId: [ + { required: true, message: '请选择视光医师', trigger: 'blur' } ] } } @@ -165,7 +181,7 @@ export default { getDoctorList() { this.$http.get('/sys/user').then(data => { this.doctorList = data.data.data - this.dataForm.optometryDoc = JSON.parse(window.localStorage.getItem('qg-userData')).employeeId + this.dataForm.optometryDocId = JSON.parse(window.localStorage.getItem('qg-userData')).employeeId }) }, // 获取项目列表 diff --git a/src/page-subspecialty/views/modules/outpatientManagement/call/patient-add-or-update.vue b/src/page-subspecialty/views/modules/outpatientManagement/call/patient-add-or-update.vue index dc54be4..1122a4f 100644 --- a/src/page-subspecialty/views/modules/outpatientManagement/call/patient-add-or-update.vue +++ b/src/page-subspecialty/views/modules/outpatientManagement/call/patient-add-or-update.vue @@ -39,7 +39,7 @@ - + - - + + { this.doctorList = data.data.data - this.dataForm.optometryDoc = JSON.parse(window.localStorage.getItem('qg-userData')).employeeId + this.dataForm.optometryDocId = JSON.parse(window.localStorage.getItem('qg-userData')).employeeId }) }, // 获取项目列表 diff --git a/src/page-subspecialty/views/modules/outpatientManagement/treat/patient-add-or-update.vue b/src/page-subspecialty/views/modules/outpatientManagement/treat/patient-add-or-update.vue index 6ac0e09..2c89feb 100644 --- a/src/page-subspecialty/views/modules/outpatientManagement/treat/patient-add-or-update.vue +++ b/src/page-subspecialty/views/modules/outpatientManagement/treat/patient-add-or-update.vue @@ -38,25 +38,23 @@ - - + + - - + + @@ -65,15 +63,16 @@ - - - + + + + + @@ -112,8 +111,8 @@ export default { patientPhone: '', patientAddress: '', patientBirthday: '', - outpatientDoc: '', // 门诊医师 - optometryDoc: '', // 视光医师 + outpatientDocId: '', // 门诊医师 + optometryDocId: '', // 视光医师 zlEye: '', zlProject: '', visitId: '', @@ -156,7 +155,7 @@ export default { patientIdNumber: [ { required: true, message: '请输入患者身份证号', trigger: 'blur' } ], - optometryDoc: [ + optometryDocId: [ { required: true, message: '请选择视光医师', trigger: 'blur' } ] } @@ -183,7 +182,7 @@ export default { getDoctorList() { this.$http.get('/sys/user').then(data => { this.doctorList = data.data.data - this.dataForm.optometryDoc = JSON.parse(window.localStorage.getItem('qg-userData')).employeeId + this.dataForm.optometryDocId = JSON.parse(window.localStorage.getItem('qg-userData')).employeeId }) }, // 获取项目列表