|
|
|
@ -529,17 +529,6 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
} |
|
|
|
|
this.emit('backgroundScale', this.backgroundImage.scale.x); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
* @param id 图标ID |
|
|
|
|
* @param b 显示/隐藏 |
|
|
|
|
*/ |
|
|
|
|
public setIconVisible(ids: string[], b: boolean) { |
|
|
|
|
ids.forEach(item => { |
|
|
|
|
this.backgroundImage.getChildByName(item).visible = b; |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
|
* 创建确认绘制结束按钮 |
|
|
|
|
*/ |
|
|
|
@ -1178,7 +1167,17 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
}); |
|
|
|
|
this.emit('backgroundScale', this.backgroundImage.scale.x); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////通过/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
* @param id 图标ID |
|
|
|
|
* @param b 显示/隐藏 |
|
|
|
|
*/ |
|
|
|
|
public setIconVisible(ids: string[], b: boolean) { |
|
|
|
|
ids.forEach(item => { |
|
|
|
|
this.backgroundImage.getChildByName(item).visible = b; |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
////////////////////////////////////////////////////////////////////////采集平台加载逻辑///////////////////////////////////////////////////////////////////////
|
|
|
|
|
public onBasicInformationClickFloor() { |
|
|
|
|
|
|
|
|
@ -1205,20 +1204,31 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
* 考生点击楼层 |
|
|
|
|
*/ |
|
|
|
|
public onExamineeClickFloor() { |
|
|
|
|
// // 创建背景图
|
|
|
|
|
// this.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle);
|
|
|
|
|
// // 创建楼层图形
|
|
|
|
|
// this.createFloorShape(this.canvasData.examOriginaleveryStoreyData.data);
|
|
|
|
|
// // 处理共享数据中考官隐藏的数据
|
|
|
|
|
// this.processinghiddenData();
|
|
|
|
|
// // 建楼层图形
|
|
|
|
|
// this.createFloorShape(this.canvasData.originaleveryStoreyData.data);
|
|
|
|
|
// // 创建处置预案图形
|
|
|
|
|
// this.createNodeShape(this.canvasData.selectPanelPoint.Data);
|
|
|
|
|
// // 隐藏基本信息图形
|
|
|
|
|
// this.setNameVisible(false, 0);
|
|
|
|
|
// // 隐藏想定作业图形
|
|
|
|
|
// this.setNameVisible(false, 1);
|
|
|
|
|
// console.log("考生加载................................")
|
|
|
|
|
// 创建背景图
|
|
|
|
|
this.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle); |
|
|
|
|
// 创建楼层图形
|
|
|
|
|
this.createFloorShape(this.canvasData.examOriginaleveryStoreyData.data); |
|
|
|
|
// 处理共享数据中考官隐藏的数据
|
|
|
|
|
this.processinghiddenData(); |
|
|
|
|
// 建楼层图形
|
|
|
|
|
// 创建楼层图形
|
|
|
|
|
this.createFloorShape(this.canvasData.originaleveryStoreyData.data); |
|
|
|
|
// 创建处置预案图形
|
|
|
|
|
this.createNodeShape(this.canvasData.selectPanelPoint.Data); |
|
|
|
|
// 隐藏基本信息图形
|
|
|
|
|
this.setNameVisible(false, 0); |
|
|
|
|
// 隐藏想定作业图形
|
|
|
|
|
this.setNameVisible(false, 1); |
|
|
|
|
// 隐藏图标
|
|
|
|
|
this.setIconVisible(this.canvasData.hiddenBasicInfoFacilities, false); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -1228,9 +1238,13 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
// 创建背景图
|
|
|
|
|
this.createBackground(this.canvasData.selectStorey.imageUrl, this.canvasData.selectStorey.imageAngle); |
|
|
|
|
// 创建楼层图形
|
|
|
|
|
this.createFloorShape(this.canvasData.examOriginaleveryStoreyData.data); |
|
|
|
|
// 创建楼层图形
|
|
|
|
|
this.createFloorShape(this.canvasData.originaleveryStoreyData.data); |
|
|
|
|
// 创建处置预案图形
|
|
|
|
|
this.createNodeShape(this.canvasData.selectPanelPoint.Data); |
|
|
|
|
// 隐藏图标
|
|
|
|
|
this.setIconVisible(this.canvasData.hiddenBasicInfoFacilities, false); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|