|
|
|
@ -4,8 +4,10 @@
|
|
|
|
|
<button mat-button (click)="toggle()"> |
|
|
|
|
<mat-icon style="vertical-align: middle;">toc</mat-icon> |
|
|
|
|
</button> |
|
|
|
|
|
|
|
|
|
<span style="color: gray;margin-right: 10px;">图标大小</span> |
|
|
|
|
<button mat-button (click)="toggle2()"> |
|
|
|
|
<mat-icon style="vertical-align: middle;">list</mat-icon> |
|
|
|
|
</button> |
|
|
|
|
<span style="color: gray;margin-right: 10px;margin-left: 10px;">图标大小</span> |
|
|
|
|
<mat-form-field style="margin-top: 3px;"> |
|
|
|
|
<mat-select (selectionChange)='iconScale()' [(ngModel)]="selected"> |
|
|
|
|
<mat-option value="1">正常</mat-option> |
|
|
|
@ -14,26 +16,26 @@
|
|
|
|
|
</mat-select> |
|
|
|
|
</mat-form-field> |
|
|
|
|
<button (click)="copyAsset()" class="copytobutn" mat-button title="复制" style="margin:0 5px;" *ngIf="isEditPattern"> |
|
|
|
|
<mat-icon>library_books</mat-icon> |
|
|
|
|
<mat-icon style="padding-bottom: 7px;">library_books</mat-icon> |
|
|
|
|
</button> |
|
|
|
|
|
|
|
|
|
<button (click)="pasteAsset()" class="copytobutn" mat-button title="粘贴" *ngIf="isEditPattern"> |
|
|
|
|
<mat-icon>screen_share</mat-icon> |
|
|
|
|
<mat-icon style="padding-bottom: 7px;">screen_share</mat-icon> |
|
|
|
|
</button> |
|
|
|
|
|
|
|
|
|
<span style="margin-right:20px;user-select: none;margin-left: 12px;" class="nameShow" (click)="basicInfoClick()"> |
|
|
|
|
基本信息名称 |
|
|
|
|
<mat-icon [ngClass]="{'icongray': !basicInfo}">visibility</mat-icon> |
|
|
|
|
</span> |
|
|
|
|
<span style="user-select: none;" class="nameShow" (click)="wantToWorkClick()"> |
|
|
|
|
<!-- <span style="user-select: none;" class="nameShow" (click)="wantToWorkClick()"> |
|
|
|
|
想定作业名称 |
|
|
|
|
<mat-icon [ngClass]="{'icongray': !wantToWork}">visibility</mat-icon> |
|
|
|
|
</span> |
|
|
|
|
</span> --> |
|
|
|
|
|
|
|
|
|
<span style="position: absolute;right: 20px;cursor: pointer;"> |
|
|
|
|
<span style="position: absolute;right: 60px;cursor: pointer;"> |
|
|
|
|
<mat-icon title="查看/编辑模式" (click)="lookpat()" *ngIf="isEditPattern">tv</mat-icon> |
|
|
|
|
<mat-icon title="查看/编辑模式" (click)="editpat()" *ngIf="!isEditPattern">create</mat-icon> |
|
|
|
|
<mat-icon *ngIf="isEditPattern " style="margin-left: 8px;" title="保存" (click)="saveSite()">description</mat-icon> |
|
|
|
|
<mat-icon *ngIf="isEditPattern " style="margin-left: 12px;" title="保存" (click)="saveSite()">description</mat-icon> |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
@ -48,9 +50,9 @@
|
|
|
|
|
<span>{{item.name}}</span> |
|
|
|
|
<span class="editdeletebtn" *ngIf="isEditPattern"> |
|
|
|
|
<mat-icon (click)="editBuilding($event,item)" |
|
|
|
|
style="font-size: 16px;vertical-align:sub;margin-left: 6px;color: rgb(26, 194, 26);">create</mat-icon> |
|
|
|
|
style="font-size: 23px;vertical-align:sub;margin-left: 6px;color: rgb(26, 194, 26);">create</mat-icon> |
|
|
|
|
<mat-icon (click)="deleteBuilding($event,item)" |
|
|
|
|
style="font-size: 17px;vertical-align:sub;color: rgb(224, 51, 51);">delete</mat-icon> |
|
|
|
|
style="font-size: 23px;vertical-align:sub;color: rgb(224, 51, 51);">delete</mat-icon> |
|
|
|
|
</span> |
|
|
|
|
</button> |
|
|
|
|
<button mat-button (click)="createBuilding()" *ngIf="isEditPattern"> |
|
|
|
@ -66,7 +68,7 @@
|
|
|
|
|
<app-working-area #canvas></app-working-area> |
|
|
|
|
<!-- H5Canvas --> |
|
|
|
|
<div id="leftDiv" class='functionalDomainLeft publicCss' [ngClass]="{'togglePanel': toggleExpandPanel==true}" style="user-select: none"> |
|
|
|
|
|
|
|
|
|
<div class="leftDragDiv" (mousedown)="leftDivMouseDown($event)"></div> |
|
|
|
|
<!-- 平面图 --> |
|
|
|
|
<div class="planarGraph"> |
|
|
|
|
<div class="planarGraphHeader" (click)='togglePlanarGraph()'> |
|
|
|
@ -142,7 +144,7 @@
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div id="rightDiv" class="functionalDomainRight publicCss " style="user-select: none"> |
|
|
|
|
<div id="rightDiv" class="functionalDomainRight publicCss " [ngClass]="{'togglePanel2': toggleExpandPanelRight==true}" style="user-select: none"> |
|
|
|
|
<!-- 右侧div鼠标拖动div --> |
|
|
|
|
<div style="width: 3px;height: 100%;position: absolute;left: 0;cursor: e-resize;z-index: 1000;" (mousedown)="rightDivMouseDown($event)"></div> |
|
|
|
|
<!-- 属性 --> |
|
|
|
|