|
|
|
@ -1433,7 +1433,7 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
getSitePlanStorey(e) { |
|
|
|
|
let params = { sitePlanId: e.id }; |
|
|
|
|
this.http.get(`/api/SitePlanData`, { params }).subscribe((data: any) => { |
|
|
|
|
console.log(12345, data); |
|
|
|
|
// console.log(12345, data);
|
|
|
|
|
this.canvasData.originaleveryStoreyData = data || {}; // 楼层原数据
|
|
|
|
|
this.canvasData.originaleveryStoreyData.data |
|
|
|
|
? (this.canvasData.originaleveryStoreyData.data = JSON.parse( |
|
|
|
@ -1481,6 +1481,7 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
this.http |
|
|
|
|
.get(`/api/BuildingAreaData`, { params }) |
|
|
|
|
.subscribe((data: any) => { |
|
|
|
|
// console.log(555,data)
|
|
|
|
|
this.canvasData.originaleveryStoreyData = data || {}; // 楼层原数据
|
|
|
|
|
this.canvasData.originaleveryStoreyData.data |
|
|
|
|
? (this.canvasData.originaleveryStoreyData.data = JSON.parse( |
|
|
|
@ -2362,6 +2363,7 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
//查找 数据节点 对应 建筑/楼层
|
|
|
|
|
seekPanelPoint(paramsData) { |
|
|
|
|
this.checkedBuildingIndex = paramsData.buildingIndex; |
|
|
|
|
// console.log(123,paramsData.buildingIndex)
|
|
|
|
|
if (paramsData.buildingIndex == -1) { |
|
|
|
|
//总平面图时
|
|
|
|
|
this.beforeOneCheckedBuilding = { name: "总平面图" }; |
|
|
|
|