|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
<div class="topbox"> |
|
|
|
|
<form (ngSubmit)="onSubmit(form.value)" #form="ngForm" class="example-container"> |
|
|
|
|
<div class="mainbox"> |
|
|
|
|
<form (ngSubmit)="onSubmit(form.value)" #form="ngForm" class="example-container" > |
|
|
|
|
<div class="mainbox" > |
|
|
|
|
<div class="mainleft"> |
|
|
|
|
<div class="inputbox"> |
|
|
|
|
<div class="inputbox" > |
|
|
|
|
<span>统一社会信用代码:</span> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="creditcode" name="creditcode" type='text' |
|
|
|
@ -104,10 +104,6 @@
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
<div class="bottombox"> |
|
|
|
|
<!-- <div class="bottomtitle"> |
|
|
|
|
|
|
|
|
|
<button mat-button *ngFor="let item of houses">{{item}}</button> |
|
|
|
|
</div> --> |
|
|
|
|
<div class="houseinfobox"> |
|
|
|
|
|
|
|
|
|
<button type="button" mat-icon-button (click)="addhouseinfo()" class="addhouseinfo"><mat-icon style="font-size: 38px;">add_circle_outline</mat-icon></button> |
|
|
|
@ -128,12 +124,12 @@
|
|
|
|
|
<span>建筑类型:</span> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<mat-select name="unittype" [(ngModel)]="item.buildtype"> |
|
|
|
|
<mat-option [value]="item.name" *ngFor="let item of allunittype" (click)="templatebuildtype(item)">{{item.name}}</mat-option> |
|
|
|
|
<mat-option [value]="n.name" *ngFor="let n of allunittype" (click)="templatebuildtype(n,item)">{{n.name}}</mat-option> |
|
|
|
|
</mat-select> |
|
|
|
|
</mat-form-field> |
|
|
|
|
<span style="color: red;">*</span> |
|
|
|
|
</div> |
|
|
|
|
<h1 style="font-size: 26px;">{{item.buildingBasicGroups[0].name}}</h1> |
|
|
|
|
<h1 style="font-size: 22px;">{{item.buildingBasicGroups[0].name}}</h1> |
|
|
|
|
<div class="houseinfoinput" *ngFor="let i of item.buildingBasicGroups[0].propertyInfos;let key = index"> |
|
|
|
|
<span>{{i.propertyName}}:</span> |
|
|
|
|
<mat-form-field> |
|
|
|
@ -147,7 +143,7 @@
|
|
|
|
|
|
|
|
|
|
<!-- 石油化工 --> |
|
|
|
|
<div class="highinfo" *ngIf="item.isshiyou;let bigkey = index"> |
|
|
|
|
<h1 style="font-size: 26px;">{{item.buildingBasicGroups[0].name}}</h1> |
|
|
|
|
|
|
|
|
|
<div class="basicinfobox"> |
|
|
|
|
<div class="houseinfoinput"> |
|
|
|
|
<span>建筑名称:</span> |
|
|
|
@ -162,12 +158,12 @@
|
|
|
|
|
<span>建筑类型:</span> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<mat-select required name="unittype" [(ngModel)]="item.buildtype"> |
|
|
|
|
<mat-option [value]="item.name" *ngFor="let item of allunittype">{{item.name}}</mat-option> |
|
|
|
|
<mat-option [value]="n.name" *ngFor="let n of allunittype" (click)="templatebuildtype(n,item)">{{n.name}}</mat-option> |
|
|
|
|
</mat-select> |
|
|
|
|
</mat-form-field> |
|
|
|
|
<span style="color: red;">*</span> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<h1 style="font-size: 22px;">{{item.buildingBasicGroups[0].name}}</h1> |
|
|
|
|
<div class="houseinfoinput" *ngFor="let i of item.buildingBasicGroups[0].propertyInfos;let smkey = index"> |
|
|
|
|
<span>{{i.propertyName}}:</span> |
|
|
|
|
<mat-form-field> |
|
|
|
@ -179,37 +175,38 @@
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<h1 style="font-size: 26px;">{{item.buildingBasicGroups[1].name}}</h1> |
|
|
|
|
<h1 style="font-size: 22px;">{{item.buildingBasicGroups[1].name}}</h1> |
|
|
|
|
<div class="deviceinfo"> |
|
|
|
|
<table mat-table [dataSource]="devicedataSourcebox[item.buildingId]" class="mat-elevation-z8"> |
|
|
|
|
<ng-container matColumnDef="name"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef> |
|
|
|
|
<button type="button" mat-icon-button class="adddeviceinfo" (click)="adddeviceinfo(item)"><mat-icon>add_circle_outline</mat-icon></button> |
|
|
|
|
装置区名称</th> |
|
|
|
|
<button type="button" mat-icon-button class="adddeviceinfo2" (click)="adddeviceinfo(item)"><mat-icon>add_circle_outline</mat-icon></button> |
|
|
|
|
<button type="button" mat-icon-button class="removedeviceinfo" (click)="removedeviceinfo(item)"><mat-icon>remove_circle_outline</mat-icon></button> |
|
|
|
|
装置区名称<span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{key}}1" type='text' |
|
|
|
|
minlength="1" |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.name"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="flow"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>工艺流程</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>工艺流程<span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{key}}2" type='text' |
|
|
|
|
minlength="1" |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.flow"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="danger"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>火灾危险性</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>火灾危险性<span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{key}}3" type='text' |
|
|
|
|
minlength="1" |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.danger"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
@ -219,7 +216,7 @@
|
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{key}}4" type='text' |
|
|
|
|
minlength="1" |
|
|
|
|
|
|
|
|
|
[(ngModel)]="element.payattentionto"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
@ -230,11 +227,10 @@
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<button type="button" mat-raised-button (click)="addtankbox(item,bigkey)" style="margin-top: 30px;">添加储罐</button> |
|
|
|
|
<div class="tankinfo" *ngFor="let x of bigfor;let www = index"> |
|
|
|
|
<button type="button" mat-raised-button color="primary" (click)="addtankbox(item,bigkey)" style="margin-top: 30px;margin-right: 5px;">添加储罐</button> |
|
|
|
|
<button type="button" mat-raised-button color="warn" (click)="removetankbox(item,bigkey)" style="margin-top: 30px;" matTooltip="会将此建筑处于末尾的储罐移除">移除末尾储罐</button> |
|
|
|
|
<div class="tankinfo" *ngFor="let x of item.bigfor;let www = index"> |
|
|
|
|
<p>{{x[0].name}}</p> |
|
|
|
|
<!-- <p>储罐信息</p> --> |
|
|
|
|
<div class="basicinfobox"> |
|
|
|
|
<div class="houseinfoinput" *ngFor="let i of x[0].propertyInfos;let key = index"> |
|
|
|
|
<span>{{i.propertyName}}:</span> |
|
|
|
@ -249,36 +245,36 @@
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<p>{{x[1].name}}</p> |
|
|
|
|
<!-- <p>储罐信息/罐区情况</p> --> |
|
|
|
|
<!-- <div class="tankdetailinfo"> |
|
|
|
|
<table mat-table [dataSource]="dataSourceArr[www]" class="mat-elevation-z8" > |
|
|
|
|
<ng-container matColumnDef="tank" > |
|
|
|
|
<div class="tankdetailinfo"> |
|
|
|
|
<table #table mat-table [dataSource]="x[1].propertyInfos" class="mat-elevation-z8" > |
|
|
|
|
<ng-container matColumnDef="tank"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef> |
|
|
|
|
<button type="button" mat-icon-button class="adddeviceinfo" (click)="adddeviceinfo2(www)"><mat-icon>add_circle_outline</mat-icon></button> |
|
|
|
|
罐区</th> |
|
|
|
|
<button type="button" mat-icon-button class="adddeviceinfo" (click)="adddeviceinfo2(www,item)"><mat-icon>add_circle_outline</mat-icon></button> |
|
|
|
|
<button type="button" mat-icon-button class="removedeviceinfo" (click)="removedeviceinfo3(www,item)"><mat-icon>remove_circle_outline</mat-icon></button> |
|
|
|
|
罐区 <span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.tank}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.tank"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="tankid"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>罐区编号</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>罐区编号<span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.tankid}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.tankid"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="tankmedium"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>储存介质</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>储存介质<span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.tankmedium}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.tankmedium"> |
|
|
|
|
</mat-form-field> |
|
|
|
@ -286,40 +282,40 @@
|
|
|
|
|
</ng-container> |
|
|
|
|
|
|
|
|
|
<ng-container matColumnDef="tanktype"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>储罐类型</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>储罐类型<span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.tanktype}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.tanktype"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="tankcapacity"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>容量</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>容量<span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.tankcapacity}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.tankcapacity"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="tankdiameter"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>直径</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>直径<span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.tankdiameter}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.tankdiameter"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="tankheight"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>高度</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>高度<span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.tankheight}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.tankheight"> |
|
|
|
|
</mat-form-field> |
|
|
|
@ -328,8 +324,8 @@
|
|
|
|
|
<ng-container matColumnDef="tanktectum"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>顶盖形式</th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.tanktectum}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
[(ngModel)]="element.tanktectum"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
@ -337,8 +333,8 @@
|
|
|
|
|
<ng-container matColumnDef="tanktexture"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>浮盘材质</th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.tanktexture}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
|
|
|
|
|
[(ngModel)]="element.tanktexture"> |
|
|
|
|
</mat-form-field> |
|
|
|
@ -347,8 +343,8 @@
|
|
|
|
|
<ng-container matColumnDef="platetype"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>浮盘类型</th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.platetype}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
|
|
|
|
|
[(ngModel)]="element.platetype"> |
|
|
|
|
</mat-form-field> |
|
|
|
@ -357,8 +353,8 @@
|
|
|
|
|
<ng-container matColumnDef="foamgeneratorid"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>泡沫产生器型号</th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.foamgeneratorid}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
|
|
|
|
|
[(ngModel)]="element.foamgeneratorid"> |
|
|
|
|
</mat-form-field> |
|
|
|
@ -367,8 +363,8 @@
|
|
|
|
|
<ng-container matColumnDef="foamgeneratortype"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>泡沫产生器形式</th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.foamgeneratortype}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
|
|
|
|
|
[(ngModel)]="element.foamgeneratortype"> |
|
|
|
|
</mat-form-field> |
|
|
|
@ -377,40 +373,40 @@
|
|
|
|
|
<ng-container matColumnDef="isprotect"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>是否设置氮封惰化保护装置</th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.isprotect}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
|
|
|
|
|
[(ngModel)]="element.isprotect"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="fendinggroyneheight"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>防护堤高度</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>防护堤高度<span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.fendinggroyneheight}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.fendinggroyneheight"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="portnum"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>半固定泡沫灭火接口数量</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>半固定泡沫灭火接口数量<span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.portnum}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.portnum"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="else"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>其他设施</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef>其他设施<span style="color: red;">*</span></th> |
|
|
|
|
<td mat-cell *matCellDef="let element;let key = index"> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="floorspace" name="{{element.else}}tank{{key}}" type='text' |
|
|
|
|
<mat-form-field class="tankinfo"> |
|
|
|
|
<input matInput id="floorspace" name="{{www}}tank{{key}}" type='text' |
|
|
|
|
required |
|
|
|
|
[(ngModel)]="element.else"> |
|
|
|
|
[(ngModel)]="element.else"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
@ -419,19 +415,14 @@
|
|
|
|
|
<tr mat-header-row *matHeaderRowDef="displayedColumns2"></tr> |
|
|
|
|
<tr mat-row *matRowDef="let row; columns: displayedColumns2;"></tr> |
|
|
|
|
</table> |
|
|
|
|
</div> --> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<!-- 地铁类 --> |
|
|
|
|
<div class="highinfo" *ngIf="item.ditie"> |
|
|
|
|
<h1 class="infotitle">地铁信息</h1> |
|
|
|
|
<p>基本信息</p> |
|
|
|
|
|
|
|
|
|
<div class="subwayinfo"> |
|
|
|
|
<div class="houseinfoinput"> |
|
|
|
|
<span>建筑名称:</span> |
|
|
|
@ -446,28 +437,29 @@
|
|
|
|
|
<span>建筑类型:</span> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<mat-select required name="unittype" [(ngModel)]="item.buildtype"> |
|
|
|
|
<mat-option [value]="item.name" *ngFor="let item of allunittype">{{item.name}}</mat-option> |
|
|
|
|
<mat-option [value]="n.name" *ngFor="let n of allunittype" (click)="templatebuildtype(n,item)">{{n.name}}</mat-option> |
|
|
|
|
</mat-select> |
|
|
|
|
</mat-form-field> |
|
|
|
|
<span style="color: red;">*</span> |
|
|
|
|
</div> |
|
|
|
|
<p style="font-size: 22px;">{{item.buildingBasicGroups[0].name}}</p> |
|
|
|
|
<div class="houseinfoinput" *ngFor="let i of item.buildingBasicGroups[0].propertyInfos;let key = index"> |
|
|
|
|
<span>{{i.propertyName}}:</span> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="tunneltype" name="{{key}}" type='text' |
|
|
|
|
<input matInput id="tunneltype" name="{{i.propertyName}}" type='text' |
|
|
|
|
required="{{ i.required==true ? 'true' : 'false' }}" |
|
|
|
|
[(ngModel)]="i.propertyValue"> |
|
|
|
|
</mat-form-field> |
|
|
|
|
<span style="color: red;" *ngIf="i.required">*</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<p>基本信息/路线信息</p> |
|
|
|
|
<p style="font-size: 22px;">{{item.buildingBasicGroups[1].name}}</p> |
|
|
|
|
<!-- <button type="button" mat-raised-button (click)="addloadgroup()">增加线路分组</button> --> |
|
|
|
|
<div class="roadinfo" *ngFor="let g of ggg"> |
|
|
|
|
<div class="houseinfoinput" *ngFor="let i of item.buildingBasicGroups[1].propertyInfos;let key = index"> |
|
|
|
|
<span>{{i.propertyName}}:</span> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<input matInput id="tunneltype" name="{{key}}" type='text' |
|
|
|
|
<input matInput id="tunneltype" name="{{i.propertyName}}" type='text' |
|
|
|
|
required="{{ i.required==true ? 'true' : 'false' }}" |
|
|
|
|
[(ngModel)]="i.propertyValue"> |
|
|
|
|
</mat-form-field> |
|
|
|
|