|  |  |  | 
|---|
|  |  |  | <th nz-th> | 
|---|
|  |  |  | 三级 | 
|---|
|  |  |  | </th> | 
|---|
|  |  |  | <th nz-th> | 
|---|
|  |  |  | 反向一级 | 
|---|
|  |  |  | <th nz-th [ngStyle]="{'width': '72px'}"> | 
|---|
|  |  |  | 启用反向 | 
|---|
|  |  |  | </th> | 
|---|
|  |  |  | <th nz-th> | 
|---|
|  |  |  | 反向二级 | 
|---|
|  |  |  | <span *ngIf="hasDegression">反向一级</span> | 
|---|
|  |  |  | </th> | 
|---|
|  |  |  | <th nz-th> | 
|---|
|  |  |  | 反向三级 | 
|---|
|  |  |  | <span *ngIf="hasDegression">反向二级</span> | 
|---|
|  |  |  | </th> | 
|---|
|  |  |  | <th nz-th> | 
|---|
|  |  |  | <span *ngIf="hasDegression">反向三级</span> | 
|---|
|  |  |  | </th> | 
|---|
|  |  |  | </tr> | 
|---|
|  |  |  | </thead> | 
|---|
|  |  |  | 
|---|
|  |  |  | <td nz-td [nzCheckbox]="true"> | 
|---|
|  |  |  | <label nz-checkbox formControlName="enable"></label> | 
|---|
|  |  |  | </td> | 
|---|
|  |  |  | <td> | 
|---|
|  |  |  | <td nz-td> | 
|---|
|  |  |  | <span> | 
|---|
|  |  |  | {{ row.name }}({{ row.unit }}) | 
|---|
|  |  |  | </span> | 
|---|
|  |  |  | </td> | 
|---|
|  |  |  | <td formArrayName="increment" *ngFor="let in of validateForm.get('alarmLevels.'+row.sensorKey+'.increment').controls; index as i"> | 
|---|
|  |  |  | <td nz-td formArrayName="increment" *ngFor="let in of validateForm.get('alarmLevels.'+row.sensorKey+'.increment').controls; index as i"> | 
|---|
|  |  |  | <div nz-form-item> | 
|---|
|  |  |  | <div nz-form-control nzHasFeedback> | 
|---|
|  |  |  | <nz-input [formControlName]="i" maxlength="20" nzDisabled="{{ !f.value['alarmLevels'][row.sensorKey]['enable'] }}"></nz-input> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </td> | 
|---|
|  |  |  | <td formArrayName="degression" *ngFor="let in of validateForm.get('alarmLevels.'+row.sensorKey+'.degression').controls; index as i"> | 
|---|
|  |  |  | <div nz-form-item> | 
|---|
|  |  |  | <td nz-td style="padding-top:0px;"> | 
|---|
|  |  |  | <div nz-form-control> | 
|---|
|  |  |  | <nz-switch formControlName="degressEnable" (click)="refreshHasDegression(f.value['alarmLevels'][row.sensorKey]['degressEnable'])" | 
|---|
|  |  |  | nzDisabled="{{ !f.value['alarmLevels'][row.sensorKey]['enable'] }}"></nz-switch> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </td> | 
|---|
|  |  |  | <td nz-td formArrayName="degression" *ngFor="let in of validateForm.get('alarmLevels.'+row.sensorKey+'.degression').controls; index as i"> | 
|---|
|  |  |  | <div *ngIf="f.value['alarmLevels'][row.sensorKey]['degressEnable']" nz-form-item> | 
|---|
|  |  |  | <div nz-form-control nzHasFeedback> | 
|---|
|  |  |  | <nz-input [formControlName]="i" maxlength="20" nzDisabled="{{ !f.value['alarmLevels'][row.sensorKey]['enable'] }}"></nz-input> | 
|---|
|  |  |  | </div> | 
|---|