Commit 84ae050d authored by co_dengxiongwen's avatar co_dengxiongwen

tj

parent 7e5d9871
...@@ -173,7 +173,7 @@ export default { ...@@ -173,7 +173,7 @@ export default {
lineVectorLayer: [], lineVectorLayer: [],
resolutions: [], resolutions: [],
code: '', code: '',
times: 1, times: 1
} }
}, },
components: { components: {
...@@ -191,8 +191,8 @@ export default { ...@@ -191,8 +191,8 @@ export default {
}, },
methods: { methods: {
// 点击空白位置关闭详情框 // 点击空白位置关闭详情框
closeDetails(){ closeDetails() {
if(this.queryDetailVisible && this.times > 1){ if (this.queryDetailVisible && this.times > 1) {
this.queryDetailVisible = false this.queryDetailVisible = false
this.times = 0 this.times = 0
} }
...@@ -329,8 +329,8 @@ export default { ...@@ -329,8 +329,8 @@ export default {
} }
} }
} }
}else{ } else {
that.queryDetailVisible=false that.queryDetailVisible = false
} }
}) })
}, },
...@@ -583,7 +583,7 @@ export default { ...@@ -583,7 +583,7 @@ export default {
//监视器列表点击 //监视器列表点击
//关闭其他窗口 //关闭其他窗口
// this.closeNoQueryDetailVisible() // this.closeNoQueryDetailVisible()
this.queryDetail(item) this.queryDetail(item)
// if (this.transformationSta === 1) { // if (this.transformationSta === 1) {
// if ( // if (
...@@ -663,10 +663,7 @@ export default { ...@@ -663,10 +663,7 @@ export default {
} }
}) })
if ( if (this.currentNode.level == 5) {
this.currentNode.level == 5 ||
(this.currentNode.level == 6 && this.currentNode.isDefence)
) {
this.list = [] this.list = []
this.currentNode.children.forEach((el) => { this.currentNode.children.forEach((el) => {
if (item === null || (item != null && item.id === el.type)) { if (item === null || (item != null && item.id === el.type)) {
......
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