|
@@ -65,7 +65,6 @@ export default {
|
|
|
//
|
|
|
init(){
|
|
|
this.getFloorData();
|
|
|
- this.getOtherFloorOutLine();
|
|
|
},
|
|
|
// 初始化canvas
|
|
|
initGraphy(Id, type) {
|
|
@@ -123,12 +122,13 @@ export default {
|
|
|
}
|
|
|
floorQuery(pa, res => {
|
|
|
this.floorData = res.Content[0];
|
|
|
+ this.getOtherFloorOutLine();
|
|
|
this.initGraphy(this.floorData.StructureInfo.FloorMap, 2)
|
|
|
})
|
|
|
},
|
|
|
// 获取绑定该模型id的其他楼层轮廓线
|
|
|
getOtherFloorOutLine() {
|
|
|
- let modelid = this.$route.query.modelId;
|
|
|
+ let modelid = this.floorData.ModelId;
|
|
|
let pa = {
|
|
|
Filters: `ModelId='${modelid}'`
|
|
|
}
|