diff --git a/src/components/customField/AddForm.vue b/src/components/customField/AddForm.vue index 52874234..e6835000 100644 --- a/src/components/customField/AddForm.vue +++ b/src/components/customField/AddForm.vue @@ -313,7 +313,7 @@ export default { } } else if (val === StandardGradeClassify.ONE_LEVEL.value) { // 选的是1级 - this.formInline.auth_dept = this.standardGradeClassification.find(item => item.level + '' === '1').deptIds + // this.formInline.auth_dept = this.standardGradeClassification.find(item => item.level + '' === '1').deptIds this.departSelectRange = this.standardGradeClassification.find(item => item.level + '' === '1').deptIds.split(',') this.formInline = JSON.parse(JSON.stringify(this.formInline)) if (this.innerDisabledField.includes('auth_dept')) { @@ -321,7 +321,7 @@ export default { } } else if (val === StandardGradeClassify.TWO_LEVEL.value) { // 选的是2级 - this.formInline.auth_dept = this.standardGradeClassification.find(item => item.level + '' === '2').deptIds + // this.formInline.auth_dept = this.standardGradeClassification.find(item => item.level + '' === '2').deptIds this.departSelectRange = this.standardGradeClassification.find(item => item.level + '' === '2').deptIds.split(',') this.formInline = JSON.parse(JSON.stringify(this.formInline)) if (this.innerDisabledField.includes('auth_dept')) { diff --git a/src/components/jerobiz/modal/JSelectDepartModal.vue b/src/components/jerobiz/modal/JSelectDepartModal.vue index e11543ed..cc0f22da 100644 --- a/src/components/jerobiz/modal/JSelectDepartModal.vue +++ b/src/components/jerobiz/modal/JSelectDepartModal.vue @@ -90,10 +90,7 @@ export default { deep: true, handler (val) { if (val && val.length > 0) { - console.log(this.treeData) - console.log('--------filterTreeDataOnlySelectRange--------', val) this.filterTreeDataOnlySelectRange(this.treeData) - console.log(this.treeData) this.$forceUpdate() } }