Browse Source

[完善]保持基本信息名称的显隐状态

develop
邵佳豪 4 years ago
parent
commit
dcf341fcf8
  1. 2
      src/app/ui/collection-tools/collection-tools.component.html
  2. 3
      src/app/ui/collection-tools/collection-tools.component.ts

2
src/app/ui/collection-tools/collection-tools.component.html

@ -23,7 +23,7 @@
<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()">
<span title="基本信息名称显示/隐藏" style="margin-right:20px;user-select: none;margin-left: 12px;" class="nameShow" (click)="basicInfoClick()">
基本信息名称
<mat-icon [ngClass]="{'icongray': !basicInfo}">visibility</mat-icon>
</span>

3
src/app/ui/collection-tools/collection-tools.component.ts

@ -816,8 +816,9 @@ export class CollectionToolsComponent implements OnInit {
//处理 tree 数据结构
handleTreeData (storeyData) {
this.canvas.setNameVisible(this.basicInfo,0)
this.storeyData = storeyData
let data = this.allFireElements //所有消防要素模板
let treeData = [] //tree型 处理完成后的数据
data.forEach(element => {

Loading…
Cancel
Save