|
@@ -90,7 +90,7 @@
|
|
|
</dv-border-box-13>
|
|
|
<div class="bototm-box1">
|
|
|
<dv-border-box-12>
|
|
|
- <bottom-right :weekData="weekData"/>
|
|
|
+ <bottom-right :weekData="weekData" :dashboardelecdata="dashboardelecdata"/>
|
|
|
</dv-border-box-12>
|
|
|
<div class="bototm-box2">
|
|
|
<dv-border-box-12>
|
|
@@ -135,7 +135,7 @@
|
|
|
</div>
|
|
|
<div class="body-box" v-if="dashboard === 3">
|
|
|
<div>
|
|
|
- <front-elec-three :dashboardelecdata="dashboardelecdata"></front-elec-three>
|
|
|
+ <front-elec-three :dashboardelecdata="dashboardelecdata" :dashboarddata="dashboarddata"></front-elec-three>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -218,7 +218,7 @@ export default {
|
|
|
dataDate: null,
|
|
|
dateDay: null
|
|
|
},
|
|
|
- dashboardelecdata2: null,
|
|
|
+ dashboarddata: {},
|
|
|
monthData:{
|
|
|
pageNum: 1,
|
|
|
pageSize: 20,
|
|
@@ -350,10 +350,10 @@ export default {
|
|
|
created() {
|
|
|
// 抓取实时数据
|
|
|
this.getRealtimeData();
|
|
|
- // // 每隔5秒抓取一次实时数据
|
|
|
- // window.setInterval(() => {
|
|
|
- // this.getRealtimeData();
|
|
|
- // }, 5000);
|
|
|
+ // 每隔5秒抓取一次实时数据
|
|
|
+ window.setInterval(() => {
|
|
|
+ this.getRealtimeData();
|
|
|
+ }, 5000);
|
|
|
|
|
|
// this.getList1();
|
|
|
// this.getMonthList1();
|
|
@@ -402,6 +402,20 @@ export default {
|
|
|
this.dashboardelecdata.gtg3Lv = realtimeData.gtg3PowerGenLevel;
|
|
|
this.dashboardelecdata.stg1Lv = realtimeData.stgPowerGenLevel;
|
|
|
this.dashboardelecdata.mwhLv = realtimeData.totalPowerGen;
|
|
|
+ this.dashboardelecdata.mwhWr = realtimeData.totalEfficiency;
|
|
|
+ this.dashboardelecdata.stg1Wr = realtimeData.stgEfficiency;
|
|
|
+ this.dashboardelecdata.gtg3Wr = realtimeData.gtg3Efficiency;
|
|
|
+ this.dashboardelecdata.gtg2Wr = realtimeData.gtg2Efficiency;
|
|
|
+ this.dashboardelecdata.gtg1Wr = realtimeData.gtg1Efficiency;
|
|
|
+ this.dashboardelecdata.sub = realtimeData.sub;
|
|
|
+ this.dashboardelecdata.elecPowerGen = realtimeData.elecPowerGen;
|
|
|
+ this.dashboardelecdata.elecPowerSwitch = realtimeData.elecPowerSwitch;
|
|
|
+ this.dashboardelecdata.elecUsed = realtimeData.elecUsed;
|
|
|
+ this.dashboardelecdata.gasLeft = realtimeData.gasLeft;
|
|
|
+ this.dashboardelecdata.gasElec = realtimeData.gasElec;
|
|
|
+ this.dashboardelecdata.gasSynGas = realtimeData.gasSynGas;
|
|
|
+ this.dashboardelecdata.gasU2 = realtimeData.gasU2;
|
|
|
+ this.dashboardelecdata.gasStyrene = realtimeData.gasStyrene;
|
|
|
// 第二页
|
|
|
this.dashboardelecdata.hhpPphhp = realtimeData.hhpPphhp;
|
|
|
this.dashboardelecdata.hhpAaae = realtimeData.hhpAaae;
|
|
@@ -443,13 +457,13 @@ export default {
|
|
|
this.dashboardelecdata.hrsg3SmokeConvert = realtimeData.hrsg3SmokeConvert;
|
|
|
this.dashboardelecdata.hrsg3So2Convert = realtimeData.hrsg3So2Convert;
|
|
|
this.dashboardelecdata.hrsg3NoxConvert = realtimeData.hrsg3NoxConvert;
|
|
|
- this.dashboardelecdata.rainPh = realtimeData.rainPh;
|
|
|
- this.dashboardelecdata.rainCod = realtimeData.rainCod;
|
|
|
- this.dashboardelecdata.wastePh = realtimeData.wastePh;
|
|
|
- this.dashboardelecdata.wasteCod = realtimeData.wasteCod;
|
|
|
|
|
|
- let dashboardelecdata2 = this.dashboardelecdata;
|
|
|
- this.dashboardelecdata2 = dashboardelecdata2;
|
|
|
+ this.dashboarddata.rainPh = realtimeData.rainPh;
|
|
|
+ this.dashboarddata.rainCod = realtimeData.rainCod;
|
|
|
+ this.dashboarddata.wastePh = realtimeData.wastePh;
|
|
|
+ this.dashboarddata.wasteCod = realtimeData.wasteCod;
|
|
|
+
|
|
|
+
|
|
|
});
|
|
|
},
|
|
|
/** 查询dashboarddayelec抓取数据列表 */
|