|
@@ -90,10 +90,6 @@ export default {
|
|
categoryId: 'GDXT',
|
|
categoryId: 'GDXT',
|
|
systemName: '供电系统',
|
|
systemName: '供电系统',
|
|
floorInfo: {
|
|
floorInfo: {
|
|
- code: 'F1',
|
|
|
|
- gcode: '1F',
|
|
|
|
- gname: 'f1',
|
|
|
|
- seq: 100
|
|
|
|
},
|
|
},
|
|
smsxt: '1001',
|
|
smsxt: '1001',
|
|
dialogInfo: {},
|
|
dialogInfo: {},
|
|
@@ -273,23 +269,12 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- /* mounted() {
|
|
|
|
- if (this.$route.query.smsxt) {
|
|
|
|
- this.smsxt = this.$route.query.smsxt
|
|
|
|
- this.system.forEach(el => {
|
|
|
|
- if (el.smsxt == this.smsxt) {
|
|
|
|
- this.everySystem = el.children
|
|
|
|
- this.systemName = el.name
|
|
|
|
- this.systemId = el.id
|
|
|
|
- }
|
|
|
|
- })``
|
|
|
|
- }
|
|
|
|
- this.everySystem = this.system[0].children
|
|
|
|
- this.init()
|
|
|
|
- this.$refs.floorMap.init(this.floorInfo.gname)
|
|
|
|
- }, */
|
|
|
|
mounted() {
|
|
mounted() {
|
|
window._vm = this
|
|
window._vm = this
|
|
|
|
+ if (Object.keys(this.floorObj).length > 0) {
|
|
|
|
+ this.floorInfo = this.floorObj
|
|
|
|
+ this.$refs.floorMap.init(this.floorInfo.gname)
|
|
|
|
+ }
|
|
if (this.$route.query.smsxt) {
|
|
if (this.$route.query.smsxt) {
|
|
console.log(this.$route.query.smsxt)
|
|
console.log(this.$route.query.smsxt)
|
|
this.smsxt = this.$route.query.smsxt
|
|
this.smsxt = this.$route.query.smsxt
|
|
@@ -310,16 +295,13 @@ export default {
|
|
this.everySystem = item.children
|
|
this.everySystem = item.children
|
|
this.systemName = item.name
|
|
this.systemName = item.name
|
|
this.smsxt = item.smsxt
|
|
this.smsxt = item.smsxt
|
|
- // this.$refs.floorMap.init(this.floorInfo.gname)
|
|
|
|
this.querySmsxt()
|
|
this.querySmsxt()
|
|
this.viewLengend()
|
|
this.viewLengend()
|
|
}
|
|
}
|
|
this.init()
|
|
this.init()
|
|
- console.log(this.floorInfo.gname)
|
|
|
|
- this.$refs.floorMap.init(this.floorInfo.gname)
|
|
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
- ...mapGetters(['floorsArr', 'plazaId', 'showView', 'legendTable'])
|
|
|
|
|
|
+ ...mapGetters(['floorsArr', 'plazaId', 'showView', 'legendTable','floorObj'])
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|