Browse Source

油气回收修改

dev
cpf 3 years ago
parent
commit
dd1bbcdbb7
  1. 10
      src/app/pages/left-domain/left-domain.component.html
  2. 2
      src/app/pages/left-domain/left-domain.component.ts

10
src/app/pages/left-domain/left-domain.component.html

@ -156,17 +156,23 @@
<p class="title"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().name" (click)="stopBubbling($event)"></p> <p class="title"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().name" (click)="stopBubbling($event)"></p>
<div class="table"> <div class="table">
<div class="tableHeader" style="flex: 55%;"> <div class="tableHeader" style="flex: 55%;">
<p>一次油气回收系统</p>
<p>油气回收系统类型</p> <p>油气回收系统类型</p>
<p>油气回收泵类型</p> <p>油气回收泵类型</p>
<p>油气回收处理装置</p>
<p>油气回收监测装置</p>
</div> </div>
<div class="tableContent" style="flex: 45%;"> <div class="tableContent" style="flex: 45%;">
<p [title]="item.getPropertyData().VRUType"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().VRUType" (click)="stopBubbling($event)"></p>
<p style="padding-left: 8px;" (click)="stopBubbling($event)"> <p style="padding-left: 8px;" (click)="stopBubbling($event)">
<nz-select class="tableSelect" [nzBorderless]="true" [nzDisabled]="!editMode" [(ngModel)]="item.getPropertyData().VRUType"> <nz-select class="tableSelect" [nzBorderless]="true" [nzDisabled]="!editMode" [(ngModel)]="item.getPropertyData().VRUType_2">
<nz-option nzValue="fss" nzLabel="分散式"></nz-option> <nz-option nzValue="fss" nzLabel="分散式"></nz-option>
<nz-option nzValue="jzs" nzLabel="集中式"></nz-option> <nz-option nzValue="jzs" nzLabel="集中式"></nz-option>
</nz-select> </nz-select>
</p> </p>
<p [title]="item.getPropertyData().VRUPumpType"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().VRUPumpType" (click)="stopBubbling($event)"></p> <p [title]="item.getPropertyData().VRUPumpType"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().VRUPumpType" (click)="stopBubbling($event)"></p>
<p [title]="item.getPropertyData().VRUPumpDevice"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().VRUPumpDevice" (click)="stopBubbling($event)"></p>
<p [title]="item.getPropertyData().MonitoringDevice"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().MonitoringDevice" (click)="stopBubbling($event)"></p>
</div> </div>
</div> </div>
<div class="propertyImage" id="orvrViewer{{item.getID()}}"> <div class="propertyImage" id="orvrViewer{{item.getID()}}">
@ -211,7 +217,7 @@
<p class="title"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().name" (click)="stopBubbling($event)"></p> <p class="title"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().name" (click)="stopBubbling($event)"></p>
<div class="table"> <div class="table">
<div class="tableHeader"> <div class="tableHeader">
<p class="overflowP" id="title{{item.modelInfo.key}}">描述</p> <p class="overflowP" id="title{{item.modelInfo.key}}" style="text-align: center; padding: 0;">描述</p>
</div> </div>
<div class="tableContent"> <div class="tableContent">
<p [title]="item.getPropertyData().describe" class="overflowP" id="content{{item.modelInfo.key}}"><textarea nz-input nzAutosize id="num{{item.modelInfo.key}}" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().describe" (click)="stopBubbling($event)" (input)="textInput(item)"></textarea></p> <p [title]="item.getPropertyData().describe" class="overflowP" id="content{{item.modelInfo.key}}"><textarea nz-input nzAutosize id="num{{item.modelInfo.key}}" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().describe" (click)="stopBubbling($event)" (input)="textInput(item)"></textarea></p>

2
src/app/pages/left-domain/left-domain.component.ts

@ -88,7 +88,7 @@ export class LeftDomainComponent implements OnInit {
} }
}) })
this.FacilityList = list this.FacilityList = list
console.log(this.FacilityList[0].getPropertyData(),987) console.log(this.FacilityList[0].getPropertyData())
this.selectFacilityId = null this.selectFacilityId = null
if (this.beforeFence === 1 || this.beforeFence === 2 || this.beforeFence === 8) { //加油机/油罐设备/阀门 if (this.beforeFence === 1 || this.beforeFence === 2 || this.beforeFence === 8) { //加油机/油罐设备/阀门
this.FacilityList.forEach(item => { this.FacilityList.forEach(item => {

Loading…
Cancel
Save