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