|
|
@ -4,7 +4,7 @@ |
|
|
|
* @Author: sueRimn |
|
|
|
* @Author: sueRimn |
|
|
|
* @Date: 2021-05-19 15:50:20 |
|
|
|
* @Date: 2021-05-19 15:50:20 |
|
|
|
* @LastEditors: sueRimn |
|
|
|
* @LastEditors: sueRimn |
|
|
|
* @LastEditTime: 2021-09-04 11:13:31 |
|
|
|
* @LastEditTime: 2021-09-10 10:33:07 |
|
|
|
--> |
|
|
|
--> |
|
|
|
<div class="box"> |
|
|
|
<div class="box"> |
|
|
|
<div class="boxleft"> |
|
|
|
<div class="boxleft"> |
|
|
@ -48,20 +48,24 @@ |
|
|
|
<div class="rightbody"> |
|
|
|
<div class="rightbody"> |
|
|
|
<mat-accordion *ngFor="let item of group;let zi=index;TrackBy:trackByFn" multi> |
|
|
|
<mat-accordion *ngFor="let item of group;let zi=index;TrackBy:trackByFn" multi> |
|
|
|
<!-- 基本信息 --> |
|
|
|
<!-- 基本信息 --> |
|
|
|
<mat-expansion-panel expanded (opened)='groupPanle=true' *ngIf="item.completed" style="box-shadow: 0 0 black;border: 1px solid #EEF1F5;" [disabled]='groupPanle==true'> |
|
|
|
<mat-expansion-panel (opened)="openpan(zi)" (closed)='closepan()' *ngIf="item.completed" style="box-shadow: 0 0 black;border: 1px solid #EEF1F5;" MatAccordionTogglePosition='after'> |
|
|
|
<mat-expansion-panel-header collapsedHeight='40px' expandedHeight='40px' class="panelhead"> |
|
|
|
<mat-expansion-panel-header collapsedHeight='40px' expandedHeight='40px' class="panelhead"> |
|
|
|
<mat-panel-title class="paneltitle"> |
|
|
|
<mat-panel-title class="paneltitle"> |
|
|
|
<div style="width: 100%;height: 100%;display: flex;"> |
|
|
|
<div style="width: 100%;height: 100%;display: flex;"> |
|
|
|
<div class="groupName"> |
|
|
|
<div class="groupName"> |
|
|
|
|
|
|
|
<!-- <img src="../../../assets/images/routleft.png" *ngIf="openKey!=zi"> |
|
|
|
|
|
|
|
<img src="../../../assets/images/routdown.png" *ngIf="openKey==zi" style="position: relative;bottom: 2px;"> --> |
|
|
|
<span>{{item.groupName}}</span> |
|
|
|
<span>{{item.groupName}}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="caozuotwo"> |
|
|
|
<div class="caozuotwo"> |
|
|
|
|
|
|
|
<img src="../../../assets/images/toppaixu.png" alt="" style="height: 15px;position: relative;top: 3px;" (click)='topPai(zi)' *ngIf="zi!=0"> |
|
|
|
|
|
|
|
<img src="../../../assets/images/downpaixu.png" alt="" style="height: 15px;position: relative;top: 3px;left: 1px;" (click)='downPai(zi)'*ngIf="zi!=group.length-1"> |
|
|
|
<div *ngIf="item.groupName!='预案附件'&&item.groupName!='交通水源'&&item.groupName!='重点图示'" class="addinfo" (click)='addAttribute(item.groupName)'> |
|
|
|
<div *ngIf="item.groupName!='预案附件'&&item.groupName!='交通水源'&&item.groupName!='重点图示'" class="addinfo" (click)='addAttribute(item.groupName)'> |
|
|
|
<img src="../../../assets/images/update.png" style="height: 15px;margin-top: 4px;"> |
|
|
|
<img src="../../../assets/images/update.png" style="height: 15px;margin-top: 4px;margin-left: 5px;"> |
|
|
|
<span style="margin-left: 2px;">编辑</span> |
|
|
|
<span style="margin-left: 2px;">编辑</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="delinfo" (click)='deleteGroup(item.groupName)'> |
|
|
|
<div class="delinfo" (click)='deleteGroup(item.groupName)'> |
|
|
|
<img src="../../../assets/images/deleteblue.png" style="margin-left: 20px;height: 15px;margin-top: 4px;"> |
|
|
|
<img src="../../../assets/images/deleteblue.png" style="margin-left: 10px;height: 15px;margin-top: 4px;"> |
|
|
|
<span style="margin-left: 2px;">删除</span> |
|
|
|
<span style="margin-left: 2px;">删除</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -73,7 +77,7 @@ |
|
|
|
</mat-expansion-panel-header> |
|
|
|
</mat-expansion-panel-header> |
|
|
|
<!--单位概况--> |
|
|
|
<!--单位概况--> |
|
|
|
<div class="accordingin" *ngIf="item.groupName=='单位概况'"> |
|
|
|
<div class="accordingin" *ngIf="item.groupName=='单位概况'"> |
|
|
|
<mat-accordion *ngFor="let element of item.attribute"> |
|
|
|
<mat-accordion *ngFor="let element of item.attribute;let suri=index"> |
|
|
|
<mat-expansion-panel expanded *ngIf="element.completed" expanded style="box-shadow: 0 0 black;border: 1px solid #EEF1F5;height: 100%;" [disabled]='groupPanle==true'> |
|
|
|
<mat-expansion-panel expanded *ngIf="element.completed" expanded style="box-shadow: 0 0 black;border: 1px solid #EEF1F5;height: 100%;" [disabled]='groupPanle==true'> |
|
|
|
<mat-expansion-panel-header collapsedHeight='50px' expandedHeight='50px' class="panelhead" style="background-color: #FFFFFF;"> |
|
|
|
<mat-expansion-panel-header collapsedHeight='50px' expandedHeight='50px' class="panelhead" style="background-color: #FFFFFF;"> |
|
|
|
<mat-panel-title style="font-size: 16px;color:#000000;" class="paneltitle"> |
|
|
|
<mat-panel-title style="font-size: 16px;color:#000000;" class="paneltitle"> |
|
|
@ -85,6 +89,8 @@ |
|
|
|
<button mat-raised-button color="#ECF6FF" (click)='delAttribute(item.groupName,element.surveyName)'><img src="../../../assets/images/deletehui.png"> 删除</button> |
|
|
|
<button mat-raised-button color="#ECF6FF" (click)='delAttribute(item.groupName,element.surveyName)'><img src="../../../assets/images/deletehui.png"> 删除</button> |
|
|
|
<button mat-raised-button color="primary" style="margin-right: 10px;" (click)='addAttInfo(element.surveyName)' |
|
|
|
<button mat-raised-button color="primary" style="margin-right: 10px;" (click)='addAttInfo(element.surveyName)' |
|
|
|
*ngIf="item.groupName=='单位概况'&&(element.surveyName=='单位基本信息'||element.surveyName=='建筑信息'||element.surveyName=='进攻通道'||element.surveyName=='消防设施')"><img src="../../../assets/images/addbai.png"> 编辑</button> |
|
|
|
*ngIf="item.groupName=='单位概况'&&(element.surveyName=='单位基本信息'||element.surveyName=='建筑信息'||element.surveyName=='进攻通道'||element.surveyName=='消防设施')"><img src="../../../assets/images/addbai.png"> 编辑</button> |
|
|
|
|
|
|
|
<img src="../../../assets/images/downpaixu.png" alt="" style="height: 15px;position: relative;top: 15px;left: 1px;margin-right: 5px;float: right;" (click)='zaiDown(zi,suri)'> |
|
|
|
|
|
|
|
<img src="../../../assets/images/toppaixu.png" alt="" style="height: 15px;position: relative;top: 15px;float: right;" (click)='zaiTop(zi,suri)'> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -131,11 +137,14 @@ |
|
|
|
<th style="width: 30%;">操作</th> |
|
|
|
<th style="width: 30%;">操作</th> |
|
|
|
</thead> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tbody> |
|
|
|
<tr *ngFor="let attinf of element.attinf"> |
|
|
|
<tr *ngFor="let attinf of element.attinf;let attfi=index"> |
|
|
|
<td *ngIf="attinf.completed" style="width: 30%;">{{attinf.propertyName}}</td> |
|
|
|
<td *ngIf="attinf.completed" style="width: 30%;">{{attinf.propertyName}}</td> |
|
|
|
<td *ngIf="attinf.completed" style="width: 30%;"> |
|
|
|
<td *ngIf="attinf.completed" style="width: 30%;"> |
|
|
|
{{attinf.propertyType==0?'单行文本':attinf.propertyType==1?'多行文本':'数值'}}</td> |
|
|
|
{{attinf.propertyType==0?'单行文本':attinf.propertyType==1?'多行文本':'数值'}}</td> |
|
|
|
<td *ngIf="attinf.completed" style="width: 30%;"><span |
|
|
|
<td *ngIf="attinf.completed" style="width: 30%;cursor: pointer;"> |
|
|
|
|
|
|
|
<img src="../../../assets/images/toppaixu.png" alt="" style="height: 15px;position: relative;top: 3px;" (click)='threeTop(zi,suri,attfi)'> |
|
|
|
|
|
|
|
<img src="../../../assets/images/downpaixu.png" alt="" style="height: 15px;position: relative;top: 3px;left: 1px;margin-right: 1px;" (click)='threeDown(zi,suri,attfi)'> |
|
|
|
|
|
|
|
<span |
|
|
|
style="color: #FF5D4A;margin-left: 4px;cursor: pointer;" |
|
|
|
style="color: #FF5D4A;margin-left: 4px;cursor: pointer;" |
|
|
|
(click)='delAttInfo(item.groupName,element.surveyName,attinf.propertyName)'> 删除</span></td> |
|
|
|
(click)='delAttInfo(item.groupName,element.surveyName,attinf.propertyName)'> 删除</span></td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
@ -149,7 +158,7 @@ |
|
|
|
style="box-shadow: 0 0 black;border: 1px solid #EEF1F5;height: 100%;" |
|
|
|
style="box-shadow: 0 0 black;border: 1px solid #EEF1F5;height: 100%;" |
|
|
|
[disabled]='groupPanle==true'> |
|
|
|
[disabled]='groupPanle==true'> |
|
|
|
<mat-expansion-panel-header collapsedHeight='50px' expandedHeight='50px' class="panelhead" |
|
|
|
<mat-expansion-panel-header collapsedHeight='50px' expandedHeight='50px' class="panelhead" |
|
|
|
style="background-color: #FFD91D;"> |
|
|
|
style="background-color: #FFFBE8;"> |
|
|
|
<mat-panel-title class="paneltitle"> |
|
|
|
<mat-panel-title class="paneltitle"> |
|
|
|
<div class="dwgk"> |
|
|
|
<div class="dwgk"> |
|
|
|
<div class="attname"> |
|
|
|
<div class="attname"> |
|
|
@ -162,6 +171,9 @@ |
|
|
|
<button mat-raised-button color="primary" style="margin-right: 10px;" |
|
|
|
<button mat-raised-button color="primary" style="margin-right: 10px;" |
|
|
|
(click)='fileAdd(attinf.facilityItems,i)'><img src="../../../assets/images/addbai.png"> |
|
|
|
(click)='fileAdd(attinf.facilityItems,i)'><img src="../../../assets/images/addbai.png"> |
|
|
|
编辑</button> |
|
|
|
编辑</button> |
|
|
|
|
|
|
|
<img src="../../../assets/images/downpaixu.png" alt="" style="height: 15px;margin-right: 8px;float: right;position: relative;top: 17px;" (click)='threeDown(zi,suri,i)'> |
|
|
|
|
|
|
|
<img src="../../../assets/images/toppaixu.png" alt="" style="height: 15px;float: right;position: relative;top: 17px;" (click)='threeTop(zi,suri,i)'> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</mat-panel-title> |
|
|
|
</mat-panel-title> |
|
|
@ -180,8 +192,10 @@ |
|
|
|
<td *ngIf="facilityItems.completed!=null&&facilityItems.completed" style="width: 30%;"> |
|
|
|
<td *ngIf="facilityItems.completed!=null&&facilityItems.completed" style="width: 30%;"> |
|
|
|
文本类型</td> |
|
|
|
文本类型</td> |
|
|
|
<td *ngIf="facilityItems.completed!=null&&facilityItems.completed" style="width: 30%;"> |
|
|
|
<td *ngIf="facilityItems.completed!=null&&facilityItems.completed" style="width: 30%;"> |
|
|
|
<span style="color: #FF5D4A;margin-left: 4px;cursor: pointer;" (click)='fileDel(i,f)'> |
|
|
|
<img src="../../../assets/images/toppaixu.png" alt="" style="height: 15px;margin-right: 2px;position: relative;top: 2px;" (click)='fileTop(zi,suri,i,f)'> |
|
|
|
删除</span></td> |
|
|
|
<img src="../../../assets/images/downpaixu.png" alt="" style="height: 15px;margin-right: 5px;position: relative;top: 2px;" (click)='fileDown(zi,suri,i,f)'> |
|
|
|
|
|
|
|
<span style="color: #FF5D4A;margin-left: 4px;cursor: pointer;" (click)='fileDel(i,f)'>删除</span> |
|
|
|
|
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
</table> |
|
|
@ -207,6 +221,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="attackRight"> |
|
|
|
<div class="attackRight"> |
|
|
|
<div class="rightButton"> |
|
|
|
<div class="rightButton"> |
|
|
|
|
|
|
|
<img src="../../../assets/images/toppaixu.png" alt="" style="height: 15px;margin-right: 2px;position: relative;top: 2px;" (click)='threeTop(zi,suri,i)'> |
|
|
|
|
|
|
|
<img src="../../../assets/images/downpaixu.png" alt="" style="height: 15px;margin-right: 5px;position: relative;top: 2px;" (click)='threeDown(zi,suri,i)'> |
|
|
|
<button mat-raised-button color="primary" (click)='attackAdd(element.surveyName,i,8)'><img |
|
|
|
<button mat-raised-button color="primary" (click)='attackAdd(element.surveyName,i,8)'><img |
|
|
|
src="../../../assets/images/addbai.png"> 新增</button> |
|
|
|
src="../../../assets/images/addbai.png"> 新增</button> |
|
|
|
<button mat-raised-button color="#ECF6FF" style="margin-left: 10px;" |
|
|
|
<button mat-raised-button color="#ECF6FF" style="margin-left: 10px;" |
|
|
@ -257,6 +273,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="attackRight"> |
|
|
|
<div class="attackRight"> |
|
|
|
<div class="rightButton"> |
|
|
|
<div class="rightButton"> |
|
|
|
|
|
|
|
<img src="../../../assets/images/toppaixu.png" alt="" style="height: 15px;position: relative;top: 3px;" (click)='zaiTop(zi,attributei)'> |
|
|
|
|
|
|
|
<img src="../../../assets/images/downpaixu.png" alt="" style="height: 15px;position: relative;top: 3px;left: 1px;margin-right: 5px;" (click)='zaiDown(zi,attributei)'> |
|
|
|
<button mat-raised-button color="primary" (click)='attackAdd(item.groupName,attributei,element.level)' |
|
|
|
<button mat-raised-button color="primary" (click)='attackAdd(item.groupName,attributei,element.level)' |
|
|
|
*ngIf="element.level==1"><img src="../../../assets/images/addbai.png"> 新增</button> |
|
|
|
*ngIf="element.level==1"><img src="../../../assets/images/addbai.png"> 新增</button> |
|
|
|
<button mat-raised-button color="#ECF6FF" style="margin-left: 10px;" |
|
|
|
<button mat-raised-button color="#ECF6FF" style="margin-left: 10px;" |
|
|
@ -266,7 +284,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</mat-expansion-panel> |
|
|
|
</mat-expansion-panel> |
|
|
|
|
|
|
|
|
|
|
|
</mat-accordion> |
|
|
|
</mat-accordion> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|