|
@@ -99,7 +99,7 @@ export default {
|
|
|
},
|
|
|
emitFloor(item) {
|
|
|
this.floorInfo = item
|
|
|
- // this.$refs.floorMap.init(this.floorInfo.gname)
|
|
|
+ this.$refs.floorMap.init(this.floorInfo.gname)
|
|
|
this.init()
|
|
|
},
|
|
|
dialogVisible(eve) {
|
|
@@ -134,9 +134,19 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
console.log('smsxtsmsxtsmsxt', this.$route.query.smsxt)
|
|
|
+ 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)
|
|
|
+ this.$refs.floorMap.init(this.floorInfo.gname)
|
|
|
},
|
|
|
computed: {
|
|
|
...mapGetters(['floorsArr'])
|