diff --git a/src/components/customerOrg/customerOrgEdit.vue b/src/components/customerOrg/customerOrgEdit.vue index c635248..02261f7 100644 --- a/src/components/customerOrg/customerOrgEdit.vue +++ b/src/components/customerOrg/customerOrgEdit.vue @@ -83,20 +83,27 @@ --> - + + + + + + + - + - + @@ -250,7 +257,8 @@ export default { lastModificationTime: null, salesPerson: "", salesPersonPhone: "", - medicalTypeId:'' + medicalTypeId:'', + personnelTypeId:'' }, //初始化 单位 记录 目前新增与更新是一致 formInit: {}, rules: { @@ -347,6 +355,13 @@ export default { } }); + //人员类别 + getapi("/api/app/personnel-type/in-filter").then((res) => { + if (res.code > -1) { + this.dict.personnelType = res.data; + } + }); + }, //更新获取单位树节点数据(局部刷新) diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue index e5b1ef7..167da89 100644 --- a/src/components/patientRegister/PatientRegisterEdit.vue +++ b/src/components/patientRegister/PatientRegisterEdit.vue @@ -1429,8 +1429,9 @@ export default { return new Promise((resolve, reject) => { postapi('/api/app/Customerorg/GetMedicalTypeIdByCustomerOrgId', { customerOrgId }) .then(res => { - if (res.code > -1) { + if (res.code > -1) { this.form.medicalTypeId = res.data.medicalTypeId + this.form.personnelTypeId = res.data.personnelTypeId } }) }) @@ -2273,6 +2274,7 @@ export default { this.form.patientName = ''; this.form.photo = ''; this.form.completeFlag = '1'; // + this.form.planuserid = '' //清除青藏公司的计划ID // this.patientRegister.patientRegisterAbs.forEach(e => { // e.id = '';