|
|
|
@ -513,6 +513,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
this.processinghiddenData(); |
|
|
|
|
} |
|
|
|
|
this.createFloorShape(this.canvasData.originaleveryStoreyData.data); |
|
|
|
|
console.log(this.canvasData.selectStorey); |
|
|
|
|
this.createNodeShape(this.canvasData.selectPanelPoint.Data); |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
@ -520,7 +521,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
*/ |
|
|
|
|
public processinghiddenData() { |
|
|
|
|
for (let key in this.canvasData.originaleveryStoreyData.data){ |
|
|
|
|
if (this.canvasData.hiddenBasicInfoFacilities.indexOf(key)) { |
|
|
|
|
if (this.canvasData.hiddenBasicInfoFacilities.indexOf(key)!==-1) { |
|
|
|
|
delete this.canvasData.originaleveryStoreyData.data[key]; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -967,7 +968,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
/** |
|
|
|
|
* 刷新背景图 |
|
|
|
|
*/ |
|
|
|
|
public async refreshBackgroundImage(imageUrl:string,imageAngle:number): Promise<void> { |
|
|
|
|
public async refreshBackgroundImage(imageUrl:string = this.canvasData.selectStorey.imageUrl,imageAngle:number = this.canvasData.selectStorey.imageAngle): Promise<void> { |
|
|
|
|
if (!imageUrl) { |
|
|
|
|
this.backgroundImage.visible = false; |
|
|
|
|
} else { |
|
|
|
|