|
|
@ -1250,12 +1250,12 @@ export class CollectionToolsComponent implements OnInit { |
|
|
|
this.canvasData.originaleveryStoreyData.version? null : this.canvasData.originaleveryStoreyData.version = "2.0" |
|
|
|
this.canvasData.originaleveryStoreyData.version? null : this.canvasData.originaleveryStoreyData.version = "2.0" |
|
|
|
this.canvasData.originaleveryStoreyData.sitePlanId? null : this.canvasData.originaleveryStoreyData.sitePlanId = e.id || null |
|
|
|
this.canvasData.originaleveryStoreyData.sitePlanId? null : this.canvasData.originaleveryStoreyData.sitePlanId = e.id || null |
|
|
|
this.renovateTreeData() |
|
|
|
this.renovateTreeData() |
|
|
|
// this.canvas.onExaminerClickFloor()
|
|
|
|
this.canvas.onExaminerClickFloor() |
|
|
|
this.canvas.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle); |
|
|
|
// this.canvas.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle);
|
|
|
|
this.canvas.createFloorShape(this.canvasData.originaleveryStoreyData.data); |
|
|
|
// this.canvas.createFloorShape(this.canvasData.originaleveryStoreyData.data);
|
|
|
|
this.canvas.createNodeShape(this.canvasData.selectPanelPoint.Data); |
|
|
|
// this.canvas.createNodeShape(this.canvasData.selectPanelPoint.Data);
|
|
|
|
// 隐藏基本信息图形
|
|
|
|
// // 隐藏基本信息图形
|
|
|
|
this.canvas.setNameVisible(false, 0); |
|
|
|
// this.canvas.setNameVisible(false, 0);
|
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1273,7 +1273,7 @@ export class CollectionToolsComponent implements OnInit { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//获取 建筑 楼层数据
|
|
|
|
//获取 建筑 楼层数据
|
|
|
|
getBuildingStorey (e) { |
|
|
|
async getBuildingStorey (e) { |
|
|
|
let params = {buildingAreaId: e.id} |
|
|
|
let params = {buildingAreaId: e.id} |
|
|
|
this.http.get(`/api/BuildingAreaData`,{params}).subscribe((data:any)=>{ |
|
|
|
this.http.get(`/api/BuildingAreaData`,{params}).subscribe((data:any)=>{ |
|
|
|
this.canvasData.originaleveryStoreyData = data || {} // 楼层原数据
|
|
|
|
this.canvasData.originaleveryStoreyData = data || {} // 楼层原数据
|
|
|
@ -1281,12 +1281,13 @@ export class CollectionToolsComponent implements OnInit { |
|
|
|
this.canvasData.originaleveryStoreyData.version? null : this.canvasData.originaleveryStoreyData.version = "2.0" |
|
|
|
this.canvasData.originaleveryStoreyData.version? null : this.canvasData.originaleveryStoreyData.version = "2.0" |
|
|
|
this.canvasData.originaleveryStoreyData.buildingAreaId? null : this.canvasData.originaleveryStoreyData.buildingAreaId = e.id || null |
|
|
|
this.canvasData.originaleveryStoreyData.buildingAreaId? null : this.canvasData.originaleveryStoreyData.buildingAreaId = e.id || null |
|
|
|
this.renovateTreeData() |
|
|
|
this.renovateTreeData() |
|
|
|
// this.canvas.onExaminerClickFloor()
|
|
|
|
this.canvas.onExaminerClickFloor() |
|
|
|
this.canvas.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle); |
|
|
|
// this.canvas.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle);
|
|
|
|
this.canvas.createFloorShape(this.canvasData.originaleveryStoreyData.data); |
|
|
|
// await this.canvas.refreshBackgroundImage();
|
|
|
|
this.canvas.createNodeShape(this.canvasData.selectPanelPoint.Data); |
|
|
|
// this.canvas.createFloorShape(this.canvasData.originaleveryStoreyData.data);
|
|
|
|
// 隐藏基本信息图形
|
|
|
|
// this.canvas.createNodeShape(this.canvasData.selectPanelPoint.Data);
|
|
|
|
this.canvas.setNameVisible(false, 0); |
|
|
|
// // 隐藏基本信息图形
|
|
|
|
|
|
|
|
// this.canvas.setNameVisible(false, 0);
|
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|