陈鹏飞 4 years ago
parent
commit
3436dec9b9
  1. 12
      src/app/ui/similar-plans/similar-plans.component.html
  2. 30
      src/app/ui/similar-plans/similar-plans.component.ts

12
src/app/ui/similar-plans/similar-plans.component.html

@ -1,3 +1,11 @@
<!--
* @Descripttion:
* @version:
* @Author: sueRimn
* @Date: 2020-10-14 16:47:17
* @LastEditors: sueRimn
* @LastEditTime: 2020-11-05 14:42:52
-->
<div style="width: 100%;height: 100%;position: relative;">
<!-- <div class="backBtn" *ngIf="isResponsePlans" (click)="back()">
返回
@ -37,8 +45,8 @@
<tbody id="shujubody" >
<tr *ngFor="let leisi of leisiYuan">
<td style="color: #FFFFFF;">{{leisi.danweiName}}</td>
<td></td>
<td></td>
<td style="color: #FFFFFF;">{{leisi.year}}</td>
<td style="color: #FFFFFF;">{{leisi.zhoahuo}}</td>
<td style="color: #FFFFFF;">{{leisi.weizhi}}</td>
<td [ngClass]="{'tdyanse56':leisi.xiangjin>=50&&leisi.xiangjin<=60,'tdyanse78':leisi.xiangjin>60,'tdyanse':leisi.xiangjin<50}">{{leisi.xiangjin}}%</td>
<td style="color: #CC5D13;cursor: pointer;" (click)="openDeatails()">查看详情</td>

30
src/app/ui/similar-plans/similar-plans.component.ts

@ -1,3 +1,11 @@
/*
* @Descripttion:
* @version:
* @Author: sueRimn
* @Date: 2020-10-14 16:47:17
* @LastEditors: sueRimn
* @LastEditTime: 2020-11-05 15:06:37
*/
import { Component, OnInit } from '@angular/core';
import { Color } from 'cesium';
import { Router } from '@angular/router';
@ -20,17 +28,17 @@ export class SimilarPlansComponent implements OnInit {
}
leisiYuan=[
{danweiName:"贵港油库",year:"XXXX年",zhoahuo:"XXX",weizhi:"3#储罐",xiangjin:parseFloat("80%")},
{danweiName:"南宁交能石化有限责任公司",year:"",zhoahuo:"XXX",weizhi:"3#储罐",xiangjin:parseFloat("75%")},
{danweiName:"广西藤县通轩立信化学有限公司",year:"",zhoahuo:"XXX",weizhi:"1#储罐",xiangjin:parseFloat("70%")},
{danweiName:"广西田东锦盛化工科技有限公司",year:"",zhoahuo:"XXXXXX",weizhi:"12#储罐",xiangjin:parseFloat("60%")},
{danweiName:"梧州市联溢化工有限公司",year:"",zhoahuo:"XXX",weizhi:"5#储罐",xiangjin:parseFloat("50%")},
{danweiName:"田东石油化工钦州港油品储运库",year:"",zhoahuo:"XXX",weizhi:"4-1#储罐",xiangjin:parseFloat("40%")},
{danweiName:"中国石油进德油库",year:"",zhoahuo:"XXX",weizhi:"3#储罐",xiangjin:parseFloat("45%")},
{danweiName:"广西华鑫化工有限公司",year:"",zhoahuo:"XXX",weizhi:"11#储罐",xiangjin:parseFloat("42%")},
{danweiName:"广西中油能源有限公司",year:"",zhoahuo:"XXX",weizhi:"6#储罐",xiangjin:parseFloat("39%")},
{danweiName:"广西钦州澄星化工科技有限公司",year:"",zhoahuo:"XXX",weizhi:"5-2#储罐",xiangjin:parseFloat("35%")},
{danweiName:"中油广西田东石油化工总厂有限公司",year:"",zhoahuo:"XXX",weizhi:"3-1#储罐",xiangjin:parseFloat("30%")}
{danweiName:"贵港油库",year:"2004-10-04",zhoahuo:"柴油",weizhi:"3#储罐",xiangjin:parseFloat("80%")},
{danweiName:"南宁交能石化有限责任公司",year:"2014-07-07",zhoahuo:"汽油",weizhi:"3#储罐",xiangjin:parseFloat("75%")},
{danweiName:"广西藤县通轩立信化学有限公司",year:"2001-03-14",zhoahuo:"石脑油",weizhi:"1#储罐",xiangjin:parseFloat("70%")},
{danweiName:"广西田东锦盛化工科技有限公司",year:"2007-08-17",zhoahuo:"液氯",weizhi:"12#储罐",xiangjin:parseFloat("60%")},
{danweiName:"梧州市联溢化工有限公司",year:"2002-03-05",zhoahuo:"次氯酸钠",weizhi:"5#储罐",xiangjin:parseFloat("50%")},
{danweiName:"田东石油化工钦州港油品储运库",year:"2005-01-18 ",zhoahuo:"柴油",weizhi:"4-1#储罐",xiangjin:parseFloat("40%")},
{danweiName:"中国石油进德油库",year:"2010-05-26",zhoahuo:"原油",weizhi:"3#储罐",xiangjin:parseFloat("45%")},
{danweiName:"广西华鑫化工有限公司",year:"2008-03-21",zhoahuo:"氯酸钠",weizhi:"11#储罐",xiangjin:parseFloat("42%")},
{danweiName:"广西中油能源有限公司",year:"2003-09-17",zhoahuo:"液化石油气",weizhi:"6#储罐",xiangjin:parseFloat("39%")},
{danweiName:"广西钦州澄星化工科技有限公司",year:"2012-10-19",zhoahuo:"磷酸",weizhi:"5-2#储罐",xiangjin:parseFloat("35%")},
{danweiName:"中油广西田东石油化工总厂有限公司",year:"2004-07-28",zhoahuo:"原油",weizhi:"3-1#储罐",xiangjin:parseFloat("30%")}
]
isResponsePlans = false //默认是否是处置预案

Loading…
Cancel
Save