[update] 修改bug78215
This commit is contained in:
@@ -313,7 +313,7 @@ export default {
|
|||||||
}
|
}
|
||||||
} else if (val === StandardGradeClassify.ONE_LEVEL.value) {
|
} else if (val === StandardGradeClassify.ONE_LEVEL.value) {
|
||||||
// 选的是1级
|
// 选的是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.departSelectRange = this.standardGradeClassification.find(item => item.level + '' === '1').deptIds.split(',')
|
||||||
this.formInline = JSON.parse(JSON.stringify(this.formInline))
|
this.formInline = JSON.parse(JSON.stringify(this.formInline))
|
||||||
if (this.innerDisabledField.includes('auth_dept')) {
|
if (this.innerDisabledField.includes('auth_dept')) {
|
||||||
@@ -321,7 +321,7 @@ export default {
|
|||||||
}
|
}
|
||||||
} else if (val === StandardGradeClassify.TWO_LEVEL.value) {
|
} else if (val === StandardGradeClassify.TWO_LEVEL.value) {
|
||||||
// 选的是2级
|
// 选的是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.departSelectRange = this.standardGradeClassification.find(item => item.level + '' === '2').deptIds.split(',')
|
||||||
this.formInline = JSON.parse(JSON.stringify(this.formInline))
|
this.formInline = JSON.parse(JSON.stringify(this.formInline))
|
||||||
if (this.innerDisabledField.includes('auth_dept')) {
|
if (this.innerDisabledField.includes('auth_dept')) {
|
||||||
|
|||||||
@@ -90,10 +90,7 @@ export default {
|
|||||||
deep: true,
|
deep: true,
|
||||||
handler (val) {
|
handler (val) {
|
||||||
if (val && val.length > 0) {
|
if (val && val.length > 0) {
|
||||||
console.log(this.treeData)
|
|
||||||
console.log('--------filterTreeDataOnlySelectRange--------', val)
|
|
||||||
this.filterTreeDataOnlySelectRange(this.treeData)
|
this.filterTreeDataOnlySelectRange(this.treeData)
|
||||||
console.log(this.treeData)
|
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user