|
|
|
@ -1359,6 +1359,7 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
this.selectSitePlanIndex = 0; |
|
|
|
|
|
|
|
|
|
Promise.all([fireData, planData]).then((res) => { |
|
|
|
|
this.canvasData.selectPanelPoint.Data= {}; |
|
|
|
|
this.getSitePlanStorey(this.selectingSitePlan); //获取 平面图 楼层数据
|
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
@ -1376,6 +1377,7 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
this.selectSitePlanIndex = 0; |
|
|
|
|
|
|
|
|
|
Promise.all([fireData, planData]).then((res) => { |
|
|
|
|
this.canvasData.selectPanelPoint.Data= {}; |
|
|
|
|
this.getBuildingStorey(this.selectingSitePlan); //获取 建筑 楼层数据
|
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
@ -1481,7 +1483,7 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
this.http |
|
|
|
|
.get(`/api/BuildingAreaData`, { params }) |
|
|
|
|
.subscribe((data: any) => { |
|
|
|
|
// console.log(555,data)
|
|
|
|
|
console.log("建筑素材数据", data); |
|
|
|
|
this.canvasData.originaleveryStoreyData = data || {}; // 楼层原数据
|
|
|
|
|
this.canvasData.originaleveryStoreyData.data |
|
|
|
|
? (this.canvasData.originaleveryStoreyData.data = JSON.parse( |
|
|
|
@ -2307,12 +2309,14 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
//删除 处置预案 节点
|
|
|
|
|
deletePanelPoint(e, item) { |
|
|
|
|
console.log(item) |
|
|
|
|
console.log(item); |
|
|
|
|
e.stopPropagation(); |
|
|
|
|
if (confirm(`确定要删除 ${item.name} ?`)) { |
|
|
|
|
this.http.delete(`/api/ExamDisposalNodes/${item.id}`).subscribe((data) => { |
|
|
|
|
this.refurbishTreeData(); |
|
|
|
|
}); |
|
|
|
|
this.http |
|
|
|
|
.delete(`/api/ExamDisposalNodes/${item.id}`) |
|
|
|
|
.subscribe((data) => { |
|
|
|
|
this.refurbishTreeData(); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|