|
@@ -6,7 +6,7 @@
|
|
|
<div class="contentBox" style="height: 300px">
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName size5">装机容量</div>
|
|
|
- <div class="itemNum">{{ items.zjrl }}</div>
|
|
|
+ <div class="itemNum">{{ little.zjrl }}</div>
|
|
|
<div class="itemUnit">MW</div>
|
|
|
<div class="itemName size6">安全天数</div>
|
|
|
<div class="itemNum">{{ items.aqts }}</div>
|
|
@@ -17,24 +17,24 @@
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName size5">日发电量</div>
|
|
|
- <div class="itemNum">{{ items.rfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.rfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName size6">年利用小时</div>
|
|
|
- <div class="itemNum">{{ items.nlyxs }}</div>
|
|
|
+ <div class="itemNum">{{ little.nlyxs }}</div>
|
|
|
<div class="itemUnit">小时</div>
|
|
|
<div class="itemName size5">年发电量</div>
|
|
|
- <div class="itemNum">{{ items.nfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.nfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName size5">上网电量</div>
|
|
|
- <div class="itemNum">{{ items.swdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.swdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName size6">月利用小时</div>
|
|
|
- <div class="itemNum">{{ items.ylyxs }}</div>
|
|
|
+ <div class="itemNum">{{ little.ylyxs }}</div>
|
|
|
<div class="itemUnit">小时</div>
|
|
|
<div class="itemName size5">月发电量</div>
|
|
|
- <div class="itemNum">{{ items.yfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.yfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
@@ -88,46 +88,46 @@
|
|
|
<div class="contentBox">
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">装机容量</div>
|
|
|
- <div class="itemNum">{{ items.fdzjrl }}</div>
|
|
|
+ <div class="itemNum">{{ little.fczjrl }}</div>
|
|
|
<div class="itemUnit">MW</div>
|
|
|
<div class="itemName">实时风速</div>
|
|
|
<div class="itemNum">{{ items.fdssfs }}</div>
|
|
|
<div class="itemUnit">m/s</div>
|
|
|
<div class="itemName">月发电量</div>
|
|
|
- <div class="itemNum">{{ items.fdyfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.fcyfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">年发电量</div>
|
|
|
- <div class="itemNum">{{ items.fdnfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.fcnfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">日发电量</div>
|
|
|
- <div class="itemNum">{{ items.fdrfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.fcrfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">实时功率</div>
|
|
|
<div class="itemNum">{{ items.fdssgl }}</div>
|
|
|
<div class="itemUnit">MW</div>
|
|
|
<div class="itemName">利用小时</div>
|
|
|
- <div class="itemNum">{{ items.fdylyxs }}</div>
|
|
|
+ <div class="itemNum">{{ little.fcylyxs }}</div>
|
|
|
<div class="itemUnit">小时(月)</div>
|
|
|
<div class="itemName">利用小时</div>
|
|
|
- <div class="itemNum">{{ items.fdnlyxs }}</div>
|
|
|
+ <div class="itemNum">{{ little.fcnlyxs }}</div>
|
|
|
<div class="itemUnit">小时(年)</div>
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">上网电量</div>
|
|
|
- <div class="itemNum">{{ items.fdswdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.fcswdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">总欠发</div>
|
|
|
- <div class="itemNum">{{ items.fdzqf }}</div>
|
|
|
+ <div class="itemNum">{{ mine.fdzqf }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">牛发电量</div>
|
|
|
- <div class="itemNum">{{ items.nssfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.nssfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">牛欠发</div>
|
|
|
- <div class="itemNum">{{ items.nssqf }}</div>
|
|
|
+ <div class="itemNum">{{ mine.nssqf }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">牛风速</div>
|
|
|
<div class="itemNum">{{ items.nssfs }}</div>
|
|
@@ -138,10 +138,10 @@
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">麻发电量</div>
|
|
|
- <div class="itemNum">{{ items.mhsfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.mhsfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">麻欠发</div>
|
|
|
- <div class="itemNum">{{ items.mhsqf }}</div>
|
|
|
+ <div class="itemNum">{{ mine.mhsqf }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">麻风速</div>
|
|
|
<div class="itemNum">{{ items.mhsfs }}</div>
|
|
@@ -152,10 +152,10 @@
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">青发电量</div>
|
|
|
- <div class="itemNum">{{ items.qsfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.qsfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">青欠发</div>
|
|
|
- <div class="itemNum">{{ items.qsqf }}</div>
|
|
|
+ <div class="itemNum">{{ mine.qsqf }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">青风速</div>
|
|
|
<div class="itemNum">{{ items.qsfs }}</div>
|
|
@@ -166,10 +166,10 @@
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">石发电量</div>
|
|
|
- <div class="itemNum">{{ items.sbqfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.sbqfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">石欠发</div>
|
|
|
- <div class="itemNum">{{ items.sbqqf }}</div>
|
|
|
+ <div class="itemNum">{{ mine.sbqqf }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">石风速</div>
|
|
|
<div class="itemNum">{{ items.sbqfs }}</div>
|
|
@@ -180,10 +180,10 @@
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">香发电量</div>
|
|
|
- <div class="itemNum">{{ items.xsfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.xsfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">香欠发</div>
|
|
|
- <div class="itemNum">{{ items.xsqf }}</div>
|
|
|
+ <div class="itemNum">{{ mine.xsqf }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">香风速</div>
|
|
|
<div class="itemNum">{{ items.xsfs }}</div>
|
|
@@ -199,7 +199,7 @@
|
|
|
<div class="contentBox">
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">装机容量</div>
|
|
|
- <div class="itemNum">{{ items.gfzjrl }}</div>
|
|
|
+ <div class="itemNum">{{ little.gfzjrl }}</div>
|
|
|
<div class="itemUnit">MW</div>
|
|
|
<div class="itemName">日照强度</div>
|
|
|
<div class="itemNum">{{ items.gfrzqd }}</div>
|
|
@@ -210,29 +210,29 @@
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">日发电量</div>
|
|
|
- <div class="itemNum">{{ items.gfrfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.gfrfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">月发电量</div>
|
|
|
- <div class="itemNum">{{ items.gfyfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.gfyfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">年发电量</div>
|
|
|
- <div class="itemNum">{{ items.gfnfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.gfnfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">上网电量</div>
|
|
|
- <div class="itemNum">{{ items.gfswdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.gfswdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">利用小时</div>
|
|
|
- <div class="itemNum">{{ items.gfylyxs }}</div>
|
|
|
+ <div class="itemNum">{{ little.gfylyxs }}</div>
|
|
|
<div class="itemUnit">小时(月)</div>
|
|
|
<div class="itemName">利用小时</div>
|
|
|
- <div class="itemNum">{{ items.gfnlyxs }}</div>
|
|
|
+ <div class="itemNum">{{ little.gfnlyxs }}</div>
|
|
|
<div class="itemUnit">小时(年)</div>
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">武发电量</div>
|
|
|
- <div class="itemNum">{{ items.dwkfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.dwkfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">武日强度</div>
|
|
|
<div class="itemNum">{{ items.dwkrzqd }}</div>
|
|
@@ -243,7 +243,7 @@
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">平发电量</div>
|
|
|
- <div class="itemNum">{{ items.plfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.plfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">平日强度</div>
|
|
|
<div class="itemNum">{{ items.plrzqd }}</div>
|
|
@@ -254,7 +254,7 @@
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">宣发电量</div>
|
|
|
- <div class="itemNum">{{ items.xhfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.xhfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">宣日强度</div>
|
|
|
<div class="itemNum">{{ items.xhrzqd }}</div>
|
|
@@ -265,7 +265,7 @@
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">马发电量</div>
|
|
|
- <div class="itemNum">{{ items.mchfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.mchfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">马日强度</div>
|
|
|
<div class="itemNum">{{ items.mchrzqd }}</div>
|
|
@@ -276,7 +276,7 @@
|
|
|
</div>
|
|
|
<div class="contentItem">
|
|
|
<div class="itemName">海发电量</div>
|
|
|
- <div class="itemNum">{{ items.hzjfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.hzjfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">海日强度</div>
|
|
|
<div class="itemNum">{{ items.hzjrzqd }}</div>
|
|
@@ -285,9 +285,9 @@
|
|
|
<div class="itemNum">{{ items.hzjgl }}</div>
|
|
|
<div class="itemUnit">MW</div>
|
|
|
</div>
|
|
|
- <!-- <div class="contentItem">
|
|
|
+ <div class="contentItem">
|
|
|
<div class="itemName">埃发电量</div>
|
|
|
- <div class="itemNum">{{ items.akfdl }}</div>
|
|
|
+ <div class="itemNum">{{ little.akfdl }}</div>
|
|
|
<div class="itemUnit">万kWh</div>
|
|
|
<div class="itemName">埃日强度</div>
|
|
|
<div class="itemNum">{{ items.akrzqd }}</div>
|
|
@@ -295,7 +295,7 @@
|
|
|
<div class="itemName">埃功率</div>
|
|
|
<div class="itemNum">{{ items.akgl }}</div>
|
|
|
<div class="itemUnit">MW</div>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -312,11 +312,12 @@ export default {
|
|
|
components: {
|
|
|
clock,
|
|
|
},
|
|
|
-
|
|
|
// 数据
|
|
|
data() {
|
|
|
return {
|
|
|
items: {},
|
|
|
+ little:{},
|
|
|
+ mine:{},
|
|
|
timmer: null,
|
|
|
};
|
|
|
},
|
|
@@ -337,7 +338,6 @@ export default {
|
|
|
that.API.requestData({
|
|
|
method: "GET",
|
|
|
subUrl: "http://10.155.32.4:8034/bigscreen/list",
|
|
|
- // subUrl: "http://192.168.10.12:8034/bigscreen/list",
|
|
|
success(res) {
|
|
|
let keys = Object.keys(res.data);
|
|
|
let items = res.data;
|
|
@@ -352,12 +352,55 @@ export default {
|
|
|
},
|
|
|
});
|
|
|
},
|
|
|
+ viewAjax1() {
|
|
|
+ let that = this;
|
|
|
+ that.API.requestData({
|
|
|
+ method: "GET",
|
|
|
+ subUrl: "http://192.168.1.67:8021/meterinfoAll/sisView",
|
|
|
+ success(res) {
|
|
|
+ let keys=Object.keys(res.data)
|
|
|
+ let items=res.data
|
|
|
+ keys.forEach((ele)=>{
|
|
|
+ if(items[ele].toFixed(2).split(".")[1]=="00"){
|
|
|
+ items[ele]=items[ele].toFixed(2).split(".")[0];
|
|
|
+ }else{
|
|
|
+ items[ele]=items[ele].toFixed(2)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ that.little = items;
|
|
|
+ },
|
|
|
+ });
|
|
|
+ },
|
|
|
+
|
|
|
+ viewAjax2() {
|
|
|
+ let that = this;
|
|
|
+ that.API.requestData({
|
|
|
+ method: "GET",
|
|
|
+ subUrl: "http://192.168.1.67:8133/powergen/lost",
|
|
|
+ success(res) {
|
|
|
+ let keys = Object.keys(res.data);
|
|
|
+ let items = res.data;
|
|
|
+ keys.forEach((ele) => {
|
|
|
+ if (items[ele].toFixed(2).split(".")[1] == "00") {
|
|
|
+ items[ele] = items[ele].toFixed(2).split(".")[0];
|
|
|
+ } else {
|
|
|
+ items[ele] = items[ele].toFixed(2);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ that.mine = items;
|
|
|
+ },
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
|
|
|
created() {
|
|
|
this.viewAjax();
|
|
|
+ this.viewAjax1()
|
|
|
+ this.viewAjax2()
|
|
|
this.timmer = setInterval(() => {
|
|
|
this.viewAjax();
|
|
|
+ this.viewAjax1()
|
|
|
+ this.viewAjax2()
|
|
|
}, 6000);
|
|
|
},
|
|
|
|