|
|
|
<div class="warningbox" id="warningbox">
|
|
|
|
<div class="title">
|
|
|
|
<app-title [name]="'当日预警事件列表'"></app-title>
|
|
|
|
<div class="warningnumber">
|
|
|
|
<img src="../../../assets/images/warningnum.png" alt="">
|
|
|
|
<span class="today">今日预警</span>
|
|
|
|
<span class="num">{{totalCount}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="search">
|
|
|
|
<form nz-form [formGroup]="validateForm" class="login-form" (ngSubmit)="submitForm()">
|
|
|
|
<nz-form-item class="searchParams">
|
|
|
|
<nz-form-control>
|
|
|
|
<nz-select nzAllowClear id="level" formControlName="level" nzPlaceHolder="请选择预警级别">
|
|
|
|
<nz-option nzValue="1" nzLabel="Ⅰ级"></nz-option>
|
|
|
|
<nz-option nzValue="2" nzLabel="Ⅱ级"></nz-option>
|
|
|
|
<nz-option nzValue="3" nzLabel="Ⅲ级"></nz-option>
|
|
|
|
<nz-option nzValue="4" nzLabel="Ⅳ级"></nz-option>
|
|
|
|
</nz-select>
|
|
|
|
</nz-form-control>
|
|
|
|
</nz-form-item>
|
|
|
|
|
|
|
|
<nz-form-item class="searchParams">
|
|
|
|
<nz-form-control>
|
|
|
|
<nz-select nzAllowClear id="type" (ngModelChange)="typeChange($event)" formControlName="type"
|
|
|
|
nzPlaceHolder="请选择预警类型">
|
|
|
|
<nz-option *ngFor="let item of warningTypes" [nzValue]="item.key" [nzLabel]="item.key"></nz-option>
|
|
|
|
</nz-select>
|
|
|
|
</nz-form-control>
|
|
|
|
</nz-form-item>
|
|
|
|
|
|
|
|
<nz-form-item class="searchParams">
|
|
|
|
<nz-form-control>
|
|
|
|
<nz-select nzAllowClear formControlName="area" nzPlaceHolder="请选择区域">
|
|
|
|
<nz-option nzValue="出入口" nzLabel="出入口"></nz-option>
|
|
|
|
<nz-option nzValue="加油区" nzLabel="加油区"></nz-option>
|
|
|
|
<nz-option nzValue="油罐区" nzLabel="油罐区"></nz-option>
|
|
|
|
<nz-option nzValue="便利店" nzLabel="便利店"></nz-option>
|
|
|
|
<nz-option nzValue="办公区" nzLabel="办公区"></nz-option>
|
|
|
|
<nz-option nzValue="其他区域" nzLabel="其他区域"></nz-option>
|
|
|
|
</nz-select>
|
|
|
|
</nz-form-control>
|
|
|
|
</nz-form-item>
|
|
|
|
<nz-form-item class="searchParams">
|
|
|
|
<nz-form-control>
|
|
|
|
<nz-select nzAllowClear formControlName="disposalState" nzPlaceHolder="请选择处置状态">
|
|
|
|
<nz-option nzValue="0" nzLabel="已处置"></nz-option>
|
|
|
|
<nz-option nzValue="1" nzLabel="未处置"></nz-option>
|
|
|
|
</nz-select>
|
|
|
|
</nz-form-control>
|
|
|
|
</nz-form-item>
|
|
|
|
<nz-form-item class="searchParams">
|
|
|
|
<nz-form-control>
|
|
|
|
<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 [nzAllowEmpty]="false" nzPlaceHolder="请选择结束时间" formControlName="datePickerEnd"
|
|
|
|
nzFormat="HH:mm"></nz-time-picker>
|
|
|
|
</nz-form-control>
|
|
|
|
</nz-form-item>
|
|
|
|
|
|
|
|
<nz-form-item class="btn">
|
|
|
|
<nz-form-control>
|
|
|
|
<button nz-button type="submit" class="submit"><i nz-icon [nzType]="'search'"></i>查询</button>
|
|
|
|
</nz-form-control>
|
|
|
|
</nz-form-item>
|
|
|
|
|
|
|
|
<nz-form-item class="btn">
|
|
|
|
<nz-form-control>
|
|
|
|
<button nz-button type="button" class="reset" (click)="resetForm($event)"><i nz-icon
|
|
|
|
[nzType]="'sync'"></i>重置</button>
|
|
|
|
</nz-form-control>
|
|
|
|
</nz-form-item>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="listbox" style="text-align: center;">
|
|
|
|
<div nz-row class="listitem listitem2">
|
|
|
|
<div nz-col nzSpan="3" class="imgbox">
|
|
|
|
预警级别
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="3">
|
|
|
|
预警类型
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="4">
|
|
|
|
预警信息
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="4">
|
|
|
|
预警区域
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="3">
|
|
|
|
摄像头名称
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="3">
|
|
|
|
预警时间
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="2">
|
|
|
|
状态
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="2">
|
|
|
|
操作
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div nz-row class="listitem" *ngFor="let item of list">
|
|
|
|
<div nz-col nzSpan="3" class="imgbox">
|
|
|
|
<span *ngIf="item.violation.violationType == '卸油作业检查'">
|
|
|
|
<img src="../../../assets/images/warning2.png">
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
*ngIf="item.violation.violationType != '卸油作业检查' && item.violation.violationType != '证件临期' && item.violation.violationType != '器材临期' ">
|
|
|
|
<img src=" ../../../assets/images/warning1.png">
|
|
|
|
</span>
|
|
|
|
<span *ngIf="item.violation.violationType === '证件临期'">
|
|
|
|
<img src="../../../assets/images/warning3.png">
|
|
|
|
</span>
|
|
|
|
<span *ngIf="item.violation.violationType === '器材临期'">
|
|
|
|
<img src="../../../assets/images/warning3.png">
|
|
|
|
</span>
|
|
|
|
<span *ngIf="item.violation.level == 1">
|
|
|
|
Ⅰ级
|
|
|
|
</span>
|
|
|
|
<span *ngIf="item.violation.level == 2">
|
|
|
|
Ⅱ级
|
|
|
|
</span>
|
|
|
|
<span *ngIf="item.violation.level == 3">
|
|
|
|
Ⅲ级
|
|
|
|
</span>
|
|
|
|
<span *ngIf="item.violation.level == 4">
|
|
|
|
Ⅳ级
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="3">
|
|
|
|
{{item.violation.violationType}}
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="4">
|
|
|
|
{{item.violation.eventSystemName}}
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="4">
|
|
|
|
{{item.violateArea ? item.violateArea : '/'}}
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="3">
|
|
|
|
{{item.cameraNo ? item.cameraNo : '/'}}
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="3">
|
|
|
|
{{item.violateTime | date:"yyyy-MM-dd HH:mm:ss"}}
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="2">
|
|
|
|
<ng-container *ngIf="!item.handleTime; else elseTemplate">
|
|
|
|
未处置
|
|
|
|
</ng-container>
|
|
|
|
<ng-template #elseTemplate>
|
|
|
|
<span style="color: #23D9FF;">已处置</span>
|
|
|
|
</ng-template>
|
|
|
|
</div>
|
|
|
|
<div nz-col nzSpan="2">
|
|
|
|
<button nz-button (click)="look(item)">查看</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<nz-spin nzSimple *ngIf="isSpin"></nz-spin>
|
|
|
|
</div>
|
|
|
|
</div>
|