|
|
@ -121,7 +121,37 @@ |
|
|
|
<div *ngIf="selectedItem == item.groupName"> |
|
|
|
<div *ngIf="selectedItem == item.groupName"> |
|
|
|
<!-- <p>{{item.groupName}}</p> --> |
|
|
|
<!-- <p>{{item.groupName}}</p> --> |
|
|
|
<div class="centerBox" *ngIf="item.groupName!='单位概况'&&item.groupName!='交通水源'&&item.groupName!='重点图示'&&item.groupName!='预案附件'"> |
|
|
|
<div class="centerBox" *ngIf="item.groupName!='单位概况'&&item.groupName!='交通水源'&&item.groupName!='重点图示'&&item.groupName!='预案附件'"> |
|
|
|
<span>111</span> |
|
|
|
<div class="boxHead"> |
|
|
|
|
|
|
|
<span>{{item.groupName}}</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="boxBody" *ngFor="let element of item.attribute"> |
|
|
|
|
|
|
|
<div class="boxBodyHead"> |
|
|
|
|
|
|
|
<span>{{element.headName}}</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="body"> |
|
|
|
|
|
|
|
<!--表格类型--> |
|
|
|
|
|
|
|
<table *ngIf="element.level==1"> |
|
|
|
|
|
|
|
<thead> |
|
|
|
|
|
|
|
<th *ngFor="let itemth of element.tableth;let tablethi=index;TrackBy:trackByFn"><input type="text" |
|
|
|
|
|
|
|
placeholder="请输入内容" [(ngModel)]="element.tableth[tablethi]"></th> |
|
|
|
|
|
|
|
</thead> |
|
|
|
|
|
|
|
</table> |
|
|
|
|
|
|
|
<!--文本区域--> |
|
|
|
|
|
|
|
<textarea style="width: 100%;height: 100px;" *ngIf="element.level==3" [(ngModel)]="element.tableth"></textarea> |
|
|
|
|
|
|
|
<!--输入框--> |
|
|
|
|
|
|
|
<div class="inputtext" *ngIf="element.level==2"> |
|
|
|
|
|
|
|
<div class="inputj" style="height: 100%;width: 100%;" |
|
|
|
|
|
|
|
*ngFor="let itemth of element.tableth;let tablethi=index;TrackBy:trackByFn"> |
|
|
|
|
|
|
|
<div style="height: 100%;width: 100%;" |
|
|
|
|
|
|
|
*ngFor="let itemthj of element.tableth[tablethi];let tablethj=index;TrackBy:trackByFn"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="background-color: #E8E9E9;width: 40%;" |
|
|
|
|
|
|
|
[(ngModel)]="itemthj.head"> |
|
|
|
|
|
|
|
<input type="text" placeholder="请输入内容" style="width: 60%;" [(ngModel)]="itemthj.body"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|