Browse Source

[完善]基本信息页面的功能完善

develop
邵佳豪 5 years ago
parent
commit
8c07dcd82e
  1. 73
      package-lock.json
  2. 164
      src/app/ui/basicinfo/basicinfo.component.html
  3. 11
      src/app/ui/basicinfo/basicinfo.component.scss
  4. 1674
      src/app/ui/basicinfo/basicinfo.component.ts

73
package-lock.json generated

@ -9969,7 +9969,8 @@
"ansi-regex": {
"version": "2.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"aproba": {
"version": "1.2.0",
@ -9990,12 +9991,14 @@
"balanced-match": {
"version": "1.0.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"brace-expansion": {
"version": "1.1.11",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@ -10010,17 +10013,20 @@
"code-point-at": {
"version": "1.1.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"concat-map": {
"version": "0.0.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"console-control-strings": {
"version": "1.1.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"core-util-is": {
"version": "1.0.2",
@ -10150,6 +10156,7 @@
"version": "1.0.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
@ -10164,6 +10171,7 @@
"version": "3.0.4",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"brace-expansion": "^1.1.7"
}
@ -10171,12 +10179,14 @@
"minimist": {
"version": "0.0.8",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"minipass": {
"version": "2.9.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"safe-buffer": "^5.1.2",
"yallist": "^3.0.0"
@ -10195,6 +10205,7 @@
"version": "0.5.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"minimist": "0.0.8"
}
@ -10284,7 +10295,8 @@
"number-is-nan": {
"version": "1.0.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"object-assign": {
"version": "4.1.1",
@ -10296,6 +10308,7 @@
"version": "1.4.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"wrappy": "1"
}
@ -10381,7 +10394,8 @@
"safe-buffer": {
"version": "5.1.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"safer-buffer": {
"version": "2.1.2",
@ -10417,6 +10431,7 @@
"version": "1.0.2",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
@ -10436,6 +10451,7 @@
"version": "3.0.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
@ -10479,12 +10495,14 @@
"wrappy": {
"version": "1.0.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"yallist": {
"version": "3.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
}
}
},
@ -16897,7 +16915,8 @@
"ansi-regex": {
"version": "2.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"aproba": {
"version": "1.2.0",
@ -16925,6 +16944,7 @@
"version": "1.1.11",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@ -16939,7 +16959,8 @@
"code-point-at": {
"version": "1.1.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"concat-map": {
"version": "0.0.1",
@ -16950,7 +16971,8 @@
"console-control-strings": {
"version": "1.1.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"core-util-is": {
"version": "1.0.2",
@ -17067,7 +17089,8 @@
"inherits": {
"version": "2.0.4",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"ini": {
"version": "1.3.5",
@ -17079,6 +17102,7 @@
"version": "1.0.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
@ -17093,6 +17117,7 @@
"version": "3.0.4",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"brace-expansion": "^1.1.7"
}
@ -17100,12 +17125,14 @@
"minimist": {
"version": "0.0.8",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"minipass": {
"version": "2.9.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"safe-buffer": "^5.1.2",
"yallist": "^3.0.0"
@ -17124,6 +17151,7 @@
"version": "0.5.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"minimist": "0.0.8"
}
@ -17213,7 +17241,8 @@
"number-is-nan": {
"version": "1.0.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"object-assign": {
"version": "4.1.1",
@ -17225,6 +17254,7 @@
"version": "1.4.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"wrappy": "1"
}
@ -17310,7 +17340,8 @@
"safe-buffer": {
"version": "5.1.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"safer-buffer": {
"version": "2.1.2",
@ -17346,6 +17377,7 @@
"version": "1.0.2",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
@ -17365,6 +17397,7 @@
"version": "3.0.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
@ -17408,12 +17441,14 @@
"wrappy": {
"version": "1.0.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"yallist": {
"version": "3.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
}
}
},

164
src/app/ui/basicinfo/basicinfo.component.html

@ -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>

11
src/app/ui/basicinfo/basicinfo.component.scss

@ -178,13 +178,20 @@
}
.roadinfo{
border-bottom: 1px solid black;;
// border-bottom: 1px solid black;
}
.deviceinfo{
border-bottom: 1px solid black;;
padding-bottom: 70px;
}
.tankdetailinfo{
border-bottom: 1px solid black;;
// border-bottom: 1px solid black;;
padding-bottom: 35px;
}
.tankinfo{
width: 98px;
}
.adddeviceinfo{
position: absolute;
left: 0px;
}

1674
src/app/ui/basicinfo/basicinfo.component.ts

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save