|
@@ -69,7 +69,7 @@ export default {
|
|
//this.defaultCheckedKeys = ChoiceList.filter((item)=>!HalfChoiceList.some((halfItem)=>item===halfItem))
|
|
//this.defaultCheckedKeys = ChoiceList.filter((item)=>!HalfChoiceList.some((halfItem)=>item===halfItem))
|
|
this.$nextTick(()=>{
|
|
this.$nextTick(()=>{
|
|
this.defaultCheckedKeys = this.checkList
|
|
this.defaultCheckedKeys = this.checkList
|
|
- this.handleCheckChange(this.defaultCheckedKeys,HalfChoiceList)
|
|
|
|
|
|
+ this.handleCheckChange(this.defaultCheckedKeys/* ,HalfChoiceList */)
|
|
})
|
|
})
|
|
|
|
|
|
})
|
|
})
|
|
@@ -127,9 +127,9 @@ export default {
|
|
}
|
|
}
|
|
this.$router.push('/businessETAList')
|
|
this.$router.push('/businessETAList')
|
|
},
|
|
},
|
|
- handleCheckChange(choiceList,HalfChoiceList){
|
|
|
|
|
|
+ handleCheckChange(choiceList/* ,HalfChoiceList */){
|
|
const keys = choiceList||this.$refs.checkboxTree.getCheckedKeys()
|
|
const keys = choiceList||this.$refs.checkboxTree.getCheckedKeys()
|
|
- const halfKeys = HalfChoiceList||this.$refs.checkboxTree.getHalfCheckedKeys()
|
|
|
|
|
|
+ //const halfKeys = HalfChoiceList||this.$refs.checkboxTree.getHalfCheckedKeys()
|
|
const ChoiceList = Array.from(new Set([...keys]))
|
|
const ChoiceList = Array.from(new Set([...keys]))
|
|
const topLevelNodes = this.authList.map(i=>i.MenuId)
|
|
const topLevelNodes = this.authList.map(i=>i.MenuId)
|
|
let nodeLength = 0
|
|
let nodeLength = 0
|