|
@@ -203,8 +203,6 @@ export default {
|
|
if (name.slice(name.length - 2, name.length) == '机房') {
|
|
if (name.slice(name.length - 2, name.length) == '机房') {
|
|
if (location) {
|
|
if (location) {
|
|
this.$refs.boxRoom.open({ name: name, type: this.type, location: location })
|
|
this.$refs.boxRoom.open({ name: name, type: this.type, location: location })
|
|
- } else {
|
|
|
|
- this.$message('未添加位置类型')
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// 选中电井设置电井关联的商铺高亮
|
|
// 选中电井设置电井关联的商铺高亮
|
|
@@ -351,11 +349,11 @@ export default {
|
|
// })
|
|
// })
|
|
this.topologyParser.imageLegendList.forEach(t => {
|
|
this.topologyParser.imageLegendList.forEach(t => {
|
|
let id = t.data.GraphElementId
|
|
let id = t.data.GraphElementId
|
|
- t.selected = (res.indexOf(id) > -1)
|
|
|
|
|
|
+ t.selected = res.indexOf(id) > -1
|
|
})
|
|
})
|
|
this.topologyParser.relationList.forEach(t => {
|
|
this.topologyParser.relationList.forEach(t => {
|
|
let id = t.data.GraphElementId
|
|
let id = t.data.GraphElementId
|
|
- t.selected = (res.indexOf(id) > -1)
|
|
|
|
|
|
+ t.selected = res.indexOf(id) > -1
|
|
})
|
|
})
|
|
})
|
|
})
|
|
}
|
|
}
|