Commit 9d873711 authored by xiexingan's avatar xiexingan

tj

parent 435ba9ff
......@@ -974,10 +974,15 @@ export default {
Vue.set(this.currentNode, 'iconB', true)
this.defaultExpandedKeys = [this.currentNode.id]
this.isFlag(this.treeData, this.currentNode.id)
this.currentMap = this.mapList.filter(e => e.stationId === this.currentNode.stationId)
if (this.currentNode.level === 4) {
this.currentMap = this.mapList.filter(e => e.stationId === this.currentNode.stationId)
this.checkedData.tierId = this.currentNode.id
} else if (this.currentNode.level === 5 || this.currentNode.level === 6) {
} else if (this.currentNode.level === 5) {
this.currentMap = this.mapList.filter(e => e.stationId === this.currentNode.stationId)
this.checkedData.tierId = this.currentNode.tierId
} else if (this.currentNode.level === 6) {
console.log(this.mapList)
this.currentMap = this.mapList.filter(e => e.stationId === this.currentNode.stationId)
this.checkedData.tierId = this.currentNode.tierId
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment