|
@@ -106,6 +106,7 @@ export default {
|
|
|
this.FloorID = this.$route.query.FloorID
|
|
|
this.BuildID = this.$route.query.BuildID
|
|
|
this.BuildName = this.$route.query.BuildName
|
|
|
+ this.FloorName = this.$route.query.FloorName
|
|
|
if (this.modelId != '') {
|
|
|
this.hasGraph = true;
|
|
|
const temp = this.modelId.split('.');
|
|
@@ -116,6 +117,9 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
this.getCountModel()
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.drawFloor.buildFloorName = `${this.BuildName}-${this.FloorName}`
|
|
|
+ })
|
|
|
},
|
|
|
mounted() {},
|
|
|
methods: {
|
|
@@ -217,8 +221,6 @@ export default {
|
|
|
this.alreadyRelatedModel = res.content.map((t) => {
|
|
|
if (t.id != this.FloorID) return t.modelId
|
|
|
this.sign = t.Sign > 0
|
|
|
- this.FloorName = t.localName || t.name
|
|
|
- this.$refs.drawFloor.buildFloorName = `${this.BuildName}-${this.FloorName}`
|
|
|
t.modelId && this.getFileName(t.modelId)
|
|
|
}).filter((t) => t)
|
|
|
})
|
|
@@ -406,8 +408,6 @@ export default {
|
|
|
}
|
|
|
this.curImgItem.showType == SImageShowType.Full;
|
|
|
this.curImgItem.moveTo(v.properties.x, v.properties.y);
|
|
|
- // this.curImgItem.width = v.Properties.width;
|
|
|
- // this.curImgItem.height = v.Properties.height;
|
|
|
} catch (err) {
|
|
|
console.log(err);
|
|
|
}
|