|
@@ -580,7 +580,7 @@ export default {
|
|
this.queryParams.areaCode = this.defalutArr.join('/')
|
|
this.queryParams.areaCode = this.defalutArr.join('/')
|
|
this.$refs['tree'].setCurrentKey(this.defalutArr[this.defalutArr.length - 1])
|
|
this.$refs['tree'].setCurrentKey(this.defalutArr[this.defalutArr.length - 1])
|
|
}
|
|
}
|
|
- this.meterClsChange()
|
|
|
|
|
|
+ this.meterClsChange(45)
|
|
},
|
|
},
|
|
recursion(data, defalutArr) {
|
|
recursion(data, defalutArr) {
|
|
defalutArr.push(data.id)
|
|
defalutArr.push(data.id)
|
|
@@ -608,7 +608,6 @@ export default {
|
|
// 调用递归函数
|
|
// 调用递归函数
|
|
this.platform(selectNode, nodeArr)
|
|
this.platform(selectNode, nodeArr)
|
|
this.queryParams.areaCode = nodeArr.map(item => item.id).join('/')
|
|
this.queryParams.areaCode = nodeArr.map(item => item.id).join('/')
|
|
- this.meterClsChange()
|
|
|
|
},
|
|
},
|
|
// 递归函数
|
|
// 递归函数
|
|
platform(node, array) {
|
|
platform(node, array) {
|