You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<div class="box">
|
|
|
|
<nz-page-header class="site-page-header" (nzBack)="goback()" nzBackIcon nzSubtitle="返回上一页"></nz-page-header>
|
|
|
|
<div class="btnbox">
|
|
|
|
<label class="leftTitle" *ngIf="markType === 1">进出口</label>
|
|
|
|
<label class="leftTitle" *ngIf="markType === 3">卸油区</label>
|
|
|
|
<label class="leftTitle" *ngIf="markType === 4">便利店</label>
|
|
|
|
<!-- <button nz-button nzType="primary">获取标注底图/更新摄像头图片</button> -->
|
|
|
|
<button nz-button *ngIf="markType === 3" [ngClass]="{selectBtn: isDrawArrow}" (click)="isDrawArrow = true;">箭头方向标绘</button>
|
|
|
|
<button nz-button *ngIf="markType === 3" [ngClass]="{selectBtn: !isDrawArrow && oilUnloadingArea}" (click)="isDrawArrow = false; oilUnloadingArea = true;">泄油管区域</button>
|
|
|
|
<button nz-button *ngIf="markType === 3" [ngClass]="{selectBtn: !isDrawArrow && !oilUnloadingArea}" (click)="isDrawArrow = false; oilUnloadingArea = false;">静电接地仪</button>
|
|
|
|
<button nz-button nzType="primary" (click)="save()">保存</button>
|
|
|
|
<button nz-button nzType="primary" nzDanger (click)="clearCanvas()">清空</button>
|
|
|
|
</div>
|
|
|
|
<div class="imgbox">
|
|
|
|
<div class="content">
|
|
|
|
<div class="center" id="canvasCenter"><canvas id="canvas" [width]="canvasWidth" [height]="canvasHeight"></canvas></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|