|
|
|
@ -690,6 +690,7 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
//陈鹏飞↓↓↓
|
|
|
|
|
//陈鹏飞↓↓↓
|
|
|
|
|
allFireElements:any = []; //当前 单位/建筑 下的消防要素
|
|
|
|
|
isShowAttribute:boolean = true; //属性栏 是否显示 默认数据
|
|
|
|
|
|
|
|
|
|
toggleExpandPanel:boolean = false; //可展开面板展开或关闭
|
|
|
|
|
togglePlane:boolean = true; //可展开面板平面图 显隐
|
|
|
|
@ -764,6 +765,8 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
this.http.get(`/api/CompanyAccount/SitePlanData`,{params}).subscribe((data:any)=>{ |
|
|
|
|
this.canvasData.originaleveryStoreyData = data || {} // 楼层原数据
|
|
|
|
|
this.canvasData.originaleveryStoreyData.data? this.canvasData.originaleveryStoreyData.data = JSON.parse(this.canvasData.originaleveryStoreyData.data) : this.canvasData.originaleveryStoreyData.data = {} |
|
|
|
|
this.canvasData.isChange = false |
|
|
|
|
this.isShowAttribute = true |
|
|
|
|
this.renovateTreeData() |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
@ -782,6 +785,8 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
this.http.get(`/api/CompanyAccount/BuildingAreaData`,{params}).subscribe((data:any)=>{ |
|
|
|
|
this.canvasData.originaleveryStoreyData = data || {} // 楼层原数据
|
|
|
|
|
this.canvasData.originaleveryStoreyData.data? this.canvasData.originaleveryStoreyData.data = JSON.parse(this.canvasData.originaleveryStoreyData.data) : this.canvasData.originaleveryStoreyData.data = {} |
|
|
|
|
this.canvasData.isChange = false |
|
|
|
|
this.isShowAttribute = true |
|
|
|
|
this.renovateTreeData() |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
@ -1061,6 +1066,7 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
this.selectLibrary = item.name |
|
|
|
|
this.selectImage = items |
|
|
|
|
this.selectImageIndex = index |
|
|
|
|
this.canvasData.selectTemplateData = items |
|
|
|
|
this.canvas.beginPaint(items) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|