|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
<form nz-form [formGroup]="validateForm" class="login-form" (ngSubmit)="submitForm()"> |
|
|
|
|
<nz-form-item class="searchParams"> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-select id="level" formControlName="level" nzPlaceHolder="请选择级别"> |
|
|
|
|
<nz-select id="level" nzAllowClear formControlName="level" nzPlaceHolder="请选择级别"> |
|
|
|
|
<nz-option nzValue="1" nzLabel="一级"></nz-option> |
|
|
|
|
<nz-option nzValue="2" nzLabel="二级"></nz-option> |
|
|
|
|
<nz-option nzValue="3" nzLabel="三级"></nz-option> |
|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
|
|
|
|
|
<nz-form-item class="searchParams searchParamsLong"> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-tree-select [nzDropdownClassName]="'maxHeightTreeSelect'" nzShowSearch [(ngModel)]="defaultOrId" |
|
|
|
|
<nz-tree-select [nzAllowClear]="false" [nzDropdownClassName]="'maxHeightTreeSelect'" nzShowSearch [(ngModel)]="defaultOrId" |
|
|
|
|
formControlName="organization" [nzNodes]="nodes" nzPlaceHolder="请选择所属机构"> |
|
|
|
|
</nz-tree-select> |
|
|
|
|
</nz-form-control> |
|
|
|
@ -30,7 +30,7 @@
|
|
|
|
|
|
|
|
|
|
<nz-form-item class="searchParams"> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-select formControlName="type" (ngModelChange)="typeChange($event)" nzPlaceHolder="请选择预警类型"> |
|
|
|
|
<nz-select nzAllowClear formControlName="type" (ngModelChange)="typeChange($event)" nzPlaceHolder="请选择预警类型"> |
|
|
|
|
<nz-option *ngFor="let item of warningTypes" [nzValue]="item.key" [nzLabel]="item.key"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
|
|
|
|
|
<nz-form-item class="searchParams"> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-select formControlName="event" nzPlaceHolder="请选择预警事件"> |
|
|
|
|
<nz-select nzAllowClear formControlName="event" nzPlaceHolder="请选择预警事件"> |
|
|
|
|
<nz-option *ngFor="let item of warningTypesDetails" [nzValue]="item.id" [nzLabel]="item.eventSystemName"> |
|
|
|
|
</nz-option> |
|
|
|
|
</nz-select> |
|
|
|
@ -47,7 +47,7 @@
|
|
|
|
|
|
|
|
|
|
<nz-form-item class="searchParams"> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-select id="area" formControlName="area" nzPlaceHolder="请选择区域"> |
|
|
|
|
<nz-select nzAllowClear id="area" formControlName="area" nzPlaceHolder="请选择区域"> |
|
|
|
|
<nz-option nzValue="出入口" nzLabel="出入口"></nz-option> |
|
|
|
|
<nz-option nzValue="加油区" nzLabel="加油区"></nz-option> |
|
|
|
|
<nz-option nzValue="油罐区" nzLabel="油罐区"></nz-option> |
|
|
|
@ -61,7 +61,7 @@
|
|
|
|
|
|
|
|
|
|
<nz-form-item class="searchParams"> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-select formControlName="disposalState" nzPlaceHolder="请选择处置状态"> |
|
|
|
|
<nz-select nzAllowClear formControlName="disposalState" nzPlaceHolder="请选择处置状态"> |
|
|
|
|
<nz-option nzValue="0" nzLabel="已处置"></nz-option> |
|
|
|
|
<nz-option nzValue="1" nzLabel="未处置"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
@ -69,13 +69,13 @@
|
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item class="searchParams"> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-time-picker nzPlaceHolder="请选择开始时间" formControlName="datePickerStart" nzFormat="HH:mm"></nz-time-picker> |
|
|
|
|
<nz-time-picker [nzAllowEmpty]="false" nzPlaceHolder="请选择开始时间" formControlName="datePickerStart" nzFormat="HH:mm"></nz-time-picker> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<i style="display: flex;align-items: center;color: #fff;" nz-icon nzType="swap-right" nzTheme="outline"></i> |
|
|
|
|
<nz-form-item class="searchParams"> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-time-picker nzPlaceHolder="请选择结束时间" formControlName="datePickerEnd" nzFormat="HH:mm"></nz-time-picker> |
|
|
|
|
<nz-time-picker [nzAllowEmpty]="false" nzPlaceHolder="请选择结束时间" formControlName="datePickerEnd" nzFormat="HH:mm"></nz-time-picker> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
|
|