|
|
@@ -70,10 +70,11 @@ export default {
|
|
|
this.$emit('handlerClick', data)
|
|
|
},
|
|
|
//节点选中状态变化
|
|
|
- handleClick() {
|
|
|
+ handleClick(val) {
|
|
|
+ console.log(val,'valvalvalvalavla')
|
|
|
this.checkList = this.$refs.treeForm.getCheckedKeys()
|
|
|
const checkNode = this.$refs.treeForm.getCheckedNodes()
|
|
|
- this.node.cusareaName = checkNode[checkNode.length - 1].cusareaName
|
|
|
+ this.node.cusareaName = val?.cusareaName
|
|
|
this.$emit('getCheckTree', this.checkList)
|
|
|
this.$emit('getCheckTreeNode', checkNode)
|
|
|
}
|