|
@@ -46,14 +46,14 @@
|
|
|
<view class="informationCardTextzj">
|
|
|
<view class="textSilver" @tap="common.navTo('/components/detail/Detail?callTargetName=装机容量&callTargetUnit=mv&pointKey='+windpowerstationdetail.target_comprehensive_indicators.zjrl_real.ednaId)">
|
|
|
装机容量(mv):</view>
|
|
|
- <view class="textWhite">{{windpowerstationdetail.target_comprehensive_indicators.zjrl}}</view>
|
|
|
+ <view class="textWhite"><view class="textSmail" v-if="windpowerstationdetail.target_comprehensive_indicators.zjrl>=100">{{windpowerstationdetail.target_comprehensive_indicators.zjrl}}</view></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="informationCardTextTwo">
|
|
|
<view class="informationCardTextNo1">
|
|
|
<view class="textSilver" @tap="common.navTo('/components/detail/Detail?callTargetName=日发电量&callTargetUnit=kwh&pointKey='+windpowerstationdetail.target_comprehensive_indicators.rfdl_real.ednaId)">
|
|
|
日发电量(kwh):</view>
|
|
|
- <view class="textWhite">{{windpowerstationdetail.target_comprehensive_indicators.rfdl}}</view>
|
|
|
+ <view class="textWhite"><view class="textSmail" v-if="windpowerstationdetail.target_comprehensive_indicators.rfdl>=100">{{windpowerstationdetail.target_comprehensive_indicators.rfdl}}</view></view>
|
|
|
</view>
|
|
|
<view class="informationCardText3">
|
|
|
<view class="textSilver" @tap="common.navTo('/components/detail/Detail?callTargetName=预测发电量&callTargetUnit=kwh&pointKey='+windpowerstationdetail.target_comprehensive_indicators.ycfdl_real.ednaId)">
|
|
@@ -83,7 +83,7 @@
|
|
|
<view class="greenMaxText">max: {{windpowerstationdetail.target_windSpeed_power.pjfsMax}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail?callTargetName=预测风速&callTargetUnit=kw/h&pointKey='+windpowerstationdetail.target_comprehensive_indicators.ycfs_real.ednaId)">
|
|
|
+ <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail?callTargetName=预测风速&callTargetUnit=kw/h&pointKey='+windpowerstationdetail.target_windSpeed_power.ycfs_real.ednaId)">
|
|
|
<view class="cardinstalltitlegreen">
|
|
|
预测风速(km/h)
|
|
|
<!-- <view class="textWhitekuangSpeed">(km/h)</view> -->
|
|
@@ -96,7 +96,7 @@
|
|
|
<view class="greenMaxText">max: {{windpowerstationdetail.target_windSpeed_power.ycfsMax}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail?callTargetName=实际功率&callTargetUnit=kw&pointKey='+windpowerstationdetail.target_comprehensive_indicators.sjgl_real.ednaId)">
|
|
|
+ <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail?callTargetName=实际功率&callTargetUnit=kw&pointKey='+windpowerstationdetail.target_windSpeed_power.sjgl_real.ednaId)">
|
|
|
<view class="cardinstalltitleRed">
|
|
|
实际功率(kw)
|
|
|
<!-- <view class="textWhitekuang">(kw)</view> -->
|
|
@@ -109,7 +109,7 @@
|
|
|
<view class="redMaxText">max: {{windpowerstationdetail.target_windSpeed_power.sjglMax}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail?callTargetName=理论功率&callTargetUnit=kw&pointKey='+windpowerstationdetail.target_comprehensive_indicators.llgl_real.ednaId)">
|
|
|
+ <view class="cardinstallredSpeed" @tap="common.navTo('/components/detail/Detail?callTargetName=理论功率&callTargetUnit=kw&pointKey='+windpowerstationdetail.target_windSpeed_power.llgl_real.ednaId)">
|
|
|
<view class="cardinstalltitleRed">
|
|
|
理论功率(kw)
|
|
|
<!-- <view class="textWhitekuang">(kw)</view> -->
|
|
@@ -207,16 +207,26 @@
|
|
|
</view>
|
|
|
<scroll-view scroll-x class="horizontalSlider">
|
|
|
<view class="slide">
|
|
|
- <view class="monthlyUtilizationHours" @tap="common.navTo('/components/detail/Detail')">月利用小时(h):{{windpowerstationdetail.index_target_basic_indicators.ylyxs}}</view>
|
|
|
- <view class="yearlyUtilizationHours" @tap="common.navTo('/components/detail/Detail')">年利用小时(h):{{windpowerstationdetail.index_target_basic_indicators.nlyxs}}</view>
|
|
|
- <view class="comprehensiveServicePowerConsumptionRate" @tap="common.navTo('/components/detail/Detail')">综合厂用电率(%):{{windpowerstationdetail.index_target_basic_indicators.zhcydl}}</view>
|
|
|
- <view class="equipmentAvailability" @tap="common.navTo('/components/detail/Detail')">设备可利用率(%):{{windpowerstationdetail.index_target_basic_indicators.sbklyl}}</view>
|
|
|
- <view class="sulfurDioxideEmissionReduction" @tap="common.navTo('/components/detail/Detail')">减排二氧化硫(吨):{{windpowerstationdetail.index_target_basic_indicators.jpeyhl}}</view>
|
|
|
- <view class="carbonDioxideReduction" @tap="common.navTo('/components/detail/Detail')">减排二氧化碳(吨):{{windpowerstationdetail.index_target_basic_indicators.jpeyht}}</view>
|
|
|
- <view class="waterSaving" @tap="common.navTo('/components/detail/Detail')">节约用水(吨):{{windpowerstationdetail.index_target_basic_indicators.jyys}}</view>
|
|
|
- <view class="saveStandardCoal" @tap="common.navTo('/components/detail/Detail')">节约标煤(吨):{{windpowerstationdetail.index_target_basic_indicators.jybm}}</view>
|
|
|
- <view class="mttr" @tap="common.navTo('/components/detail/Detail')">mttr(h):{{windpowerstationdetail.index_target_basic_indicators.mttr}}</view>
|
|
|
- <view class="mtbf" @tap="common.navTo('/components/detail/Detail')">mtbf(h):{{windpowerstationdetail.index_target_basic_indicators.mtbf}}</view>
|
|
|
+ <view class="monthlyUtilizationHours" @tap="common.navTo('/components/detail/Detail?callTargetName=月利用小时&callTargetUnit=h&pointKey='+windpowerstationdetail.index_target_basic_indicators.ylyxs_real.ednaId)">
|
|
|
+ 月利用小时(h):{{windpowerstationdetail.index_target_basic_indicators.ylyxs}}</view>
|
|
|
+ <view class="yearlyUtilizationHours" @tap="common.navTo('/components/detail/Detail?callTargetName=年利用小时&callTargetUnit=h&pointKey='+windpowerstationdetail.index_target_basic_indicators.nlyxs_real.ednaId)">
|
|
|
+ 年利用小时(h):{{windpowerstationdetail.index_target_basic_indicators.nlyxs}}</view>
|
|
|
+ <view class="comprehensiveServicePowerConsumptionRate" @tap="common.navTo('/components/detail/Detail?callTargetName=综合厂利用率&callTargetUnit=%&pointKey='+windpowerstationdetail.index_target_basic_indicators.zhcydl_real.ednaId)">
|
|
|
+ 综合厂用电率(%):{{windpowerstationdetail.index_target_basic_indicators.zhcydl}}</view>
|
|
|
+ <view class="equipmentAvailability" @tap="common.navTo('/components/detail/Detail?callTargetName=设备可利用率&callTargetUnit=%&pointKey='+windpowerstationdetail.index_target_basic_indicators.sbklyl_real.ednaId)">
|
|
|
+ 设备可利用率(%):{{windpowerstationdetail.index_target_basic_indicators.sbklyl}}</view>
|
|
|
+ <view class="sulfurDioxideEmissionReduction" @tap="common.navTo('/components/detail/Detail?callTargetName= 减排二氧化硫&callTargetUnit=吨&pointKey='+windpowerstationdetail.index_target_basic_indicators.jpeyhl_real.ednaId)">
|
|
|
+ 减排二氧化硫(吨):{{windpowerstationdetail.index_target_basic_indicators.jpeyhl}}</view>
|
|
|
+ <view class="carbonDioxideReduction" @tap="common.navTo('/components/detail/Detail?callTargetName=减排二氧化碳&callTargetUnit=吨&pointKey='+windpowerstationdetail.index_target_basic_indicators.jpeyht_real.ednaId)">
|
|
|
+ 减排二氧化碳(吨):{{windpowerstationdetail.index_target_basic_indicators.jpeyht}}</view>
|
|
|
+ <view class="waterSaving" @tap="common.navTo('/components/detail/Detail?callTargetName=节约用水&callTargetUnit=吨&pointKey='+windpowerstationdetail.index_target_basic_indicators.jyys_real.ednaId)">
|
|
|
+ 节约用水(吨):{{windpowerstationdetail.index_target_basic_indicators.jyys}}</view>
|
|
|
+ <view class="saveStandardCoal" @tap="common.navTo('/components/detail/Detail?callTargetName=节约标煤&callTargetUnit=吨&pointKey='+windpowerstationdetail.index_target_basic_indicators.jybm_real.ednaId)">
|
|
|
+ 节约标煤(吨):{{windpowerstationdetail.index_target_basic_indicators.jybm}}</view>
|
|
|
+ <view class="mttr" @tap="common.navTo('/components/detail/Detail?callTargetName=mttr&callTargetUnit=h&pointKey='+windpowerstationdetail.index_target_basic_indicators.mttr_real.ednaId)">
|
|
|
+ mttr(h):{{windpowerstationdetail.index_target_basic_indicators.mttr}}</view>
|
|
|
+ <view class="mtbf" @tap="common.navTo('/components/detail/Detail?callTargetName=mtbf&callTargetUnit=h&pointKey='+windpowerstationdetail.index_target_basic_indicators.mtbf_real.ednaId)">
|
|
|
+ mtbf(h):{{windpowerstationdetail.index_target_basic_indicators.mtbf}}</view>
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
<!--折线图-->
|
|
@@ -667,9 +677,47 @@
|
|
|
},
|
|
|
data: function() {
|
|
|
return {
|
|
|
+ c1:{
|
|
|
+ "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18"],
|
|
|
+ "series": [{
|
|
|
+ "name": "应发电量(万kwh)",
|
|
|
+ "data": [0, 0, 0, 0, 0, 0, 0],
|
|
|
+ color: '#007BF9',
|
|
|
+
|
|
|
+ }, {
|
|
|
+ "name": "日发电量(万kwh)",
|
|
|
+ "data": [18, 13, 12, 17, 13, 7, 11],
|
|
|
+ color: '#4EB64E',
|
|
|
+ }, {
|
|
|
+ "name": "故障损失电量(万kwh)",
|
|
|
+ "data": [17, 15, 17, 21, 16, 8, 10],
|
|
|
+ color: '#F14E51',
|
|
|
+ }, {
|
|
|
+ "name": "检修损失电量(万kwh)",
|
|
|
+ "data": [14, 17, 19, 20, 6, 14, 12],
|
|
|
+ color: '#FF6B3E',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "限电损失电量(万kwh)",
|
|
|
+ "data": [14, 17, 19, 20, 6, 14, 12],
|
|
|
+ color: '#DC62D2',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "性能损失电量(万kwh)",
|
|
|
+ "data": [15, 17, 19, 20, 6, 4, 12],
|
|
|
+ color: '#9DA3F6',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "受累损失电量(万kwh)",
|
|
|
+ "data": [14, 17, 19, 20, 6, 4, 12],
|
|
|
+ color: '#9E9E9E',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
key_aqts:"",
|
|
|
fdcstatusmodule:{fdcstatusmodule:''},
|
|
|
index_windStation_cardmodule:{index_windStation_cardmodule:''},
|
|
|
+ index_curve_columnar_five_lossmodule:{index_curve_columnar_five_lossmodule:''},
|
|
|
index_curve_columnar_windSpeed_powermodule:{index_curve_columnar_windSpeed_powermodule:''},
|
|
|
badge: 22,
|
|
|
drawerList: [{
|
|
@@ -751,6 +799,7 @@
|
|
|
socketTask_index_windturbine_status:'',
|
|
|
socketTask_index_electricQuantity:'',
|
|
|
socketTask_index_target_basic_indicators:'',
|
|
|
+ socketTask_index_curve_columnar_five_loss:'',
|
|
|
socketTask_index_curve_columnar_windSpeed_power:'',
|
|
|
windpowerstationdetail:{target_comprehensive_indicators:"",target_windSpeed_power:"",index_windturbine_status:"",index_electricQuantity:"",index_target_basic_indicators:""},
|
|
|
};
|
|
@@ -797,6 +846,7 @@
|
|
|
this.windStationCardCHeight = 150;
|
|
|
this.getWindStationCardData();
|
|
|
this.index_curve_columnar_windSpeed_power();
|
|
|
+ this.index_curve_columnar_five_loss();
|
|
|
this.target_comprehensive_indicators();
|
|
|
this.target_windSpeed_power();
|
|
|
this.index_windturbine_status();
|
|
@@ -840,7 +890,223 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ async index_curve_columnar_five_loss() {
|
|
|
+ Date.prototype.Format = function(fmt) {
|
|
|
+ var o = {
|
|
|
+ "M+": this.getMonth() + 1, //月份
|
|
|
+ "d+": this.getDate(), //日
|
|
|
+ "h+": this.getHours(), //小时
|
|
|
+ "m+": this.getMinutes(), //分
|
|
|
+ "s+": this.getSeconds(), //秒
|
|
|
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
|
+ "S": this.getMilliseconds() //毫秒
|
|
|
+ };
|
|
|
+ if(/(y+)/.test(fmt))
|
|
|
+ fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
|
+ for(var k in o)
|
|
|
+ if(new RegExp("(" + k + ")").test(fmt))
|
|
|
+ fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
|
+ return fmt;
|
|
|
+ };
|
|
|
+ let _this = this;
|
|
|
+ // 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
|
|
|
+ this.socketTask_index_curve_columnar_five_loss = uni.connectSocket({
|
|
|
+ // 【非常重要】必须确保你的服务器是成功的,如果是手机测试千万别使用ws://127.0.0.1:9099【特别容易犯的错误】
|
|
|
+ url: 'ws://' + this.backStageIp + ':' + this.backStagePort + '/websocket/pageNumber_6/functionNumber_7',
|
|
|
+ success(data) {
|
|
|
+ console.log('websocket连接成功');
|
|
|
+ }
|
|
|
+ });
|
|
|
+ let windpowerstationid = uni.getStorageSync('windpowerstationName');
|
|
|
+ // 消息的发送和接收必须在正常连接打开中,才能发送或接收【否则会失败】
|
|
|
+ this.socketTask_index_curve_columnar_five_loss.onOpen(res => {
|
|
|
+ console.log('WebSocket连接正常打开中...!');
|
|
|
+ this.is_open_socket = true;
|
|
|
|
|
|
+ // 注:只有连接正常打开中 ,才能正常收到消息
|
|
|
+ this.socketTask_index_curve_columnar_five_loss.onMessage(res => {
|
|
|
+ //console.log("收到服务器内容:" + res.data);
|
|
|
+ _this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule = JSON.parse(res.data);
|
|
|
+
|
|
|
+
|
|
|
+ let ColumnStack = this.c1;
|
|
|
+
|
|
|
+ if (this.dayHair) {
|
|
|
+ ColumnStack = {
|
|
|
+ "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
|
|
|
+ "series": [{
|
|
|
+ "name": "日发电量(万kwh)",
|
|
|
+ "data": [18, 13, 12, 17, 13, 7, 11, 15, 13],
|
|
|
+ color: '#4EB64E',
|
|
|
+ }
|
|
|
+
|
|
|
+ ],
|
|
|
+ };
|
|
|
+ ColumnStack.categories = [];
|
|
|
+ ColumnStack.series[0].data = [];
|
|
|
+ for (let i = 0; i < this.rifa.length; i++) {
|
|
|
+ ColumnStack.categories.push(this.Xzuobiao[i]);
|
|
|
+ // console.log(ColumnStack.categories)
|
|
|
+ ColumnStack.series[0].data.push(this.rifa[i]);
|
|
|
+ // console.log(ColumnStack.series[1].data)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.fault) {
|
|
|
+ ColumnStack = {
|
|
|
+ "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
|
|
|
+ "series": [{
|
|
|
+ "name": "故障损失电量(万kwh)",
|
|
|
+ "data": [17, 15, 17, 21, 16, 8, 10, 17, 11],
|
|
|
+ color: '#F14E51',
|
|
|
+ }, ],
|
|
|
+ };
|
|
|
+ ColumnStack.categories = [];
|
|
|
+ ColumnStack.series[0].data = [];
|
|
|
+ for (let i = 0; i < this.guzhang.length; i++) {
|
|
|
+ ColumnStack.categories.push(this.Xzuobiao[i]);
|
|
|
+ // console.log(ColumnStack.categories)
|
|
|
+ ColumnStack.series[0].data.push(this.guzhang[i]);
|
|
|
+ // console.log(ColumnStack.series[1].data)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.overhaul) {
|
|
|
+ ColumnStack = {
|
|
|
+ "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
|
|
|
+ "series": [{
|
|
|
+ "name": "检修损失电量(万kwh)",
|
|
|
+ "data": [14, 17, 19, 20, 6, 14, 12, 14, 10],
|
|
|
+ color: '#FF6B3E',
|
|
|
+ }
|
|
|
+
|
|
|
+ ],
|
|
|
+ };
|
|
|
+ ColumnStack.categories = [];
|
|
|
+ ColumnStack.series[0].data = [];
|
|
|
+ for (let i = 0; i < this.jianxiu.length; i++) {
|
|
|
+ ColumnStack.categories.push(this.Xzuobiao[i]);
|
|
|
+ // console.log(ColumnStack.categories)
|
|
|
+ ColumnStack.series[0].data.push(this.jianxiu[i]);
|
|
|
+ // console.log(ColumnStack.series[1].data)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.powerLimitation) {
|
|
|
+ ColumnStack = {
|
|
|
+ "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
|
|
|
+ "series": [{
|
|
|
+ "name": "限电损失电量(万kwh)",
|
|
|
+ "data": [14, 17, 19, 20, 6, 14, 12, 14, 10],
|
|
|
+ color: '#DC62D2',
|
|
|
+ }
|
|
|
+
|
|
|
+ ],
|
|
|
+ };
|
|
|
+ ColumnStack.categories = [];
|
|
|
+ ColumnStack.series[0].data = [];
|
|
|
+ for (let i = 0; i < this.xiandian.length; i++) {
|
|
|
+ ColumnStack.categories.push(this.Xzuobiao[i]);
|
|
|
+ // console.log(ColumnStack.categories)
|
|
|
+ ColumnStack.series[0].data.push(this.xiandian[i]);
|
|
|
+ // console.log(ColumnStack.series[1].data)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.performance) {
|
|
|
+ ColumnStack = {
|
|
|
+ "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
|
|
|
+ "series": [{
|
|
|
+ "name": "性能损失电量(万kwh)",
|
|
|
+ "data": [14, 17, 19, 20, 6, 14, 12, 14, 10],
|
|
|
+ color: '#9DA3F6',
|
|
|
+ }
|
|
|
+
|
|
|
+ ],
|
|
|
+ };
|
|
|
+ ColumnStack.categories = [];
|
|
|
+ ColumnStack.series[0].data = [];
|
|
|
+ for (let i = 0; i < this.xingneng.length; i++) {
|
|
|
+ ColumnStack.categories.push(this.Xzuobiao[i]);
|
|
|
+ // console.log(ColumnStack.categories)
|
|
|
+ ColumnStack.series[0].data.push(this.xingneng[i]);
|
|
|
+ // console.log(ColumnStack.series[1].data)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.toBeInvolved) {
|
|
|
+ ColumnStack = {
|
|
|
+ "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18", "04/19", "04/20"],
|
|
|
+ "series": [{
|
|
|
+ "name": "受累损失电量(万kwh)",
|
|
|
+ "data": [14, 17, 19, 20, 6, 14, 12, 14, 10],
|
|
|
+ color: '#9E9E9E',
|
|
|
+ }
|
|
|
+
|
|
|
+ ],
|
|
|
+ };
|
|
|
+ ColumnStack.categories = [];
|
|
|
+ ColumnStack.series[0].data = [];
|
|
|
+ for (let i = 0; i < this.shoulei.length; i++) {
|
|
|
+ ColumnStack.categories.push(this.Xzuobiao[i]);
|
|
|
+ // console.log(ColumnStack.categories)
|
|
|
+ ColumnStack.series[0].data.push(this.shoulei[i]);
|
|
|
+ // console.log(ColumnStack.series[1].data)
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ ColumnStack.categories=[];
|
|
|
+ //ColumnStack.series[0].data=[];
|
|
|
+ ColumnStack.series[1].data=[];
|
|
|
+ ColumnStack.series[2].data=[];
|
|
|
+ ColumnStack.series[3].data=[];
|
|
|
+ ColumnStack.series[4].data=[];
|
|
|
+ ColumnStack.series[5].data=[];
|
|
|
+ ColumnStack.series[6].data=[];
|
|
|
+
|
|
|
+ /* LineA.series[0].name=this.targetName; */
|
|
|
+ _this.Xzuobiao=[];
|
|
|
+ _this.rifa=[];
|
|
|
+ _this.guzhang=[];
|
|
|
+ _this.jianxiu=[];
|
|
|
+ _this.xiandian=[];
|
|
|
+ _this.xingneng=[];
|
|
|
+ _this.shoulei=[];
|
|
|
+ for(var i=0;i<_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC].length;i++){
|
|
|
+ let time = new Date(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].time).Format("MM/dd");
|
|
|
+
|
|
|
+ ColumnStack.categories.push(time);
|
|
|
+ //console.log(_this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule['MHS_FDC']['gl'][i].pointValueInDouble);
|
|
|
+ //ColumnStack.series[0].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value7);
|
|
|
+ ColumnStack.series[1].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value1);
|
|
|
+ ColumnStack.series[2].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value2);
|
|
|
+ ColumnStack.series[3].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value3);
|
|
|
+ ColumnStack.series[4].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value4);
|
|
|
+ ColumnStack.series[5].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value5);
|
|
|
+ ColumnStack.series[6].data.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value6);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ _this.Xzuobiao.push(time);
|
|
|
+ // _this.$set(_this.rifa,i,_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value1);
|
|
|
+ // _this.$set(_this.guzhang,i,_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value2);
|
|
|
+ // _this.$set(_this.jianxiu,i,_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value3);
|
|
|
+ // _this.$set(_this.xiandian,i,_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value4);
|
|
|
+ // _this.$set(_this.xingneng,i,_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value5);
|
|
|
+ // _this.$set(_this.shoulei,i,_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value6);
|
|
|
+ _this.rifa.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value1);
|
|
|
+ _this.guzhang.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value2);
|
|
|
+ _this.jianxiu.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value3);
|
|
|
+ _this.xiandian.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value4);
|
|
|
+ _this.xingneng.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value5);
|
|
|
+ _this.shoulei.push(_this.index_curve_columnar_five_lossmodule.index_curve_columnar_five_lossmodule[_this.FDC][i].value6);
|
|
|
+
|
|
|
+ //ColumnStack.series[1].data.push(_this.rifa[i]);
|
|
|
+ }
|
|
|
+
|
|
|
+ console.log(_this.rifa)
|
|
|
+
|
|
|
+ _this.showColumnStack("canvasColumnStack", ColumnStack);
|
|
|
+ console.log();
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
async index_windStation_card() {
|
|
|
let _this = this;
|
|
|
// 创建一个this.socketTask对象【发送、接收、关闭socket都由这个对象操作】
|
|
@@ -1277,6 +1543,7 @@
|
|
|
}
|
|
|
]
|
|
|
};
|
|
|
+
|
|
|
Line.categories=[];
|
|
|
Line.series[0].data=[];
|
|
|
/* LineA.series[0].name=this.targetName; */
|
|
@@ -1806,43 +2073,7 @@
|
|
|
this.getColumnData();
|
|
|
},
|
|
|
getColumnData() {
|
|
|
- let ColumnStack = {
|
|
|
- "categories": ["04/12", "04/13", "04/14", "04/15", "04/16", "04/17", "04/18"],
|
|
|
- "series": [{
|
|
|
- "name": "应发电量(万kwh)",
|
|
|
- "data": [0, 0, 0, 0, 0, 0, 0],
|
|
|
- color: '#007BF9',
|
|
|
-
|
|
|
- }, {
|
|
|
- "name": "日发电量(万kwh)",
|
|
|
- "data": [18, 13, 12, 17, 13, 7, 11],
|
|
|
- color: '#4EB64E',
|
|
|
- }, {
|
|
|
- "name": "故障损失电量(万kwh)",
|
|
|
- "data": [17, 15, 17, 21, 16, 8, 10],
|
|
|
- color: '#F14E51',
|
|
|
- }, {
|
|
|
- "name": "检修损失电量(万kwh)",
|
|
|
- "data": [14, 17, 19, 20, 6, 14, 12],
|
|
|
- color: '#FF6B3E',
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "限电损失电量(万kwh)",
|
|
|
- "data": [14, 17, 19, 20, 6, 14, 12],
|
|
|
- color: '#DC62D2',
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "性能损失电量(万kwh)",
|
|
|
- "data": [15, 17, 19, 20, 6, 4, 12],
|
|
|
- color: '#9DA3F6',
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "受累损失电量(万kwh)",
|
|
|
- "data": [14, 17, 19, 20, 6, 4, 12],
|
|
|
- color: '#9E9E9E',
|
|
|
- },
|
|
|
- ],
|
|
|
- };
|
|
|
+ let ColumnStack = this.c1;
|
|
|
|
|
|
if (this.dayHair) {
|
|
|
ColumnStack = {
|
|
@@ -2894,6 +3125,10 @@
|
|
|
</script>
|
|
|
|
|
|
<style>
|
|
|
+ .textSmail{
|
|
|
+ font-size: 12px;
|
|
|
+ transform: scale(0.80);
|
|
|
+ }
|
|
|
.speedPowerDiagram {
|
|
|
width: 100px;
|
|
|
height: 30px;
|
|
@@ -3352,7 +3587,7 @@
|
|
|
|
|
|
.cardinstallnumbergreenmin {
|
|
|
margin-left: 2px;
|
|
|
- width: 45%;
|
|
|
+ width: 55%;
|
|
|
height: 20px;
|
|
|
user-select: text;
|
|
|
-webkit-user-select: text;
|
|
@@ -3367,7 +3602,7 @@
|
|
|
.cardinstallnumbergreenmax {
|
|
|
/* font-weight: bold; */
|
|
|
margin-right: 2px;
|
|
|
- width: 45%;
|
|
|
+ width: 40%;
|
|
|
height: 20px;
|
|
|
user-select: text;
|
|
|
-webkit-user-select: text;
|
|
@@ -3509,9 +3744,9 @@
|
|
|
|
|
|
.textWhite {
|
|
|
color: white;
|
|
|
- float: right;
|
|
|
+ float: left;
|
|
|
width: 24px;
|
|
|
- text-align: right;
|
|
|
+ /* text-align: right; */
|
|
|
}
|
|
|
.textWhite2 {
|
|
|
color: white;
|