|
|
|
@ -19,7 +19,7 @@
|
|
|
|
|
<td>单位名称</td> |
|
|
|
|
<td>总分</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr *ngFor="let item of unitId"> |
|
|
|
|
<tr *ngFor="let item of unitId;let key = index" (click)="clickUnitName(key)" [ngClass]="{'selectedLi': key == selectedUnitIndex}"> |
|
|
|
|
<td>{{item.name}}</td> |
|
|
|
|
<td class="colorspan">{{item.score}}</td> |
|
|
|
|
</tr> |
|
|
|
@ -37,221 +37,224 @@
|
|
|
|
|
</div> |
|
|
|
|
<div class="maincontantbox"> |
|
|
|
|
<div class="basicinfodiv" *ngIf="selectedTab == 1"> |
|
|
|
|
<div *ngFor="let unit of unitId;let key = index" style="margin-bottom: 30px;"> |
|
|
|
|
<!-- 选择的单位名称 --> |
|
|
|
|
<p class="colorspan" style="margin: 0 0 12px 6px;">{{unit.name}}</p> |
|
|
|
|
<!-- 基本信息 --> |
|
|
|
|
<mat-accordion> |
|
|
|
|
<mat-expansion-panel style="box-shadow: 0 0 black;" expanded> |
|
|
|
|
<mat-expansion-panel-header collapsedHeight ='40px' expandedHeight='40px' style="position: relative;padding-left:20px;background: #F5FDFE;"> |
|
|
|
|
<mat-panel-title> |
|
|
|
|
基本信息 |
|
|
|
|
<!-- <span class="colorspan" style="margin-left: 20px;">{{unit.basicInfoScore ? unit.basicInfoScore : 0}}分</span> --> |
|
|
|
|
<span style="margin-left: 20px;"> |
|
|
|
|
总分值: <input class="scoreInput" type="number" (click)="stopPropagation($event)" |
|
|
|
|
[(ngModel)]="unit.basicInfoScore" (input)="sumScore('基本信息',key)"> 分, |
|
|
|
|
单项 |
|
|
|
|
<span style="color: #FF8678;"> |
|
|
|
|
{{unit.basicInfoItemScore ? unit.basicInfoItemScore : 0}} |
|
|
|
|
</span>分 |
|
|
|
|
</span> |
|
|
|
|
</mat-panel-title> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
|
|
|
|
|
<div style="box-sizing: border-box;padding: 10px;"> |
|
|
|
|
<nz-tree |
|
|
|
|
[nzData]="unit.basicInfoNodes" |
|
|
|
|
nzCheckable |
|
|
|
|
nzMultiple |
|
|
|
|
[nzCheckedKeys]="defaultCheckedKeys" |
|
|
|
|
[nzExpandedKeys]="defaultExpandedKeys" |
|
|
|
|
[nzSelectedKeys]="defaultSelectedKeys" |
|
|
|
|
(nzClick)="nzEvent($event,key)" |
|
|
|
|
(nzExpandChange)="nzEvent($event,key)" |
|
|
|
|
(nzCheckBoxChange)="nzEvent($event,key)" |
|
|
|
|
[nzTreeTemplate]="nzTreeTemplate" |
|
|
|
|
> |
|
|
|
|
</nz-tree> |
|
|
|
|
<ng-template #nzTreeTemplate let-node let-origin="origin"> |
|
|
|
|
<div class="treeNodeTemplate"> |
|
|
|
|
<label class="overflowText textNode">{{node.origin.name}}</label> |
|
|
|
|
<div class="scoreDiv" *ngIf="node.level == '0'"> |
|
|
|
|
<span class="colorspan lookitem" (click)="lookTreeNode(node)">查看</span> |
|
|
|
|
<div *ngFor="let unit of unitId;let key = index"> |
|
|
|
|
<div [hidden]="!(key == selectedUnitIndex)"> |
|
|
|
|
<!-- 选择的单位名称 --> |
|
|
|
|
<p class="colorspan" style="margin: 0 0 12px 6px;">{{unit.name}}</p> |
|
|
|
|
<!-- 基本信息 --> |
|
|
|
|
<mat-accordion> |
|
|
|
|
<mat-expansion-panel style="box-shadow: 0 0 black;" expanded> |
|
|
|
|
<mat-expansion-panel-header collapsedHeight ='40px' expandedHeight='40px' style="position: relative;padding-left:20px;background: #F5FDFE;"> |
|
|
|
|
<mat-panel-title> |
|
|
|
|
基本信息 |
|
|
|
|
<!-- <span class="colorspan" style="margin-left: 20px;">{{unit.basicInfoScore ? unit.basicInfoScore : 0}}分</span> --> |
|
|
|
|
<span style="margin-left: 20px;"> |
|
|
|
|
总分值: <input class="scoreInput" type="number" (click)="stopPropagation($event)" |
|
|
|
|
[(ngModel)]="unit.basicInfoScore" (input)="sumScore('基本信息',key)"> 分, |
|
|
|
|
单项 |
|
|
|
|
<span style="color: #FF8678;"> |
|
|
|
|
{{unit.basicInfoItemScore ? unit.basicInfoItemScore : 0}} |
|
|
|
|
</span>分 |
|
|
|
|
</span> |
|
|
|
|
</mat-panel-title> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
|
|
|
|
|
<div style="box-sizing: border-box;padding: 10px;"> |
|
|
|
|
<nz-tree |
|
|
|
|
[nzData]="unit.basicInfoNodes" |
|
|
|
|
nzCheckable |
|
|
|
|
nzMultiple |
|
|
|
|
[nzCheckedKeys]="defaultCheckedKeys" |
|
|
|
|
[nzExpandedKeys]="defaultExpandedKeys" |
|
|
|
|
[nzSelectedKeys]="defaultSelectedKeys" |
|
|
|
|
(nzClick)="nzEvent($event,key)" |
|
|
|
|
(nzExpandChange)="nzEvent($event,key)" |
|
|
|
|
(nzCheckBoxChange)="nzEvent($event,key)" |
|
|
|
|
[nzTreeTemplate]="nzTreeTemplate" |
|
|
|
|
> |
|
|
|
|
</nz-tree> |
|
|
|
|
<ng-template #nzTreeTemplate let-node let-origin="origin"> |
|
|
|
|
<div class="treeNodeTemplate"> |
|
|
|
|
<label class="overflowText textNode">{{node.origin.name}}</label> |
|
|
|
|
<div class="scoreDiv" *ngIf="node.level == '0'"> |
|
|
|
|
<span class="colorspan lookitem" (click)="lookTreeNode(node)">查看</span> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</ng-template> |
|
|
|
|
</div> |
|
|
|
|
</mat-expansion-panel> |
|
|
|
|
</mat-accordion> |
|
|
|
|
<!-- 四周毗邻 --> |
|
|
|
|
<mat-accordion *ngIf="unit.aroundNodes.length != 0"> |
|
|
|
|
<mat-expansion-panel style="box-shadow: 0 0 black;" expanded> |
|
|
|
|
<mat-expansion-panel-header collapsedHeight ='40px' expandedHeight='40px' style="position: relative;padding-left:20px;background: #F5FDFE;"> |
|
|
|
|
<mat-panel-title> |
|
|
|
|
四周毗邻 |
|
|
|
|
<span style="margin-left: 20px;"> |
|
|
|
|
总分值: <input class="scoreInput" type="number" (click)="stopPropagation($event)" |
|
|
|
|
[(ngModel)]="unit.aroundScore" (input)="sumScore('四周毗邻',key)"> 分, |
|
|
|
|
单项 <span style="color: #FF8678;"> |
|
|
|
|
{{unit.aroundItemScore ? unit.aroundItemScore : 0}} |
|
|
|
|
</span> 分 |
|
|
|
|
</span> |
|
|
|
|
</mat-panel-title> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
|
|
|
|
|
<div style="box-sizing: border-box;padding: 10px;"> |
|
|
|
|
<nz-tree |
|
|
|
|
[nzData]="unit.aroundNodes" |
|
|
|
|
nzCheckable |
|
|
|
|
nzMultiple |
|
|
|
|
[nzCheckedKeys]="defaultCheckedKeys" |
|
|
|
|
[nzExpandedKeys]="defaultExpandedKeys" |
|
|
|
|
[nzSelectedKeys]="defaultSelectedKeys" |
|
|
|
|
(nzClick)="nzEvent($event,key)" |
|
|
|
|
(nzExpandChange)="nzEvent($event,key)" |
|
|
|
|
(nzCheckBoxChange)="nzEvent($event,key)" |
|
|
|
|
[nzTreeTemplate]="nzTreeTemplate" |
|
|
|
|
> |
|
|
|
|
</nz-tree> |
|
|
|
|
<ng-template #nzTreeTemplate let-node let-origin="origin"> |
|
|
|
|
<div class="treeNodeTemplate"> |
|
|
|
|
<label class="overflowText textNode">{{node.origin.title ? node.origin.title : node.origin.name}}</label> |
|
|
|
|
<div class="scoreDiv" *ngIf="node.level == '0'"> |
|
|
|
|
<span class="colorspan lookitem" (click)="lookTreeNode(node)">查看</span> |
|
|
|
|
</ng-template> |
|
|
|
|
</div> |
|
|
|
|
</mat-expansion-panel> |
|
|
|
|
</mat-accordion> |
|
|
|
|
<!-- 四周毗邻 --> |
|
|
|
|
<mat-accordion *ngIf="unit.aroundNodes.length != 0"> |
|
|
|
|
<mat-expansion-panel style="box-shadow: 0 0 black;" expanded> |
|
|
|
|
<mat-expansion-panel-header collapsedHeight ='40px' expandedHeight='40px' style="position: relative;padding-left:20px;background: #F5FDFE;"> |
|
|
|
|
<mat-panel-title> |
|
|
|
|
四周毗邻 |
|
|
|
|
<span style="margin-left: 20px;"> |
|
|
|
|
总分值: <input class="scoreInput" type="number" (click)="stopPropagation($event)" |
|
|
|
|
[(ngModel)]="unit.aroundScore" (input)="sumScore('四周毗邻',key)"> 分, |
|
|
|
|
单项 <span style="color: #FF8678;"> |
|
|
|
|
{{unit.aroundItemScore ? unit.aroundItemScore : 0}} |
|
|
|
|
</span> 分 |
|
|
|
|
</span> |
|
|
|
|
</mat-panel-title> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
|
|
|
|
|
<div style="box-sizing: border-box;padding: 10px;"> |
|
|
|
|
<nz-tree |
|
|
|
|
[nzData]="unit.aroundNodes" |
|
|
|
|
nzCheckable |
|
|
|
|
nzMultiple |
|
|
|
|
[nzCheckedKeys]="defaultCheckedKeys" |
|
|
|
|
[nzExpandedKeys]="defaultExpandedKeys" |
|
|
|
|
[nzSelectedKeys]="defaultSelectedKeys" |
|
|
|
|
(nzClick)="nzEvent($event,key)" |
|
|
|
|
(nzExpandChange)="nzEvent($event,key)" |
|
|
|
|
(nzCheckBoxChange)="nzEvent($event,key)" |
|
|
|
|
[nzTreeTemplate]="nzTreeTemplate" |
|
|
|
|
> |
|
|
|
|
</nz-tree> |
|
|
|
|
<ng-template #nzTreeTemplate let-node let-origin="origin"> |
|
|
|
|
<div class="treeNodeTemplate"> |
|
|
|
|
<label class="overflowText textNode">{{node.origin.title ? node.origin.title : node.origin.name}}</label> |
|
|
|
|
<div class="scoreDiv" *ngIf="node.level == '0'"> |
|
|
|
|
<span class="colorspan lookitem" (click)="lookTreeNode(node)">查看</span> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</ng-template> |
|
|
|
|
</div> |
|
|
|
|
</mat-expansion-panel> |
|
|
|
|
</mat-accordion> |
|
|
|
|
<!-- 重点部位 --> |
|
|
|
|
<mat-accordion *ngIf="unit.keySiteNodes.length != 0"> |
|
|
|
|
<mat-expansion-panel style="box-shadow: 0 0 black;" expanded> |
|
|
|
|
<mat-expansion-panel-header collapsedHeight ='40px' expandedHeight='40px' style="position: relative;padding-left:20px;background: #F5FDFE;"> |
|
|
|
|
<mat-panel-title> |
|
|
|
|
重点部位 |
|
|
|
|
<span style="margin-left: 20px;"> |
|
|
|
|
总分值: <input class="scoreInput" type="number" (click)="stopPropagation($event)" |
|
|
|
|
[(ngModel)]="unit.keySiteScore" (input)="sumScore('重点部位',key)"> 分, |
|
|
|
|
单项 <span style="color: #FF8678;"> |
|
|
|
|
{{unit.keySiteItemScore ? unit.keySiteItemScore : 0}} |
|
|
|
|
</span> 分 |
|
|
|
|
</span> |
|
|
|
|
</mat-panel-title> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
|
|
|
|
|
<div style="box-sizing: border-box;padding: 10px;"> |
|
|
|
|
<nz-tree |
|
|
|
|
[nzData]="unit.keySiteNodes" |
|
|
|
|
nzCheckable |
|
|
|
|
nzMultiple |
|
|
|
|
[nzCheckedKeys]="defaultCheckedKeys" |
|
|
|
|
[nzExpandedKeys]="defaultExpandedKeys" |
|
|
|
|
[nzSelectedKeys]="defaultSelectedKeys" |
|
|
|
|
(nzClick)="nzEvent($event,key)" |
|
|
|
|
(nzExpandChange)="nzEvent($event,key)" |
|
|
|
|
(nzCheckBoxChange)="nzEvent($event,key)" |
|
|
|
|
[nzTreeTemplate]="nzTreeTemplate" |
|
|
|
|
> |
|
|
|
|
</nz-tree> |
|
|
|
|
<ng-template #nzTreeTemplate let-node let-origin="origin"> |
|
|
|
|
<div class="treeNodeTemplate"> |
|
|
|
|
<label class="overflowText textNode">{{node.origin.title ? node.origin.title : node.origin.name}}</label> |
|
|
|
|
<div class="scoreDiv" *ngIf="node.level == '0'"> |
|
|
|
|
<span class="colorspan lookitem" (click)="lookTreeNode(node)">查看</span> |
|
|
|
|
</ng-template> |
|
|
|
|
</div> |
|
|
|
|
</mat-expansion-panel> |
|
|
|
|
</mat-accordion> |
|
|
|
|
<!-- 重点部位 --> |
|
|
|
|
<mat-accordion *ngIf="unit.keySiteNodes.length != 0"> |
|
|
|
|
<mat-expansion-panel style="box-shadow: 0 0 black;" expanded> |
|
|
|
|
<mat-expansion-panel-header collapsedHeight ='40px' expandedHeight='40px' style="position: relative;padding-left:20px;background: #F5FDFE;"> |
|
|
|
|
<mat-panel-title> |
|
|
|
|
重点部位 |
|
|
|
|
<span style="margin-left: 20px;"> |
|
|
|
|
总分值: <input class="scoreInput" type="number" (click)="stopPropagation($event)" |
|
|
|
|
[(ngModel)]="unit.keySiteScore" (input)="sumScore('重点部位',key)"> 分, |
|
|
|
|
单项 <span style="color: #FF8678;"> |
|
|
|
|
{{unit.keySiteItemScore ? unit.keySiteItemScore : 0}} |
|
|
|
|
</span> 分 |
|
|
|
|
</span> |
|
|
|
|
</mat-panel-title> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
|
|
|
|
|
<div style="box-sizing: border-box;padding: 10px;"> |
|
|
|
|
<nz-tree |
|
|
|
|
[nzData]="unit.keySiteNodes" |
|
|
|
|
nzCheckable |
|
|
|
|
nzMultiple |
|
|
|
|
[nzCheckedKeys]="defaultCheckedKeys" |
|
|
|
|
[nzExpandedKeys]="defaultExpandedKeys" |
|
|
|
|
[nzSelectedKeys]="defaultSelectedKeys" |
|
|
|
|
(nzClick)="nzEvent($event,key)" |
|
|
|
|
(nzExpandChange)="nzEvent($event,key)" |
|
|
|
|
(nzCheckBoxChange)="nzEvent($event,key)" |
|
|
|
|
[nzTreeTemplate]="nzTreeTemplate" |
|
|
|
|
> |
|
|
|
|
</nz-tree> |
|
|
|
|
<ng-template #nzTreeTemplate let-node let-origin="origin"> |
|
|
|
|
<div class="treeNodeTemplate"> |
|
|
|
|
<label class="overflowText textNode">{{node.origin.title ? node.origin.title : node.origin.name}}</label> |
|
|
|
|
<div class="scoreDiv" *ngIf="node.level == '0'"> |
|
|
|
|
<span class="colorspan lookitem" (click)="lookTreeNode(node)">查看</span> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</ng-template> |
|
|
|
|
</div> |
|
|
|
|
</mat-expansion-panel> |
|
|
|
|
</mat-accordion> |
|
|
|
|
<!-- 功能分区 --> |
|
|
|
|
<mat-accordion *ngIf="unit.funDivNodes.length != 0"> |
|
|
|
|
<mat-expansion-panel style="box-shadow: 0 0 black;" expanded> |
|
|
|
|
<mat-expansion-panel-header collapsedHeight ='40px' expandedHeight='40px' style="position: relative;padding-left:20px;background: #F5FDFE;"> |
|
|
|
|
<mat-panel-title> |
|
|
|
|
功能分区 |
|
|
|
|
<span style="margin-left: 20px;"> |
|
|
|
|
总分值: <input class="scoreInput" type="number" (click)="stopPropagation($event)" |
|
|
|
|
[(ngModel)]="unit.funDivScore" (input)="sumScore('功能分区',key)"> 分, |
|
|
|
|
单项 <span style="color: #FF8678;"> |
|
|
|
|
{{unit.funDivItemScore ? unit.funDivItemScore : 0}} |
|
|
|
|
</span> 分 |
|
|
|
|
</span> |
|
|
|
|
</mat-panel-title> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
|
|
|
|
|
<div style="box-sizing: border-box;padding: 10px;"> |
|
|
|
|
<nz-tree |
|
|
|
|
[nzData]="unit.funDivNodes" |
|
|
|
|
nzCheckable |
|
|
|
|
nzMultiple |
|
|
|
|
[nzCheckedKeys]="defaultCheckedKeys" |
|
|
|
|
[nzExpandedKeys]="defaultExpandedKeys" |
|
|
|
|
[nzSelectedKeys]="defaultSelectedKeys" |
|
|
|
|
(nzClick)="nzEvent($event,key)" |
|
|
|
|
(nzExpandChange)="nzEvent($event,key)" |
|
|
|
|
(nzCheckBoxChange)="nzEvent($event,key)" |
|
|
|
|
[nzTreeTemplate]="nzTreeTemplate" |
|
|
|
|
> |
|
|
|
|
</nz-tree> |
|
|
|
|
<ng-template #nzTreeTemplate let-node let-origin="origin"> |
|
|
|
|
<div class="treeNodeTemplate"> |
|
|
|
|
<label class="overflowText textNode">{{node.origin.region ? node.origin.region : node.origin.name}}</label> |
|
|
|
|
<div class="scoreDiv" *ngIf="node.level == '0'"> |
|
|
|
|
<span class="colorspan lookitem" (click)="lookTreeNode(node)">查看</span> |
|
|
|
|
</ng-template> |
|
|
|
|
</div> |
|
|
|
|
</mat-expansion-panel> |
|
|
|
|
</mat-accordion> |
|
|
|
|
<!-- 功能分区 --> |
|
|
|
|
<mat-accordion *ngIf="unit.funDivNodes.length != 0"> |
|
|
|
|
<mat-expansion-panel style="box-shadow: 0 0 black;" expanded> |
|
|
|
|
<mat-expansion-panel-header collapsedHeight ='40px' expandedHeight='40px' style="position: relative;padding-left:20px;background: #F5FDFE;"> |
|
|
|
|
<mat-panel-title> |
|
|
|
|
功能分区 |
|
|
|
|
<span style="margin-left: 20px;"> |
|
|
|
|
总分值: <input class="scoreInput" type="number" (click)="stopPropagation($event)" |
|
|
|
|
[(ngModel)]="unit.funDivScore" (input)="sumScore('功能分区',key)"> 分, |
|
|
|
|
单项 <span style="color: #FF8678;"> |
|
|
|
|
{{unit.funDivItemScore ? unit.funDivItemScore : 0}} |
|
|
|
|
</span> 分 |
|
|
|
|
</span> |
|
|
|
|
</mat-panel-title> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
|
|
|
|
|
<div style="box-sizing: border-box;padding: 10px;"> |
|
|
|
|
<nz-tree |
|
|
|
|
[nzData]="unit.funDivNodes" |
|
|
|
|
nzCheckable |
|
|
|
|
nzMultiple |
|
|
|
|
[nzCheckedKeys]="defaultCheckedKeys" |
|
|
|
|
[nzExpandedKeys]="defaultExpandedKeys" |
|
|
|
|
[nzSelectedKeys]="defaultSelectedKeys" |
|
|
|
|
(nzClick)="nzEvent($event,key)" |
|
|
|
|
(nzExpandChange)="nzEvent($event,key)" |
|
|
|
|
(nzCheckBoxChange)="nzEvent($event,key)" |
|
|
|
|
[nzTreeTemplate]="nzTreeTemplate" |
|
|
|
|
> |
|
|
|
|
</nz-tree> |
|
|
|
|
<ng-template #nzTreeTemplate let-node let-origin="origin"> |
|
|
|
|
<div class="treeNodeTemplate"> |
|
|
|
|
<label class="overflowText textNode">{{node.origin.region ? node.origin.region : node.origin.name}}</label> |
|
|
|
|
<div class="scoreDiv" *ngIf="node.level == '0'"> |
|
|
|
|
<span class="colorspan lookitem" (click)="lookTreeNode(node)">查看</span> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</ng-template> |
|
|
|
|
</div> |
|
|
|
|
</mat-expansion-panel> |
|
|
|
|
</mat-accordion> |
|
|
|
|
<!-- 数据核验(消防设施) --> |
|
|
|
|
<mat-accordion *ngIf="unit.fireFacNodes .length != 0"> |
|
|
|
|
<mat-expansion-panel style="box-shadow: 0 0 black;" expanded> |
|
|
|
|
<mat-expansion-panel-header collapsedHeight ='40px' expandedHeight='40px' style="position: relative;padding-left:20px;background: #F5FDFE;"> |
|
|
|
|
<mat-panel-title> |
|
|
|
|
数据核验 |
|
|
|
|
<span style="margin-left: 20px;"> |
|
|
|
|
总分值: <input class="scoreInput" type="number" (click)="stopPropagation($event)" |
|
|
|
|
[(ngModel)]="unit.fireFacScore " (input)="sumScore('数据核验',key)"> 分, |
|
|
|
|
单项 <span style="color: #FF8678;"> |
|
|
|
|
{{unit.fireFacItemScore ? unit.fireFacItemScore : 0}} |
|
|
|
|
</span> 分 |
|
|
|
|
</span> |
|
|
|
|
</mat-panel-title> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
|
|
|
|
|
<div style="box-sizing: border-box;padding: 10px;"> |
|
|
|
|
<nz-tree |
|
|
|
|
[nzData]="unit.fireFacNodes" |
|
|
|
|
nzCheckable |
|
|
|
|
nzMultiple |
|
|
|
|
[nzCheckedKeys]="defaultCheckedKeys" |
|
|
|
|
[nzExpandedKeys]="defaultExpandedKeys" |
|
|
|
|
[nzSelectedKeys]="defaultSelectedKeys" |
|
|
|
|
(nzClick)="nzEvent($event,key)" |
|
|
|
|
(nzExpandChange)="nzEvent($event,key)" |
|
|
|
|
(nzCheckBoxChange)="nzEvent($event,key)" |
|
|
|
|
[nzTreeTemplate]="nzTreeTemplate" |
|
|
|
|
> |
|
|
|
|
</nz-tree> |
|
|
|
|
<ng-template #nzTreeTemplate let-node let-origin="origin"> |
|
|
|
|
<div class="treeNodeTemplate"> |
|
|
|
|
<label class="overflowText textNode">{{node.origin.name}}</label> |
|
|
|
|
<div class="scoreDiv" *ngIf="node.level == '0'"> |
|
|
|
|
<span class="colorspan lookitem" (click)="lookTreeNode(node)">查看</span> |
|
|
|
|
</ng-template> |
|
|
|
|
</div> |
|
|
|
|
</mat-expansion-panel> |
|
|
|
|
</mat-accordion> |
|
|
|
|
<!-- 数据核验(消防设施) --> |
|
|
|
|
<mat-accordion *ngIf="unit.fireFacNodes .length != 0"> |
|
|
|
|
<mat-expansion-panel style="box-shadow: 0 0 black;" expanded> |
|
|
|
|
<mat-expansion-panel-header collapsedHeight ='40px' expandedHeight='40px' style="position: relative;padding-left:20px;background: #F5FDFE;"> |
|
|
|
|
<mat-panel-title> |
|
|
|
|
数据核验 |
|
|
|
|
<span style="margin-left: 20px;"> |
|
|
|
|
总分值: <input class="scoreInput" type="number" (click)="stopPropagation($event)" |
|
|
|
|
[(ngModel)]="unit.fireFacScore " (input)="sumScore('数据核验',key)"> 分, |
|
|
|
|
单项 <span style="color: #FF8678;"> |
|
|
|
|
{{unit.fireFacItemScore ? unit.fireFacItemScore : 0}} |
|
|
|
|
</span> 分 |
|
|
|
|
</span> |
|
|
|
|
</mat-panel-title> |
|
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
|
|
|
|
|
<div style="box-sizing: border-box;padding: 10px;"> |
|
|
|
|
<nz-tree |
|
|
|
|
[nzData]="unit.fireFacNodes" |
|
|
|
|
nzCheckable |
|
|
|
|
nzMultiple |
|
|
|
|
[nzCheckedKeys]="defaultCheckedKeys" |
|
|
|
|
[nzExpandedKeys]="defaultExpandedKeys" |
|
|
|
|
[nzSelectedKeys]="defaultSelectedKeys" |
|
|
|
|
(nzClick)="nzEvent($event,key)" |
|
|
|
|
(nzExpandChange)="nzEvent($event,key)" |
|
|
|
|
(nzCheckBoxChange)="nzEvent($event,key)" |
|
|
|
|
[nzTreeTemplate]="nzTreeTemplate" |
|
|
|
|
> |
|
|
|
|
</nz-tree> |
|
|
|
|
<ng-template #nzTreeTemplate let-node let-origin="origin"> |
|
|
|
|
<div class="treeNodeTemplate"> |
|
|
|
|
<label class="overflowText textNode">{{node.origin.name}}</label> |
|
|
|
|
<div class="scoreDiv" *ngIf="node.level == '0'"> |
|
|
|
|
<span class="colorspan lookitem" (click)="lookTreeNode(node)">查看</span> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</ng-template> |
|
|
|
|
</div> |
|
|
|
|
</mat-expansion-panel> |
|
|
|
|
</mat-accordion> |
|
|
|
|
</ng-template> |
|
|
|
|
</div> |
|
|
|
|
</mat-expansion-panel> |
|
|
|
|
</mat-accordion> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="fightdeploydiv" *ngIf="selectedTab == 2"> |
|
|
|
@ -290,7 +293,7 @@
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="btnbox"> |
|
|
|
|
<div class="btn"> |
|
|
|
|
<div class="btn" (click)="goBack()"> |
|
|
|
|
上一步 |
|
|
|
|
</div> |
|
|
|
|
<div class="btn" (click)="finishClick()"> |
|
|
|
|