|
|
|
@ -596,9 +596,8 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
data.forEach(element => { |
|
|
|
|
element.isTemplate = true //添加模板标识
|
|
|
|
|
element.isLook = true //添加是否可见标识
|
|
|
|
|
// element.isLookPattern = false
|
|
|
|
|
element.name!='其他'? element.children = [] : element.children |
|
|
|
|
|
|
|
|
|
element.children? element.children : element.children = [] |
|
|
|
|
if(storeyData){ |
|
|
|
|
for(let key in storeyData.data){ |
|
|
|
|
if(element.id == storeyData.data[key].FireElementId){ |
|
|
|
@ -681,7 +680,8 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
this.canvas.refresh() |
|
|
|
|
this.canvasData.isChange = false //服务中 数据是否改动 改为false
|
|
|
|
|
this.isShowProperty = true |
|
|
|
|
this.isShowAttribute = true //属性栏展示 默认数据
|
|
|
|
|
this.isShowAttribute = true |
|
|
|
|
this.allFireElements[this.allFireElements.length-1].children = [] |
|
|
|
|
|
|
|
|
|
let beforeOneId = this.selectingSitePlan.id || '' //当前 选中 平面图 楼层/区域 id
|
|
|
|
|
let companyBuildingData = JSON.parse(JSON.stringify( this.canvasData.originalcompanyBuildingData || {} )) // 当前 单位/建筑 数据
|
|
|
|
|