|
@@ -100,7 +100,7 @@ export default {
|
|
created() {
|
|
created() {
|
|
if (this.$route.query.RoomID && this.$route.query.zone && !this.$route.query.isMyTab) {
|
|
if (this.$route.query.RoomID && this.$route.query.zone && !this.$route.query.isMyTab) {
|
|
this.getData();
|
|
this.getData();
|
|
- this.setFrame();
|
|
|
|
|
|
+ // this.setFrame();
|
|
this.params = this.$route.query;
|
|
this.params = this.$route.query;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -125,12 +125,10 @@ export default {
|
|
}
|
|
}
|
|
queryZone(params, res => {
|
|
queryZone(params, res => {
|
|
this.spaceDetails = res.Content[0];
|
|
this.spaceDetails = res.Content[0];
|
|
- this.buildFloorSelectd = [this.FloorMap.BuildID,this.FloorMap.FloorID];
|
|
|
|
if(this.spaceDetails.Outline && this.spaceDetails.Outline.length){
|
|
if(this.spaceDetails.Outline && this.spaceDetails.Outline.length){
|
|
this.getSpaceFloor();
|
|
this.getSpaceFloor();
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- this.setFrame();
|
|
|
|
},
|
|
},
|
|
setFrame() {
|
|
setFrame() {
|
|
// 设置静态数据tab的iframe地址
|
|
// 设置静态数据tab的iframe地址
|
|
@@ -149,6 +147,7 @@ export default {
|
|
},
|
|
},
|
|
getSpaceImg() {
|
|
getSpaceImg() {
|
|
// 获取业务空间楼层图片
|
|
// 获取业务空间楼层图片
|
|
|
|
+ this.buildFloorSelectd = [this.FloorMap.BuildID,this.FloorMap.FloorID];
|
|
this.$refs.graphy.getData(this.buildFloorSelectd, this.FloorMap, {code: this.spaceDetails.ObjectType});
|
|
this.$refs.graphy.getData(this.buildFloorSelectd, this.FloorMap, {code: this.spaceDetails.ObjectType});
|
|
},
|
|
},
|
|
initMessage() {
|
|
initMessage() {
|