|
|
@ -288,41 +288,83 @@ |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="centerBox" |
|
|
|
<div class="centerBox" style="width: 100%; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
overflow-y: auto;" |
|
|
|
*ngIf="item.groupName!='单位概况'&&item.groupName!='交通水源'&&item.groupName!='重点图示'&&item.groupName!='预案附件'&&item.groupName!='特别警示'&&item.groupName!='处置要点'&&item.groupName!='封面'"> |
|
|
|
*ngIf="item.groupName!='单位概况'&&item.groupName!='交通水源'&&item.groupName!='重点图示'&&item.groupName!='预案附件'&&item.groupName!='特别警示'&&item.groupName!='处置要点'&&item.groupName!='封面'"> |
|
|
|
<div class="titleItem"> |
|
|
|
<div class="titleItem" style="width: 100%; |
|
|
|
|
|
|
|
height: 36px; |
|
|
|
|
|
|
|
line-height: 36px; |
|
|
|
|
|
|
|
background-color: #2196F3; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
color: white;"> |
|
|
|
<span>{{item.groupName}}</span> |
|
|
|
<span>{{item.groupName}}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="boxBody" *ngFor="let element of item.attribute;let i=index"> |
|
|
|
<div class="boxBody" *ngFor="let element of item.attribute;let i=index" style="height: 100%; |
|
|
|
<div class="boxBodyHead"> |
|
|
|
width: 100%; |
|
|
|
<span>{{element.headName}}</span> |
|
|
|
display: flex; |
|
|
|
<img src="../../../assets/images/deleteblue.png" *ngIf="element.level==1" |
|
|
|
flex-direction: column;"> |
|
|
|
|
|
|
|
<div class="boxBodyHead" style="width: 100%; |
|
|
|
|
|
|
|
height: 40pt; |
|
|
|
|
|
|
|
background-color: #ffd91d; |
|
|
|
|
|
|
|
text-align: center;"> |
|
|
|
|
|
|
|
<span style="font-size: 16px; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
height: 40pt; |
|
|
|
|
|
|
|
line-height: 40pt; |
|
|
|
|
|
|
|
color: #b99a00;">{{element.headName}}</span> |
|
|
|
|
|
|
|
<img src="../../../assets/images/deleteblue.png" *ngIf="element.level==1&&pattern == 'edit'" |
|
|
|
(click)='delTd(key,i)'> |
|
|
|
(click)='delTd(key,i)'> |
|
|
|
<img src="../../../assets/images/add.png" *ngIf="element.level==1" |
|
|
|
<img src="../../../assets/images/add.png" *ngIf="element.level==1&&pattern == 'edit'" |
|
|
|
(click)='addTd(key,i)'> |
|
|
|
(click)='addTd(key,i)'> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="body"> |
|
|
|
<div class="body"> |
|
|
|
<!--表格类型--> |
|
|
|
<!--表格类型--> |
|
|
|
<table *ngIf="element.level==1"> |
|
|
|
<table *ngIf="element.level==1" style="width: 100%;border-collapse: collapse;"> |
|
|
|
<thead> |
|
|
|
<thead *ngIf="pattern == 'edit'"> |
|
|
|
<th *ngFor="let itemth of element.tableth;let tablethi=index;TrackBy:trackByFn"> |
|
|
|
<th *ngFor="let itemth of element.tableth;let tablethi=index;TrackBy:trackByFn" style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;"> |
|
|
|
<input type="text" placeholder="请输入内容" |
|
|
|
<input type="text" placeholder="请输入内容" |
|
|
|
[(ngModel)]="element.tableth[tablethi]" > |
|
|
|
[(ngModel)]="element.tableth[tablethi]" > |
|
|
|
</th> |
|
|
|
</th> |
|
|
|
</thead> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<thead *ngIf="pattern == 'look'"> |
|
|
|
|
|
|
|
<th *ngFor="let itemth of element.tableth;let tablethi=index;TrackBy:trackByFn" style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;" > |
|
|
|
|
|
|
|
{{element.tableth[tablethi]}} |
|
|
|
|
|
|
|
</th> |
|
|
|
|
|
|
|
</thead> |
|
|
|
|
|
|
|
<tbody *ngIf="pattern == 'edit'"> |
|
|
|
<tr *ngFor="let itemtr of element.tabletr"> |
|
|
|
<tr *ngFor="let itemtr of element.tabletr"> |
|
|
|
<td |
|
|
|
<td |
|
|
|
*ngFor="let itemtd of itemtr.tabletd;let tabletdi=index;TrackBy:trackByFn"> |
|
|
|
*ngFor="let itemtd of itemtr.tabletd;let tabletdi=index;TrackBy:trackByFn"> |
|
|
|
<input type="text" placeholder="请输入" |
|
|
|
<input type="text" placeholder="请输入" |
|
|
|
[(ngModel)]="itemtr.tabletd[tabletdi]"> |
|
|
|
[(ngModel)]="itemtr.tabletd[tabletdi]"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</tbody> |
|
|
|
|
|
|
|
<tbody *ngIf="pattern == 'look'"> |
|
|
|
|
|
|
|
<tr *ngFor="let itemtr of element.tabletr"> |
|
|
|
|
|
|
|
<td *ngFor="let itemtd of itemtr.tabletd;let tabletdi=index;TrackBy:trackByFn" style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;"> |
|
|
|
|
|
|
|
{{itemtr.tabletd[tabletdi]}} |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
</table> |
|
|
|
<!--文本区域--> |
|
|
|
<!--文本区域--> |
|
|
|
<textarea style="width: 99%;height: 100px;" *ngIf="element.level==3" |
|
|
|
<textarea style="width: 99%;height: 100px;" *ngIf="element.level==3&&pattern == 'edit'" |
|
|
|
[(ngModel)]="element.tableth"></textarea> |
|
|
|
[(ngModel)]="element.tableth"></textarea> |
|
|
|
|
|
|
|
<div style="height: 100px;width: 98%; border: 1px solid #000000;" *ngIf="element.level==3&&pattern == 'look'">{{element.tableth||''}}</div> |
|
|
|
<!--输入框--> |
|
|
|
<!--输入框--> |
|
|
|
<div class="inputtext" *ngIf="element.level==2"> |
|
|
|
<div class="inputtext" *ngIf="element.level==2"> |
|
|
|
<div class="inputj" style="height: 100%;width: 100%;" |
|
|
|
<div class="inputj" style="height: 100%;width: 100%;" |
|
|
@ -331,12 +373,25 @@ |
|
|
|
*ngFor="let itemthj of element.tableth[tablethi];let tablethj=index;TrackBy:trackByFn"> |
|
|
|
*ngFor="let itemthj of element.tableth[tablethi];let tablethj=index;TrackBy:trackByFn"> |
|
|
|
<input type="text" placeholder="请输入内容" |
|
|
|
<input type="text" placeholder="请输入内容" |
|
|
|
style="background-color: #E8E9E9;width: 40%;" |
|
|
|
style="background-color: #E8E9E9;width: 40%;" |
|
|
|
[(ngModel)]="itemthj.head"> |
|
|
|
[(ngModel)]="itemthj.head" *ngIf="pattern == 'edit'"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;" |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;" |
|
|
|
[(ngModel)]="itemthj.body"> |
|
|
|
[(ngModel)]="itemthj.body" *ngIf="pattern == 'edit'"> |
|
|
|
|
|
|
|
<table *ngIf="pattern == 'look'" style="width: 100%;border-collapse: collapse;"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{itemthj.head}}</th> |
|
|
|
|
|
|
|
<td style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{itemthj.body}}</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!--树形图--> |
|
|
|
<!--树形图--> |
|
|
|
<div style="height: 300px;width: 100%;" *ngIf="element.level==4"> |
|
|
|
<div style="height: 300px;width: 100%;" *ngIf="element.level==4"> |
|
|
|
<tree-diagram [data]="element.tableth"></tree-diagram> |
|
|
|
<tree-diagram [data]="element.tableth"></tree-diagram> |
|
|
@ -467,16 +522,37 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="unit" *ngIf="item.groupName == '单位概况'"> |
|
|
|
<div class="unit" *ngIf="item.groupName == '单位概况'" style="width: 100%; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
overflow-y: auto;"> |
|
|
|
<div *ngFor="let itemunit of planTemplateData[1].building;let uniti=index" style="border-bottom: 3px solid #999;"> |
|
|
|
<div *ngFor="let itemunit of planTemplateData[1].building;let uniti=index" style="border-bottom: 3px solid #999;"> |
|
|
|
<div *ngIf="itemunit.completed"> |
|
|
|
<div *ngIf="itemunit.completed"> |
|
|
|
<div class="unithead"> |
|
|
|
<div class="unithead" style=" height: 40px; |
|
|
|
<span>{{itemunit.name}}</span> |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
background-color: #e8f4fe;"> |
|
|
|
|
|
|
|
<span style=" margin-left: 20px; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
color: #2196f3; |
|
|
|
|
|
|
|
opacity: 1; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
line-height: 40px;">{{itemunit.name}}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="unitbody" *ngFor="let element of itemunit.body;let elei=index"> |
|
|
|
<div class="unitbody" *ngFor="let element of itemunit.body;let elei=index" style=" height: 100%; |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
flex-direction: column;"> |
|
|
|
<div *ngIf="element.completed"> |
|
|
|
<div *ngIf="element.completed"> |
|
|
|
<div class="unitbodyHead"> |
|
|
|
<div class="unitbodyHead" style="width: 100%; |
|
|
|
<span>{{element.surveyName}}</span> |
|
|
|
height: 40px; |
|
|
|
|
|
|
|
background-color: #2196f3; |
|
|
|
|
|
|
|
text-align: center;"> |
|
|
|
|
|
|
|
<span style="font-size: 16px; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
line-height: 40px; |
|
|
|
|
|
|
|
color: #ffffff;">{{element.surveyName}}</span> |
|
|
|
<!-- <img src="../../../assets/images/deletered.png" > --> |
|
|
|
<!-- <img src="../../../assets/images/deletered.png" > --> |
|
|
|
<img src="../../../assets/images/addbai.png" (click)='unitadd(element.surveyName,uniti,1)' *ngIf="pattern == 'edit'&&(element.surveyName=='功能分区'||element.surveyName=='重点部位')"> |
|
|
|
<img src="../../../assets/images/addbai.png" (click)='unitadd(element.surveyName,uniti,1)' *ngIf="pattern == 'edit'&&(element.surveyName=='功能分区'||element.surveyName=='重点部位')"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -484,23 +560,37 @@ |
|
|
|
<!-- 进攻通道 --> |
|
|
|
<!-- 进攻通道 --> |
|
|
|
<div class="attack" *ngIf="element.surveyName=='进攻通道'"> |
|
|
|
<div class="attack" *ngIf="element.surveyName=='进攻通道'"> |
|
|
|
<div *ngFor="let attack of element.attinf;let attacki=index"> |
|
|
|
<div *ngFor="let attack of element.attinf;let attacki=index"> |
|
|
|
<div class="attackhead"> |
|
|
|
<div class="attackhead" style=" width: 100%; |
|
|
|
<span>{{attack.head}}</span> |
|
|
|
height: 40px; |
|
|
|
|
|
|
|
background-color: #ffd91d; |
|
|
|
|
|
|
|
text-align: center;"> |
|
|
|
|
|
|
|
<span style="font-size: 16px; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
line-height: 40px; |
|
|
|
|
|
|
|
color: #b99a00;">{{attack.head}}</span> |
|
|
|
<img src="../../../assets/images/deleteblue.png" *ngIf="pattern == 'edit'" |
|
|
|
<img src="../../../assets/images/deleteblue.png" *ngIf="pattern == 'edit'" |
|
|
|
(click)='unitDel(element.surveyName,uniti,attacki)'> |
|
|
|
(click)='unitDel(element.surveyName,uniti,attacki)'> |
|
|
|
<img src="../../../assets/images/add.png" *ngIf="pattern == 'edit'" |
|
|
|
<img src="../../../assets/images/add.png" *ngIf="pattern == 'edit'" |
|
|
|
(click)='unitadd(element.surveyName,uniti,attacki)'> |
|
|
|
(click)='unitadd(element.surveyName,uniti,attacki)'> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="attackbody"> |
|
|
|
<div class="attackbody"> |
|
|
|
<table> |
|
|
|
<table style="width: 100%;border-collapse: collapse;"> |
|
|
|
<thead> |
|
|
|
<thead *ngIf="pattern == 'edit'"> |
|
|
|
<th |
|
|
|
<th |
|
|
|
*ngFor="let itemth of attack.tableth;let tablethi=index;TrackBy:trackByFn"> |
|
|
|
*ngFor="let itemth of attack.tableth;let tablethi=index;TrackBy:trackByFn"> |
|
|
|
<input type="text" placeholder="请输入内容" |
|
|
|
<input type="text" placeholder="请输入内容" |
|
|
|
[(ngModel)]="attack.tableth[tablethi]"> |
|
|
|
[(ngModel)]="attack.tableth[tablethi]"> |
|
|
|
</th> |
|
|
|
</th> |
|
|
|
</thead> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<thead *ngIf="pattern == 'look'"> |
|
|
|
|
|
|
|
<th style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;" |
|
|
|
|
|
|
|
*ngFor="let itemth of attack.tableth;let tablethi=index;TrackBy:trackByFn">{{attack.tableth[tablethi]}}</th> |
|
|
|
|
|
|
|
</thead> |
|
|
|
|
|
|
|
<tbody *ngIf="pattern == 'edit'"> |
|
|
|
<tr *ngFor="let itemtr of attack.tabletr"> |
|
|
|
<tr *ngFor="let itemtr of attack.tabletr"> |
|
|
|
<td |
|
|
|
<td |
|
|
|
*ngFor="let itemtd of itemtr.tabletd;let tabletdi=index;TrackBy:trackByFn"> |
|
|
|
*ngFor="let itemtd of itemtr.tabletd;let tabletdi=index;TrackBy:trackByFn"> |
|
|
@ -509,7 +599,18 @@ |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</tbody> |
|
|
|
<tbody></tbody> |
|
|
|
<tbody *ngIf="pattern == 'look'"> |
|
|
|
|
|
|
|
<tr *ngFor="let itemtr of attack.tabletr"> |
|
|
|
|
|
|
|
<td style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;" |
|
|
|
|
|
|
|
*ngFor="let itemtd of itemtr.tabletd;let tabletdi=index;TrackBy:trackByFn"> |
|
|
|
|
|
|
|
{{itemtr.tabletd[tabletdi]}} |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -520,16 +621,44 @@ |
|
|
|
<div class="building" *ngIf="element.surveyName=='单位基本信息'"> |
|
|
|
<div class="building" *ngIf="element.surveyName=='单位基本信息'"> |
|
|
|
<div *ngFor="let info of element.attinf"> |
|
|
|
<div *ngFor="let info of element.attinf"> |
|
|
|
<div *ngIf="info.completed" class="onetext"> |
|
|
|
<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: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.propertyName" readonly *ngIf="pattern == 'edit'"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="info.value"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="info.value" *ngIf="pattern == 'edit'"> |
|
|
|
|
|
|
|
<table *ngIf="pattern == 'look'" style="width: 100%;border-collapse: collapse;"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 40%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{info.propertyName}}</th> |
|
|
|
|
|
|
|
<td style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 60%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{info.value}}</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="building" *ngIf="element.surveyName=='建筑信息'"> |
|
|
|
<div class="building" *ngIf="element.surveyName=='建筑信息'"> |
|
|
|
<div *ngFor="let info of element.attinf"> |
|
|
|
<div *ngFor="let info of element.attinf"> |
|
|
|
<div *ngIf="info.completed" class="onetext"> |
|
|
|
<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: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.propertyName" readonly *ngIf="pattern == 'edit'"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="info.propertyValue"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="info.propertyValue" *ngIf="pattern == 'edit'"> |
|
|
|
|
|
|
|
<table *ngIf="pattern == 'look'" style="width: 100%;border-collapse: collapse;"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 40%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{info.propertyName}}</th> |
|
|
|
|
|
|
|
<td style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 60%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{info.propertyValue}}</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -537,14 +666,35 @@ |
|
|
|
<div class="file" *ngIf="element.surveyName=='消防设施'"> |
|
|
|
<div class="file" *ngIf="element.surveyName=='消防设施'"> |
|
|
|
<div *ngFor="let attack of element.attinf;let attacki=index"> |
|
|
|
<div *ngFor="let attack of element.attinf;let attacki=index"> |
|
|
|
<div *ngIf="attack.completed"> |
|
|
|
<div *ngIf="attack.completed"> |
|
|
|
<div class="fileHead"> |
|
|
|
<div class="fileHead" style="height: 40px; |
|
|
|
<span>{{attack.name}}</span> |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
background-color: #ffd91d; |
|
|
|
|
|
|
|
text-align: center;"> |
|
|
|
|
|
|
|
<span style="font-size: 16px; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
line-height: 40px; |
|
|
|
|
|
|
|
color: #b99a00;">{{attack.name}}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="fileBody"> |
|
|
|
<div class="fileBody"> |
|
|
|
<div *ngFor="let info of attack.facilityItems"> |
|
|
|
<div *ngFor="let info of attack.facilityItems"> |
|
|
|
<div *ngIf="info.completed" class="onetext"> |
|
|
|
<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: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.name" readonly *ngIf="pattern == 'edit'"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="info.value"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="info.value" *ngIf="pattern == 'edit'"> |
|
|
|
|
|
|
|
<table *ngIf="pattern == 'look'" style="width: 100%;border-collapse: collapse;"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 40%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{info.name}}</th> |
|
|
|
|
|
|
|
<td style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 60%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{info.value}}</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -556,50 +706,155 @@ |
|
|
|
<!-- 四周毗邻 --> |
|
|
|
<!-- 四周毗邻 --> |
|
|
|
<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 *ngIf="pattern == 'edit'"> |
|
|
|
<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" *ngIf="pattern == 'edit'"> |
|
|
|
|
|
|
|
<table *ngIf="pattern == 'look'" style="width: 100%;border-collapse: collapse;"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 30%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{info.name}}</th> |
|
|
|
|
|
|
|
<td style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 70%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{info.value}}</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 功能分区 --> |
|
|
|
<!-- 功能分区 --> |
|
|
|
<div class="fouradj" *ngIf="element.surveyName=='功能分区'"> |
|
|
|
<div class="fouradj" *ngIf="element.surveyName=='功能分区'"> |
|
|
|
<div class="onetext" *ngFor="let info of element.attinf;let infoi=index"> |
|
|
|
<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: 30%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="info.name" *ngIf="pattern == 'edit'"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 67%;background-color: #FFFFFF;" [(ngModel)]="info.value"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 67%;background-color: #FFFFFF;" [(ngModel)]="info.value" *ngIf="pattern == 'edit'"> |
|
|
|
<img src="../../../assets/images/deletered.png" (click)='unitDel(element.surveyName,uniti,infoi)' *ngIf="pattern == 'edit'"> |
|
|
|
<img src="../../../assets/images/deletered.png" (click)='unitDel(element.surveyName,uniti,infoi)' *ngIf="pattern == 'edit'"> |
|
|
|
|
|
|
|
<table *ngIf="pattern == 'look'" style="width: 100%;border-collapse: collapse;"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 30%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{info.name}}</th> |
|
|
|
|
|
|
|
<td style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 70%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{info.value}}</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 重点部位 --> |
|
|
|
<!-- 重点部位 --> |
|
|
|
<div class="parts" *ngIf="element.surveyName=='重点部位'"> |
|
|
|
<div class="parts" *ngIf="element.surveyName=='重点部位'"> |
|
|
|
<div *ngFor="let parts of element.attinf;let infoi=index"> |
|
|
|
<div *ngFor="let parts of element.attinf;let infoi=index"> |
|
|
|
<div class="partsHead"> |
|
|
|
<div class="partsHead" style="width: 100%; |
|
|
|
<input type="text" placeholder="请输入内容" [(ngModel)]="parts.heafName"> |
|
|
|
height: 40px; |
|
|
|
|
|
|
|
background-color: #ffd91d; |
|
|
|
|
|
|
|
text-align: center;"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" [(ngModel)]="parts.heafName"*ngIf="pattern == 'edit'"> |
|
|
|
|
|
|
|
<span style="font-size: 16px; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
line-height: 40px; |
|
|
|
|
|
|
|
color: #b99a00;">{{parts.heafName}}</span> |
|
|
|
<img src="../../../assets/images/deletered.png" (click)='unitDel(element.surveyName,uniti,infoi)' *ngIf="pattern == 'edit'"> |
|
|
|
<img src="../../../assets/images/deletered.png" (click)='unitDel(element.surveyName,uniti,infoi)' *ngIf="pattern == 'edit'"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="partsBody"> |
|
|
|
<div class="partsBody"> |
|
|
|
<div class="duohang"> |
|
|
|
<div class="duohang"> |
|
|
|
<div class="duohangHalf"> |
|
|
|
<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: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="parts.body[0].name" *ngIf="pattern == 'edit'"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[0].value"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[0].value" *ngIf="pattern == 'edit'"> |
|
|
|
|
|
|
|
<table *ngIf="pattern == 'look'" style="width: 100%;border-collapse: collapse;"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 40%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{parts.body[0].name}}</th> |
|
|
|
|
|
|
|
<td style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 60%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{parts.body[0].value}}</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="duohangHalf"> |
|
|
|
<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: 40%;background-color: #e8e9e9;text-align: center;"[(ngModel)]="parts.body[1].name" *ngIf="pattern == 'edit'"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[1].value"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[1].value" *ngIf="pattern == 'edit'"> |
|
|
|
|
|
|
|
<table *ngIf="pattern == 'look'" style="width: 100%;border-collapse: collapse;"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 40%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{parts.body[1].name}}</th> |
|
|
|
|
|
|
|
<td style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 60%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{parts.body[1].value}}</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="duohang"> |
|
|
|
<div class="duohang"> |
|
|
|
<div class="duohangHalf"> |
|
|
|
<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: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="parts.body[2].name" *ngIf="pattern == 'edit'"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[2].value"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[2].value" *ngIf="pattern == 'edit'"> |
|
|
|
|
|
|
|
<table *ngIf="pattern == 'look'" style="width: 100%;border-collapse: collapse;"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 40%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{parts.body[2].name}}</th> |
|
|
|
|
|
|
|
<td style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 60%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{parts.body[2].value}}</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="duohangHalf"> |
|
|
|
<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: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="parts.body[3].name" *ngIf="pattern == 'edit'"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[3].value"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[3].value" *ngIf="pattern == 'edit'"> |
|
|
|
|
|
|
|
<table *ngIf="pattern == 'look'" style="width: 100%;border-collapse: collapse;"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 40%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{parts.body[3].name}}</th> |
|
|
|
|
|
|
|
<td style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 60%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{parts.body[3].value}}</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="danhang"> |
|
|
|
<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: 40%;background-color: #e8e9e9;text-align: center;" [(ngModel)]="parts.body[4].name" *ngIf="pattern == 'edit'"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[4].value"> |
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;background-color: #FFFFFF;" [(ngModel)]="parts.body[4].value" *ngIf="pattern == 'edit'"> |
|
|
|
|
|
|
|
<table *ngIf="pattern == 'look'" style="width: 100%;border-collapse: collapse;"> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<th style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 40%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{parts.body[4].name}}</th> |
|
|
|
|
|
|
|
<td style="border: 1px solid #999; |
|
|
|
|
|
|
|
height: 40px; |
|
|
|
|
|
|
|
width: 60%; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
text-align: center;">{{parts.body[4].value}}</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|