|
|
@ -173,9 +173,8 @@ |
|
|
|
<span>建筑列表</span> |
|
|
|
<span>建筑列表</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="buildingBody"> |
|
|
|
<div class="buildingBody"> |
|
|
|
<div class="buildName" *ngFor="let item of allBuildings;let i=index" |
|
|
|
<div class="buildName" *ngFor="let item of planTemplateData[1].building;let i=index" > |
|
|
|
[ngClass]="{'selectedTr': i == clicki}" (click)='clickBuilding(item,i)'> |
|
|
|
<mat-checkbox class="example-margin" color='primary' [(ngModel)]="item.completed" (change)='clickBuilding(item,i)'></mat-checkbox> |
|
|
|
<mat-checkbox class="example-margin" color='primary'></mat-checkbox> |
|
|
|
|
|
|
|
<span>{{item.name}}</span> |
|
|
|
<span>{{item.name}}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -412,148 +411,152 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="unit" *ngIf="item.groupName == '单位概况'"> |
|
|
|
<div class="unit" *ngIf="item.groupName == '单位概况'"> |
|
|
|
<div class="titleItem"> |
|
|
|
<div *ngFor="let itemunit of planTemplateData[1].building;let uniti=index" style="border-bottom: 3px solid #999;"> |
|
|
|
<span>单位基本信息</span> |
|
|
|
<div *ngIf="itemunit.completed"> |
|
|
|
</div> |
|
|
|
<div class="unithead"> |
|
|
|
<div class="unithead"> |
|
|
|
<span>{{itemunit.name}}</span> |
|
|
|
<span>{{buildingName}}</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="unitbody" *ngFor="let element of group;let i=index"> |
|
|
|
|
|
|
|
<div *ngIf="element.completed"> |
|
|
|
|
|
|
|
<div class="unitbodyHead"> |
|
|
|
|
|
|
|
<span>{{element.surveyName}}</span> |
|
|
|
|
|
|
|
<!-- <img src="../../../assets/images/deletered.png" > --> |
|
|
|
|
|
|
|
<img src="../../../assets/images/addbai.png" (click)='unitadd(element.surveyName,1)' *ngIf="element.surveyName=='功能分区'||element.surveyName=='重点部位'"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="body"> |
|
|
|
<div class="unitbody" *ngFor="let element of itemunit.body;let elei=index"> |
|
|
|
<!-- 进攻通道 --> |
|
|
|
<div *ngIf="element.completed"> |
|
|
|
<div class="attack" *ngIf="element.surveyName=='进攻通道'"> |
|
|
|
<div class="unitbodyHead"> |
|
|
|
<div *ngFor="let attack of element.attinf;let attacki=index"> |
|
|
|
<span>{{element.surveyName}}</span> |
|
|
|
<div class="attackhead"> |
|
|
|
<!-- <img src="../../../assets/images/deletered.png" > --> |
|
|
|
<span>{{attack.head}}</span> |
|
|
|
<img src="../../../assets/images/addbai.png" (click)='unitadd(element.surveyName,uniti,1)' *ngIf="pattern == 'edit'&&(element.surveyName=='功能分区'||element.surveyName=='重点部位')"> |
|
|
|
<img src="../../../assets/images/deleteblue.png" |
|
|
|
|
|
|
|
(click)='unitDel(element.surveyName,attacki)'> |
|
|
|
|
|
|
|
<img src="../../../assets/images/add.png" |
|
|
|
|
|
|
|
(click)='unitadd(element.surveyName,attacki)'> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="attackbody"> |
|
|
|
|
|
|
|
<table> |
|
|
|
|
|
|
|
<thead> |
|
|
|
|
|
|
|
<th |
|
|
|
|
|
|
|
*ngFor="let itemth of attack.tableth;let tablethi=index;TrackBy:trackByFn"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" |
|
|
|
|
|
|
|
[(ngModel)]="attack.tableth[tablethi]"> |
|
|
|
|
|
|
|
</th> |
|
|
|
|
|
|
|
</thead> |
|
|
|
|
|
|
|
<tbody> |
|
|
|
|
|
|
|
<tr *ngFor="let itemtr of attack.tabletr"> |
|
|
|
|
|
|
|
<td |
|
|
|
|
|
|
|
*ngFor="let itemtd of itemtr.tabletd;let tabletdi=index;TrackBy:trackByFn"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入" |
|
|
|
|
|
|
|
[(ngModel)]="itemtr.tabletd[tabletdi]"> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</tbody> |
|
|
|
|
|
|
|
<tbody></tbody> |
|
|
|
|
|
|
|
</table> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="body" > |
|
|
|
|
|
|
|
<!-- 进攻通道 --> |
|
|
|
|
|
|
|
<div class="attack" *ngIf="element.surveyName=='进攻通道'"> |
|
|
|
|
|
|
|
<div *ngFor="let attack of element.attinf;let attacki=index"> |
|
|
|
|
|
|
|
<div class="attackhead"> |
|
|
|
|
|
|
|
<span>{{attack.head}}</span> |
|
|
|
|
|
|
|
<img src="../../../assets/images/deleteblue.png" *ngIf="pattern == 'edit'" |
|
|
|
|
|
|
|
(click)='unitDel(element.surveyName,uniti,attacki)'> |
|
|
|
|
|
|
|
<img src="../../../assets/images/add.png" *ngIf="pattern == 'edit'" |
|
|
|
|
|
|
|
(click)='unitadd(element.surveyName,uniti,attacki)'> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="attackbody"> |
|
|
|
|
|
|
|
<table> |
|
|
|
|
|
|
|
<thead> |
|
|
|
|
|
|
|
<th |
|
|
|
|
|
|
|
*ngFor="let itemth of attack.tableth;let tablethi=index;TrackBy:trackByFn"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" |
|
|
|
|
|
|
|
[(ngModel)]="attack.tableth[tablethi]"> |
|
|
|
|
|
|
|
</th> |
|
|
|
|
|
|
|
</thead> |
|
|
|
|
|
|
|
<tbody> |
|
|
|
|
|
|
|
<tr *ngFor="let itemtr of attack.tabletr"> |
|
|
|
|
|
|
|
<td |
|
|
|
|
|
|
|
*ngFor="let itemtd of itemtr.tabletd;let tabletdi=index;TrackBy:trackByFn"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入" |
|
|
|
|
|
|
|
[(ngModel)]="itemtr.tabletd[tabletdi]"> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</tbody> |
|
|
|
|
|
|
|
<tbody></tbody> |
|
|
|
|
|
|
|
</table> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 单位和建筑信息 --> |
|
|
|
|
|
|
|
<div class="building" *ngIf="element.surveyName=='单位基本信息'"> |
|
|
|
|
|
|
|
<div *ngFor="let info of element.attinf"> |
|
|
|
|
|
|
|
<div *ngIf="info.completed" class="onetext"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.propertyName" readonly> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="info.value"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="building" *ngIf="element.surveyName=='建筑信息'"> |
|
|
|
|
|
|
|
<div *ngFor="let info of element.attinf"> |
|
|
|
|
|
|
|
<div *ngIf="info.completed" class="onetext"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.propertyName" readonly> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="info.propertyValue"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 单位和建筑信息 --> |
|
|
|
</div> |
|
|
|
<div class="building" *ngIf="element.surveyName=='单位基本信息'"> |
|
|
|
<!-- 消防设施 --> |
|
|
|
<div *ngFor="let info of element.attinf"> |
|
|
|
<div class="file" *ngIf="element.surveyName=='消防设施'"> |
|
|
|
<div *ngIf="info.completed" class="onetext"> |
|
|
|
<div *ngFor="let attack of element.attinf;let attacki=index"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.propertyName" readonly> |
|
|
|
<div *ngIf="attack.completed"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="info.value"> |
|
|
|
<div class="fileHead"> |
|
|
|
</div> |
|
|
|
<span>{{attack.name}}</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="fileBody"> |
|
|
|
</div> |
|
|
|
<div *ngFor="let info of attack.facilityItems"> |
|
|
|
<div class="building" *ngIf="element.surveyName=='建筑信息'"> |
|
|
|
<div *ngIf="info.completed" class="onetext"> |
|
|
|
<div *ngFor="let info of element.attinf"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.name" readonly> |
|
|
|
<div *ngIf="info.completed" class="onetext"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="info.value"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.propertyName" readonly> |
|
|
|
</div> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="info.propertyValue"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 消防设施 --> |
|
|
|
|
|
|
|
<div class="file" *ngIf="element.surveyName=='消防设施'"> |
|
|
|
|
|
|
|
<div *ngFor="let attack of element.attinf;let attacki=index"> |
|
|
|
|
|
|
|
<div *ngIf="attack.completed"> |
|
|
|
|
|
|
|
<div class="fileHead"> |
|
|
|
|
|
|
|
<span>{{attack.name}}</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="fileBody"> |
|
|
|
|
|
|
|
<div *ngFor="let info of attack.facilityItems"> |
|
|
|
|
|
|
|
<div *ngIf="info.completed" class="onetext"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.name" readonly> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="info.value"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 四周毗邻 --> |
|
|
|
<!-- 四周毗邻 --> |
|
|
|
<div class="fouradj" *ngIf="element.surveyName=='四周毗邻'"> |
|
|
|
<div class="fouradj" *ngIf="element.surveyName=='四周毗邻'"> |
|
|
|
<div class="fourTexttwo" *ngFor="let info of element.attinf"> |
|
|
|
<div class="fourTexttwo" *ngFor="let info of element.attinf"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 30%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.name" readonly> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 30%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.name" readonly> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 70%;background-color: #FFFFFF;" [(ngModel)]="info.value"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 70%;background-color: #FFFFFF;" [(ngModel)]="info.value"> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 功能分区 --> |
|
|
|
|
|
|
|
<div class="fouradj" *ngIf="element.surveyName=='功能分区'"> |
|
|
|
|
|
|
|
<div class="onetext" *ngFor="let info of element.attinf;let infoi=index"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 30%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.name"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 67%;background-color: #FFFFFF;" [(ngModel)]="info.value"> |
|
|
|
|
|
|
|
<img src="../../../assets/images/deletered.png" (click)='unitDel(element.surveyName,infoi)'> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 重点部位 --> |
|
|
|
|
|
|
|
<div class="parts" *ngIf="element.surveyName=='重点部位'"> |
|
|
|
|
|
|
|
<div *ngFor="let parts of element.attinf;let infoi=index"> |
|
|
|
|
|
|
|
<div class="partsHead"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" [(ngModel)]="parts.heafName"> |
|
|
|
|
|
|
|
<img src="../../../assets/images/deletered.png" (click)='unitDel(element.surveyName,infoi)'> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="partsBody"> |
|
|
|
<!-- 功能分区 --> |
|
|
|
<div class="duohang"> |
|
|
|
<div class="fouradj" *ngIf="element.surveyName=='功能分区'"> |
|
|
|
<div class="duohangHalf"> |
|
|
|
<div class="onetext" *ngFor="let info of element.attinf;let infoi=index"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="parts.body[0].name"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 30%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.name"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[0].value"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 67%;background-color: #FFFFFF;" [(ngModel)]="info.value"> |
|
|
|
</div> |
|
|
|
<img src="../../../assets/images/deletered.png" (click)='unitDel(element.surveyName,uniti,infoi)' *ngIf="pattern == 'edit'"> |
|
|
|
<div class="duohangHalf"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;"[(ngModel)]="parts.body[1].name" > |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[1].value"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="duohang"> |
|
|
|
</div> |
|
|
|
<div class="duohangHalf"> |
|
|
|
<!-- 重点部位 --> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="parts.body[2].name"> |
|
|
|
<div class="parts" *ngIf="element.surveyName=='重点部位'"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[2].value"> |
|
|
|
<div *ngFor="let parts of element.attinf;let infoi=index"> |
|
|
|
|
|
|
|
<div class="partsHead"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" [(ngModel)]="parts.heafName"> |
|
|
|
|
|
|
|
<img src="../../../assets/images/deletered.png" (click)='unitDel(element.surveyName,uniti,infoi)' *ngIf="pattern == 'edit'"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="duohangHalf"> |
|
|
|
<div class="partsBody"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="parts.body[3].name"> |
|
|
|
<div class="duohang"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[3].value"> |
|
|
|
<div class="duohangHalf"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="parts.body[0].name"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[0].value"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="duohangHalf"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;"[(ngModel)]="parts.body[1].name" > |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[1].value"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="duohang"> |
|
|
|
|
|
|
|
<div class="duohangHalf"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="parts.body[2].name"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[2].value"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="duohangHalf"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="parts.body[3].name"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[3].value"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="danhang"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="parts.body[4].name"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[4].value"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="danhang"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="parts.body[4].name"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[4].value"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|