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 5654b58..30bcfe9 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 @@ -158,8 +158,8 @@ export default { methods: { init() { this.visible = true - this.getDoctorList('视光医生') - this.getDoctorList('门诊医生') + this.getDoctorList('视光医师') + this.getDoctorList('门诊医师') this.getProject() this.$nextTick(() => { this.$refs.dataForm.resetFields() // 重置表单 @@ -202,7 +202,7 @@ export default { if (!valid) { return false } - this.dataForm.zlProjectCode = this.dataForm.zlProjectCode.join(',') + this.dataForm.zlProjectCode = this.dataForm.zlProjectCode.length && this.dataForm.zlProjectCode.join(',') this.$http[!this.dataForm.id ? 'post' : 'put']('/patient/savePatient', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) 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 fb33cac..650acb0 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 @@ -166,8 +166,8 @@ export default { methods: { init() { this.visible = true - this.getDoctorList('视光医生') - this.getDoctorList('门诊医生') + this.getDoctorList('视光医师') + this.getDoctorList('门诊医师') this.getProject() this.$nextTick(() => { this.$refs.dataForm.resetFields() // 重置表单 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 17025e7..8292067 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 @@ -154,8 +154,8 @@ export default { methods: { init() { this.visible = true - this.getDoctorList('视光医生') - this.getDoctorList('门诊医生') + this.getDoctorList('视光医师') + this.getDoctorList('门诊医师') this.getProject() this.$nextTick(() => { this.$refs.dataForm.resetFields() // 重置表单