|
@@ -176,7 +176,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="progressBarText">月计划发电量进度条</view>
|
|
<view class="progressBarText">月计划发电量进度条</view>
|
|
<view class="progressBarRight">
|
|
<view class="progressBarRight">
|
|
- <view class="progressBarRightText">1000kwh</view>
|
|
|
|
|
|
+ <view class="progressBarRightText">10000kwh</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="cu-progress round radius striped active">
|
|
<view class="cu-progress round radius striped active">
|
|
@@ -191,7 +191,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="progressBarText">年计划发电量进度条</view>
|
|
<view class="progressBarText">年计划发电量进度条</view>
|
|
<view class="progressBarRight">
|
|
<view class="progressBarRight">
|
|
- <view class="progressBarRightText">10000kwh</view>
|
|
|
|
|
|
+ <view class="progressBarRightText">100000kwh</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="cu-progress round radius striped active">
|
|
<view class="cu-progress round radius striped active">
|
|
@@ -750,6 +750,24 @@
|
|
this.pushWindPowerStationNameToSessionStorage("宁夏新能源公司");
|
|
this.pushWindPowerStationNameToSessionStorage("宁夏新能源公司");
|
|
this.address = this.getWindPowerStationNameToSessionStorage();
|
|
this.address = this.getWindPowerStationNameToSessionStorage();
|
|
}
|
|
}
|
|
|
|
+ if(this.address=="宁夏新能源公司"){
|
|
|
|
+ this.FDC="0";
|
|
|
|
+ }
|
|
|
|
+ if(this.address=="麻黄山风电场"){
|
|
|
|
+ this.FDC="MHS_FDC";
|
|
|
|
+ }
|
|
|
|
+ if(this.address=="牛首山风电场"){
|
|
|
|
+ this.FDC="NSS_FDC";
|
|
|
|
+ }
|
|
|
|
+ if(this.address=="石板泉风电场"){
|
|
|
|
+ this.FDC="SBQ_FDC";
|
|
|
|
+ }
|
|
|
|
+ if(this.address=="青山风电场"){
|
|
|
|
+ this.FDC="QS_FDC";
|
|
|
|
+ }
|
|
|
|
+ if(this.address=="香山风电场"){
|
|
|
|
+ this.FDC="XS_FDC";
|
|
|
|
+ }
|
|
this.windPowerStationId = uni.getStorageSync('windPowerStationId');
|
|
this.windPowerStationId = uni.getStorageSync('windPowerStationId');
|
|
},
|
|
},
|
|
onLoad: function() {
|
|
onLoad: function() {
|
|
@@ -787,6 +805,24 @@
|
|
onShow(){
|
|
onShow(){
|
|
this.windPowerStationId = uni.getStorageSync('windPowerStationId');
|
|
this.windPowerStationId = uni.getStorageSync('windPowerStationId');
|
|
this.address = this.getWindPowerStationNameToSessionStorage();
|
|
this.address = this.getWindPowerStationNameToSessionStorage();
|
|
|
|
+ if(this.address=="宁夏新能源公司"){
|
|
|
|
+ this.FDC="0";
|
|
|
|
+ }
|
|
|
|
+ if(this.address=="麻黄山风电场"){
|
|
|
|
+ this.FDC="MHS_FDC";
|
|
|
|
+ }
|
|
|
|
+ if(this.address=="牛首山风电场"){
|
|
|
|
+ this.FDC="NSS_FDC";
|
|
|
|
+ }
|
|
|
|
+ if(this.address=="石板泉风电场"){
|
|
|
|
+ this.FDC="SBQ_FDC";
|
|
|
|
+ }
|
|
|
|
+ if(this.address=="青山风电场"){
|
|
|
|
+ this.FDC="QS_FDC";
|
|
|
|
+ }
|
|
|
|
+ if(this.address=="香山风电场"){
|
|
|
|
+ this.FDC="XS_FDC";
|
|
|
|
+ }
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
openDrawer: function() {
|
|
openDrawer: function() {
|
|
@@ -936,10 +972,10 @@
|
|
this.socketTask_index_electricQuantity.onMessage(res => {
|
|
this.socketTask_index_electricQuantity.onMessage(res => {
|
|
//console.log("收到服务器内容:" + res.data);
|
|
//console.log("收到服务器内容:" + res.data);
|
|
_this.windpowerstationdetail.index_electricQuantity =JSON.parse(res.data)[_this.FDC];
|
|
_this.windpowerstationdetail.index_electricQuantity =JSON.parse(res.data)[_this.FDC];
|
|
- _this.monthOlive=(_this.windpowerstationdetail.index_electricQuantity.yfdl/1000)*100+"%";
|
|
|
|
- _this.monthAngrey=(1-_this.windpowerstationdetail.index_electricQuantity.yfdl/1000)*100+"%";
|
|
|
|
- _this.yearOlive=(_this.windpowerstationdetail.index_electricQuantity.nfdl/10000)*100+"%";
|
|
|
|
- _this.yearAngrey=(1-_this.windpowerstationdetail.index_electricQuantity.nfdl/10000)*100+"%";
|
|
|
|
|
|
+ _this.monthOlive=(_this.windpowerstationdetail.index_electricQuantity.yfdl/10000)*100+"%";
|
|
|
|
+ _this.monthAngrey=(1-_this.windpowerstationdetail.index_electricQuantity.yfdl/10000)*100+"%";
|
|
|
|
+ _this.yearOlive=(_this.windpowerstationdetail.index_electricQuantity.nfdl/100000)*100+"%";
|
|
|
|
+ _this.yearAngrey=(1-_this.windpowerstationdetail.index_electricQuantity.nfdl/100000)*100+"%";
|
|
|
|
|
|
});
|
|
});
|
|
});
|
|
});
|