|
|
|
@ -16,15 +16,57 @@
|
|
|
|
|
<img (click)="isEchartsShow()" class="packup" src="../../../assets/images/packup.png" alt=""> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="search" [hidden]="!isEcharts"> |
|
|
|
|
<div class="chartsbox" [hidden]="!isEcharts"> |
|
|
|
|
<div class="chart"> |
|
|
|
|
<div class="leftbox" style="position: relative;"> |
|
|
|
|
<span class="chartname"> |
|
|
|
|
<img src="../../../assets/images/flower.png" alt=""> |
|
|
|
|
预警类别统计 |
|
|
|
|
</span> |
|
|
|
|
<div class="centerContent"> |
|
|
|
|
<div class="numname">预警事件总数</div> |
|
|
|
|
<div class="num">{{num}}</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="piechart" id="piechart"> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
<nz-spin *ngIf="chartsSpin" nzSimple class="nzspin"></nz-spin> |
|
|
|
|
</div> |
|
|
|
|
<div class="rightbox" style="position: relative;"> |
|
|
|
|
<span class="chartname"> |
|
|
|
|
<img src="../../../assets/images/flower.png" alt=""> |
|
|
|
|
近一个月预警统计 |
|
|
|
|
</span> |
|
|
|
|
<div class="btnbox"> |
|
|
|
|
<div class="btn" (click)="echartClick('分布')" [ngClass]="{'selectedbtn': selectedType == '分布'}">统计</div> |
|
|
|
|
<div class="rankingBtnbox" (mouseenter)="mouseEnter()" (mouseleave)="mouseleave()"> |
|
|
|
|
<div class="btn" |
|
|
|
|
[ngClass]="{'selectedbtn': (selectedRankingType == '站点排名' || selectedRankingType == '事件排名')}">排名</div> |
|
|
|
|
<div class="btn rankingBtn" *ngIf="isMouseEnter" (click)="echartClick2('站点排名')" |
|
|
|
|
[ngClass]="{'selectedbtn': selectedRankingType == '站点排名'}">油站</div> |
|
|
|
|
<div class="btn rankingBtn" *ngIf="isMouseEnter" (click)="echartClick2('事件排名')" |
|
|
|
|
[ngClass]="{'selectedbtn': selectedRankingType == '事件排名'}">事件</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="barchart" id="barchart"> |
|
|
|
|
</div> |
|
|
|
|
<nz-spin *ngIf="chartsSpin" nzSimple class="nzspin"></nz-spin> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="title"> |
|
|
|
|
<app-title [name]="'预警类型统计'"></app-title> |
|
|
|
|
</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 (ngModelChange)="levelChange($event)" nzAllowClear id="level" formControlName="level" |
|
|
|
|
nzPlaceHolder="请选择预警级别"> |
|
|
|
|
<nz-option *ngFor="let item of warningLevels" [nzValue]="item.key" |
|
|
|
|
[nzLabel]="item.key == 1 ? 'Ⅰ级' : item.key == 2 ? 'Ⅱ级' : item.key == 3 ? 'Ⅲ级' : item.key == 4 ? 'Ⅳ级' : null"> |
|
|
|
|
</nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
@ -55,17 +97,19 @@
|
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item class="searchParams"> |
|
|
|
|
<nz-form-item class="searchParamsZ eventInput"> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-select nzAllowClear formControlName="event" nzPlaceHolder="请选择预警事件"> |
|
|
|
|
<nz-select [nzMaxTagCount]="1" nzMode="multitagsple" nzAllowClear formControlName="event" |
|
|
|
|
nzPlaceHolder="请选择预警事件"> |
|
|
|
|
<nz-option *ngFor="let item of warningTypesDetails" [nzValue]="item.id" [nzLabel]="item.eventSystemName"> |
|
|
|
|
</nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item class="searchParams"> |
|
|
|
|
<nz-form-item class="searchParamsS eventInput"> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-select nzAllowClear id="site" formControlName="site" nzPlaceHolder="请选择区域"> |
|
|
|
|
<nz-select [nzMaxTagCount]="1" nzMode="multitagsple" nzAllowClear id="site" formControlName="site" |
|
|
|
|
nzPlaceHolder="请选择区域"> |
|
|
|
|
<nz-option nzValue="出入口" nzLabel="出入口"></nz-option> |
|
|
|
|
<nz-option nzValue="加油区" nzLabel="加油区"></nz-option> |
|
|
|
|
<nz-option nzValue="油罐区" nzLabel="油罐区"></nz-option> |
|
|
|
@ -89,11 +133,6 @@
|
|
|
|
|
<br /> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<!-- <nz-form-item> |
|
|
|
|
<nz-form-control class="searchParams"> |
|
|
|
|
<label style="color: #91CCFF;" nz-checkbox formControlName="misinformation">是否显示误报预警</label> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> --> |
|
|
|
|
<nz-form-item class="searchParams" [hidden]="!isMisinformation"> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-select nzAllowClear formControlName="misinformation" nzPlaceHolder="是否显示标记"> |
|
|
|
@ -116,57 +155,15 @@
|
|
|
|
|
</nz-form-item> |
|
|
|
|
</form> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="chartsbox" [hidden]="!isEcharts"> |
|
|
|
|
<div class="chart"> |
|
|
|
|
<div class="leftbox" style="position: relative;"> |
|
|
|
|
<span class="chartname"> |
|
|
|
|
<img src="../../../assets/images/flower.png" alt=""> |
|
|
|
|
预警类别统计 |
|
|
|
|
</span> |
|
|
|
|
<div class="centerContent"> |
|
|
|
|
<div class="numname">预警事件总数</div> |
|
|
|
|
<div class="num">{{num}}</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="piechart" id="piechart"> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
<nz-spin *ngIf="chartsSpin" nzSimple class="nzspin"></nz-spin> |
|
|
|
|
</div> |
|
|
|
|
<div class="rightbox" style="position: relative;"> |
|
|
|
|
<span class="chartname"> |
|
|
|
|
<img src="../../../assets/images/flower.png" alt=""> |
|
|
|
|
近一个月预警统计 |
|
|
|
|
</span> |
|
|
|
|
<div class="btnbox"> |
|
|
|
|
<div class="btn" (click)="echartClick('分布')" [ngClass]="{'selectedbtn': selectedType == '分布'}">统计</div> |
|
|
|
|
<div class="rankingBtnbox" (mouseenter)="mouseEnter()" (mouseleave)="mouseleave()"> |
|
|
|
|
<div class="btn" |
|
|
|
|
[ngClass]="{'selectedbtn': (selectedRankingType == '站点排名' || selectedRankingType == '事件排名')}">排名</div> |
|
|
|
|
<div class="btn rankingBtn" *ngIf="isMouseEnter" (click)="echartClick2('站点排名')" |
|
|
|
|
[ngClass]="{'selectedbtn': selectedRankingType == '站点排名'}">油站</div> |
|
|
|
|
<div class="btn rankingBtn" *ngIf="isMouseEnter" (click)="echartClick2('事件排名')" |
|
|
|
|
[ngClass]="{'selectedbtn': selectedRankingType == '事件排名'}">事件</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="barchart" id="barchart"> |
|
|
|
|
</div> |
|
|
|
|
<nz-spin *ngIf="chartsSpin" nzSimple class="nzspin"></nz-spin> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="title"> |
|
|
|
|
<app-title [name]="'预警类型统计'"></app-title> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="tablebox"> |
|
|
|
|
<div class="table"> |
|
|
|
|
<div nz-row class="th"> |
|
|
|
|
<div nz-col nzSpan="1" style="text-align: center;"> |
|
|
|
|
<span>序号</span> |
|
|
|
|
</div> |
|
|
|
|
<div nz-col nzSpan="2" style="text-align: center;"> |
|
|
|
|
<div nz-col nzSpan="2" style="text-align: center;white-space:nowrap; |
|
|
|
|
overflow:hidden; |
|
|
|
|
text-overflow:ellipsis;"> |
|
|
|
|
<span style="margin-right:46px;"> |
|
|
|
|
预警级别 |
|
|
|
|
</span> |
|
|
|
|