diff --git a/src/components/customerOrg/customerOrgEdit.vue b/src/components/customerOrg/customerOrgEdit.vue index 9b6ef25..b45a142 100644 --- a/src/components/customerOrg/customerOrgEdit.vue +++ b/src/components/customerOrg/customerOrgEdit.vue @@ -89,7 +89,8 @@ - + @@ -109,7 +110,7 @@ - + @@ -157,7 +158,10 @@ - + + + @@ -262,9 +266,9 @@ export default { lastModificationTime: null, salesPerson: "", salesPersonPhone: "", - medicalTypeId:'', - personnelTypeId:'', - isRecommend:'N', + medicalTypeId: '', + personnelTypeId: '', + isRecommend: 'N', }, //初始化 单位 记录 目前新增与更新是一致 formInit: {}, rules: { @@ -276,6 +280,8 @@ export default { ], }, isshow: false, + + dictSalesman:[], }; }, @@ -368,6 +374,14 @@ export default { } }); + // 业务员 {operatorTypes:["1","3"]} + postapi('/api/identity/users/GetListByOperatorType', { operatorTypes: ["0", "1", "2", "3", "4"] }) + .then(res => { + if (res.code > -1) { + this.dictSalesman = res.data + } + }) + }, //更新获取单位树节点数据(局部刷新) @@ -490,8 +504,8 @@ export default { body.parentId = null; } } - if(!body.medicalTypeId) delete body.medicalTypeId; - if(!body.personnelTypeId) delete body.personnelTypeId; + if (!body.medicalTypeId) delete body.medicalTypeId; + if (!body.personnelTypeId) delete body.personnelTypeId; console.log("body", body, "this.form", this.form); diff --git a/src/components/doctorCheck/PatientRegisterList.vue b/src/components/doctorCheck/PatientRegisterList.vue index 495eccd..0c8e5f5 100644 --- a/src/components/doctorCheck/PatientRegisterList.vue +++ b/src/components/doctorCheck/PatientRegisterList.vue @@ -603,7 +603,7 @@ export default { /* 部份已检 */ ::v-deep .el-table .complete2 { - background: #b9cee9 !important; + background: #ec7504 !important; } /* 总检 */ ::v-deep .el-table .complete3 { diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue index 559304a..fe8742d 100644 --- a/src/components/patientRegister/PatientRegisterEdit.vue +++ b/src/components/patientRegister/PatientRegisterEdit.vue @@ -208,8 +208,11 @@ - - + + + + @@ -1067,6 +1070,8 @@ export default { customerOrgRegister: {}, // 当前选择体检次数 hc_warn_mode: '1', //0-仅提醒;1-提醒并决择;2-有互斥项目时不允许保存 + + dictSalesman:[] // }; }, @@ -1315,7 +1320,13 @@ export default { } }) - + // 业务员 {operatorTypes:["1","3"]} + postapi('/api/identity/users/GetListByOperatorType',{operatorTypes:["0","1","2","3","4"]}) + .then(res => { + if (res.code > -1) { + this.dictSalesman = res.data + } + }) //项目类别 树结构 // getapi("/api/app/item-type/by-code-all").then((res) => { @@ -1427,6 +1438,7 @@ export default { this.peisid = window.sessionStorage.getItem('peisid'); let customerOrgId, customerOrgName, customerOrgParentId + if (this.patientRegister.query.customerOrgId) { customerOrgParentId = this.patientRegister.query.CustomerOrgParentId customerOrgId = this.patientRegister.query.customerOrgId @@ -1436,6 +1448,7 @@ export default { customerOrgId = this.form.customerOrgId customerOrgName = this.form.customerOrgName } + this.preCustomerOrgId = this.patientRegister.query.customerOrgId if (!patientRegisterId) { //添加 this.form = Object.assign({}, this.form, this.formInit) @@ -2360,8 +2373,10 @@ export default { btnAdd() { // 当前面点新增时,清部份信息 this.clearPerson() - this.dataTransOpts.tableS.patient_register.id = '' - this.dataTransOpts.refresh.patient_register.S++ + // this.dataTransOpts.tableS.patient_register.id = '' + // this.dataTransOpts.refresh.patient_register.S++ + this.dataTransOpts.tableM.register_check_asbitem = [] + //this.changeItemType(deepCopy(this.dataTransOpts.copyGroup.itemTypeIds)) }, //将现有的数据,复制并展现,但未保存 diff --git a/src/components/patientRegister/PatientRegisterList.vue b/src/components/patientRegister/PatientRegisterList.vue index bc08e83..47995ba 100644 --- a/src/components/patientRegister/PatientRegisterList.vue +++ b/src/components/patientRegister/PatientRegisterList.vue @@ -2,75 +2,40 @@
-
+
- - - + + + ">