Browse Source

取消建筑数据注释

develop
徐振升 4 years ago
parent
commit
36eda8e325
  1. 2
      src/app/canvas-share-data.service.ts
  2. 5
      src/app/working-area/working-area.component.ts

2
src/app/canvas-share-data.service.ts

@ -16,7 +16,7 @@ export class CanvasShareDataService {
// 总平面图/建筑 楼层
selectStorey: any = {area: '', details: ''}; // 选择当前 楼层 数据
// originalcompanyBuildingData: any; // 单位/建筑 数据
originalcompanyBuildingData: any; // 单位/建筑 数据
originaleveryStoreyData: any; // 总平面图/楼层/区域 楼层数据
// 总平面图/建筑 楼层

5
src/app/working-area/working-area.component.ts

@ -1129,7 +1129,10 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
private enterPaint(): void {
this.previewLineSegment.visible = false;
this.enterPaintEndButton.visible = false;
console.log(this.paintMode);
switch (this.paintMode) {
case PaintMode.singlePointIcon:
break;
case PaintMode.lineIcon:
if (this.paintPoints.length >= 2) {
this.emit('createIcon', this.paintingIcon);
@ -1172,10 +1175,10 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
const polygonIcon = new PolygonIcon(assetData, this);
this.emit('createIcon', polygonIcon);
}
break;
case PaintMode.Pipeline:
if (this.canvasData.selectTemplateData.name !== '水带') {
this.emit('createIcon', this.paintingShape);
console.log("1");
this.paintingShape = null;
}
break;

Loading…
Cancel
Save