Browse Source

左侧导航栏方法

lizaixun 4 years ago
parent
commit
f078bc27d4

+ 27 - 16
components/drawer/threeLineDrawer.vue

@@ -4,24 +4,16 @@
 		<uni-drawer :visible="drawerIsShow" :width="width" @close="closeDrawer" style="z-index: 99999;">
 			<view style="padding:0rpx; background-color:#1A1A1A;">
 				<view class="picture">
-					<view class="sisGroup">监视功能分组
+					<view class="sisGroup">{{leftNavigationtitle}}
 					<view class="iconImgage">
 					</view>
 					</view>
 					
 					<view v-for="(item,index) in drawerList" :class="[changeGary==index?'statusMonitoring':'item']" :key="index" @click="clickChangeColor(index)">
-						<div v-if="(index==0)" @tap="goToIndex()">
+						<div @click="goToIndex(item)">
 							{{item.name}}
 							</div>
-					<div v-if="(index==1)" @tap="common.navTo('/components/monitor/StatusMonitor')">
-						{{item.name}}
-						</div>
-						<div v-if="(index==2)" @tap="common.navTo('/components/monitor/MatrixMonitor')">
-							{{item.name}}
-							</div>
-						<div v-if="(index==3)" @tap="common.navTo('/components/monitor/PersonalMonitor')">
-									{{item.name}}
-									</div>
+					
 					</view>
 
 				</view>
@@ -61,14 +53,16 @@
 				width: 250,
 				inconList: [],
 				changeGary: -1,
+				leftNavigationtitle:'',
 			}
 		},
 		methods: {
-			openDrawer: function(width, drawerList, inconList) {
+			openDrawer: function(width, drawerList, inconList,leftNavigationtitle) {
 				this.drawerIsShow = true;
 				this.drawerList = drawerList;
 				this.width = width;
 				this.inconList = inconList;
+				this.leftNavigationtitle = leftNavigationtitle;
 			},
 			closeDrawer: function() {
 				this.drawerIsShow = false;
@@ -76,10 +70,27 @@
 			clickChangeColor: function(index) {
 				this.changeGary = index;
 			},
-			goToIndex:function(){
-				uni.switchTab({
-				     url: '/pages/index/Index'
-				    });
+			goToIndex:function(item){
+				console.log(item.remark1);
+				if(item.remark1 == '/pages/index/Index'){
+					uni.switchTab({
+							url: item.remark1
+					 });
+				}
+				else if(item.remark1 == '/pages/forecast/Forecast'){
+					this.$parent.$root.toggleSwitch = false;
+					uni.switchTab({
+							url: item.remark1
+					 });
+				}
+				else if(item.remark1 == '/components/weatherProphethomepage/WeatherProphethomepage'){
+					this.$parent.$root.toggleSwitch = true;
+				}
+				else{
+					 uni.navigateTo({
+					 	url: item.remark1
+					 })
+				 }
 			}
 		}
 	}

+ 52 - 37
components/weatherProphethomepage/WeatherProphethomepage.vue

@@ -64,7 +64,7 @@
 					<div class="weatherText"><strong>气象指标</strong></div>
 					<div class="detailsText" @tap="common.navTo('../../components/weatherProphethomepage/weatherDetail/Detail')">详情ㅤ〉</div>
 				</div>
-				<view class="weatherDaytimegrid" v-if="weatherSwitch==true">
+				<view v-if="weatherSwitch==true">
 					<scroll-view scroll-y scroll-with-animation class="scrollList" :style="{'height':heightToday}">
 						<view class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']" style="background-color: #242424;">
 							<view class="cu-item">
@@ -143,7 +143,7 @@
 						</view>
 					</scroll-view>
 				</view>
-				<view class="weatherNocturnalgrid" v-if="weatherSwitch==false">
+				<view v-if="weatherSwitch==false">
 					<scroll-view scroll-y scroll-with-animation class="scrollList" :style="{'height':heightToday}">
 						<view class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']" style="background-color: #242424;">
 							<view class="cu-item">
@@ -462,7 +462,7 @@
 	import uCharts from '../../components/tools/u-charts/u-charts.js';
 	import utils from '../../components/tools/shoyu-date/utils.filter.js';
 	import res from '../../common/data.json';
-	import drawer from '../../components/drawer/weatherThreeLineDrawer.vue';
+	import drawer from '../../components/drawer/threeLineDrawer.vue';
 	import plusDrawer from '../../components/drawer/plusDrawer.vue';
 	import ThermometerCard from '../../components/weatherProphethomepage/weathercomponents/thermometerCard/ThermometerCard.vue';
 	import WeatherTemperatureWindSpeedCard_7 from '../../components/weatherProphethomepage/weathercomponents/weatherTemperatureWindSpeedCard_7/WeatherTemperatureWindSpeedCard_7.vue';
@@ -502,11 +502,8 @@
 				cardCur: 0,
 				spopupWrapperHeight: "",
 				windStationListHeight: '',
-				drawerList: [
-					{
-						"name": "地图监视"
-					}
-				],
+				drawerList: [],
+				leftNavigationtitle:'预测功能分组',
 				plusDrawerList: [],
 				utils: utils,
 				margintop: '',
@@ -707,7 +704,6 @@
 				socketTask8_15: '',
 				socketTask40: '',
 				socketTask: '',
-
 				weatherInformation: {},
 				cuIconList7: [{
 					cuIcon: 'weather',
@@ -806,12 +802,14 @@
 				xianHeight7: '',
 				nightmarginleft7: '',
 				socketTask7: '',
-				userCanviewthewindfarm:[]
+				userCanviewthewindfarm:[],
+				permissionsInformation:[]
 			}
 		},
 		created: function() {
 			// this.pushWindPowerStationNameToSessionStorage("麻黄山");
 			this.viewUserid();
+			this.monitoringAuthority();
 			this.address = this.getWindPowerStationNameToSessionStorage();
 
 			this.windPowerStationId = uni.getStorageSync('windPowerStationId');
@@ -904,13 +902,13 @@
 				this.xianHeight="168px";
 				this.marginleftBiao="50px";
 			} else {
-				this.margintop="10px";
-				this.margintopThree="10px";
+				this.margintop="3.5%";
+				this.margintopThree="3.5%";
 				this.fontSize="14px";
-				this.xianHeight="92px";
+				this.xianHeight="85%";
 				this.marginleftBiao="26px";
 			}
-			this.heightToday = parseInt(uni.getSystemInfoSync().windowHeight - 450) + "px";
+			this.heightToday = parseInt(uni.getSystemInfoSync().windowHeight - 440) + "px";
 			this.widthToday = parseInt(uni.getSystemInfoSync().windowWidth) + "px";
 			
 			this.windowWidth7 = uni.getSystemInfoSync().windowWidth;
@@ -923,13 +921,13 @@
 				this.xianHeight7="168px";
 				this.nightmarginleft7="20px";
 			}else{
-				this.margintop7="10px";
-				this.margintopThree7="10px";
+				this.margintop7="3.5%";
+				this.margintopThree7="3.5%";
 				this.fontSize7="14px";
-				this.xianHeight7="92px";
+				this.xianHeight7="85%";
 				this.nightmarginleft7="20px";
 			}
-			this.height7 = parseInt(uni.getSystemInfoSync().windowHeight - 450) + "px";
+			this.height7 = parseInt(uni.getSystemInfoSync().windowHeight - 440) + "px";
 			this.width7 = parseInt(uni.getSystemInfoSync().windowWidth) + "px";
 			
 			this.windowWidth8_15 = uni.getSystemInfoSync().windowWidth;
@@ -1059,9 +1057,39 @@
 					},
 					})
 			},
+			monitoringAuthority:function(){
+				let _this = this;
+				uni.request({
+					url: 'http://' + this.backStageIp + ':' + this.backStagePort +
+						'/GyeepermissionController/GyeePermissionList?userid=' + _this.userid,
+					data: {},
+					method: 'GET',
+					success: function(res) {
+						console.log(res);
+						for (let i = 0; i < res.data.data.length; i++) {
+							if (res.data.data[i].describes == "预测") {
+								var b = {};
+								_this.$set(b, "gyeePermissionList", res.data.data[i].gyeePermissionList);
+								_this.permissionsInformation.push(b);
+								console.log(_this.permissionsInformation);
+								for (let k = 0; k < _this.permissionsInformation[0].gyeePermissionList.length; k++) {
+									if (_this.permissionsInformation[0].gyeePermissionList[k].parent == 3) {
+										var c = {};
+										var d = {};
+										_this.$set(c, "name", _this.permissionsInformation[0].gyeePermissionList[k].permisssionname);
+										_this.$set(c, "remark1",_this.permissionsInformation[0].gyeePermissionList[k].remark1);
+										_this.drawerList.push(c);
+									}
+								}
+								console.log(_this.drawerList)
+							}
+						}
+					}
+				})
+			},
 			openDrawer: function() {
 				this.outThreeLineDrawerIsShow=true;
-				this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
+				this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList,this.leftNavigationtitle);
 			},
 			closeDrawer: function() {
 				this.drawerIsShow = false;
@@ -1291,7 +1319,7 @@
 						if (_this.$refs.WeatherTemperatureWindSpeedCard_7 == undefined) {
 
 						} else {
-							_this.$refs.WeatherTemperatureWindSpeedCard_7.weatherInformationCard('110', '100', _this.classNameDay7,
+							_this.$refs.WeatherTemperatureWindSpeedCard_7.weatherInformationCard('110', '80', _this.classNameDay7,
 								_this
 								.classNameNight7,
 								_this.weatherProphetData_7);
@@ -2363,20 +2391,7 @@
 		color: #333333;
 	}
 
-	.weatherDaytimegrid {
-		width: 100%;
-		height: 200px;
-		float: left;
-		margin-top: 1%;
-
-	}
-
-	.weatherNocturnalgrid {
-		width: 100%;
-		height: 130px;
-		float: left;
-		margin-top: 1%;
-	}
+	
 
 	.weatherDetails {
 		margin-top: 0%;
@@ -2489,7 +2504,7 @@
 
 	.cuIcon {
 		border-right: 1px solid white;
-		height: 92px;
+		height: 80px;
 	}
 
 	.icon7 {
@@ -2511,7 +2526,7 @@
 		display: -webkit-flex;
 		display: flex;
 		justify-content: space-around;
-		margin-top: 10px;
+		margin-top: 0%;
 	}
 
 	.cu-listAllTThree {
@@ -2649,7 +2664,7 @@
 		display: -webkit-flex;
 		display: flex;
 		justify-content: space-around;
-		margin-top: 10px;
+		margin-top: 0%;
 	}
 
 	.cu-listAllTThree7 {

+ 2 - 2
components/weatherProphethomepage/weatherDetail/Detail.vue

@@ -544,13 +544,13 @@ page {
 .hours{
 	width: 800upx;
 	height: 50upx;
-	margin-left: 27px;
+	margin-left: -4%;
 	color: white;
 }
 .hour{
 	width: 50upx;
 	float: left;
-	margin-right: 32px;
+	margin-left: 13.5%;
 }
 .scrollUcharts{
 	white-space: nowrap;

+ 37 - 22
pages/forecast/Forecast.vue

@@ -109,7 +109,7 @@
 
 <script>
 import res from '../../common/data.json';
-import drawer from '../../components/drawer/forecastThreeLineDrawer.vue';
+import drawer from '../../components/drawer/threeLineDrawer.vue';
 import plusDrawer from '../../components/drawer/plusDrawer.vue';
 import WeatherProphethomepage from '../../components/weatherProphethomepage/WeatherProphethomepage.vue';
 var _self;
@@ -122,6 +122,7 @@ export default {
 	data: function() {
 		return {
 			kg:true,
+			leftNavigationtitle:'预测功能分组',
 			leftbarkg:false,
 			bs_computed:'',
 			xtpl_computed:'',
@@ -291,23 +292,7 @@ export default {
 			inconList: ['form', 'favor', 'question', 'edit'],
 			modalName: null,
 			address: '宁夏新能源公司',
-			drawerList: [
-				{
-					name: '气象预测'
-				}
-				/* 	{
-						"name": ""
-					},
-					{
-						"name": ""
-					},
-					{
-						"name": ""
-					},
-					{
-						"name": ""
-					}, */
-			],
+			drawerList: [],
 			plusDrawerList: [
 				{
 					name: '宁夏新能源公司',
@@ -333,7 +318,8 @@ export default {
 					name: '麻黄山风电场',
 					windPowerStationId: 'MHS_FDC'
 				}
-			]
+			],
+			permissionsInformation:[]
 		};
 	},
 	mounted() {
@@ -342,6 +328,7 @@ export default {
 	created: function() {
 		// this.pushWindPowerStationNameToSessionStorage("麻黄山");
 		this.viewUserid();
+		this.monitoringAuthority();
 		this.address = this.getWindPowerStationNameToSessionStorage();
 	
 		this.windPowerStationId = uni.getStorageSync('windPowerStationId');
@@ -520,6 +507,36 @@ export default {
 				},
 				})
 		},
+		monitoringAuthority:function(){
+			let _this = this;
+			uni.request({
+				url: 'http://' + this.backStageIp + ':' + this.backStagePort +
+					'/GyeepermissionController/GyeePermissionList?userid=' + _this.userid,
+				data: {},
+				method: 'GET',
+				success: function(res) {
+					console.log(res);
+					for (let i = 0; i < res.data.data.length; i++) {
+						if (res.data.data[i].describes == "预测") {
+							var b = {};
+							_this.$set(b, "gyeePermissionList", res.data.data[i].gyeePermissionList);
+							_this.permissionsInformation.push(b);
+							console.log(_this.permissionsInformation);
+							for (let k = 0; k < _this.permissionsInformation[0].gyeePermissionList.length; k++) {
+								if (_this.permissionsInformation[0].gyeePermissionList[k].parent == 3) {
+									var c = {};
+									var d = {};
+									_this.$set(c, "name", _this.permissionsInformation[0].gyeePermissionList[k].permisssionname);
+									_this.$set(c, "remark1",_this.permissionsInformation[0].gyeePermissionList[k].remark1);
+									_this.drawerList.push(c);
+								}
+							}
+							console.log(_this.drawerList)
+						}
+					}
+				}
+			})
+		},
 		mapDate(){
 			
 		
@@ -569,14 +586,12 @@ export default {
 						this.longitude = this.mapBegin_1;	
 							
 						this.bool = true;
-						
-					
 				}
 				this.$forceUpdate();
 			},
 		openDrawer: function() {
 			this.kg=false;
-			this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
+			this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList,this.leftNavigationtitle);
 		},
 		closeDrawer: function() {
 			

+ 97 - 104
pages/index/Index.vue

@@ -1,25 +1,25 @@
 <template>
-	<view class="content"> 
-			<cu-custom bgColor="bg-blacks" :isBack="false">
-			    <block slot="right">
-					<image src="../../static/picture/fourLine.png" style="width: 30px;height: 30px;margin-left: 2%;" @tap="openDrawer"></image>
-				</block>
-				<block slot="right">	
-						<view class="icon cuIcon-notice text-white" v-if="badge != 0" style="margin-left: -70%;">
-							<view class="cu-tag looknumber" style="margin-top: -2%;">
-								<block v-if="badge != 1">{{ badge > 99 ? '99+' : badge }}</block>
-							</view>
-						</view>
-				</block>
-				<block slot="right">
-						
-				</block>
-			    <block slot="content">{{address}}</block>
-				<block slot="right">
-					<view class="plus" @tap="showModal" data-target="viewModal">+</view>
-				</block>
-			</cu-custom>
-		
+	<view class="content">
+		<cu-custom bgColor="bg-blacks" :isBack="false">
+			<block slot="right">
+				<image src="../../static/picture/fourLine.png" style="width: 30px;height: 30px;margin-left: 2%;" @tap="openDrawer"></image>
+			</block>
+			<block slot="right">
+				<view class="icon cuIcon-notice text-white" v-if="badge != 0" style="margin-left: -70%;">
+					<view class="cu-tag looknumber" style="margin-top: -2%;">
+						<block v-if="badge != 1">{{ badge > 99 ? '99+' : badge }}</block>
+					</view>
+				</view>
+			</block>
+			<block slot="right">
+
+			</block>
+			<block slot="content">{{address}}</block>
+			<block slot="right">
+				<view class="plus" @tap="showModal" data-target="viewModal">+</view>
+			</block>
+		</cu-custom>
+
 		<!-- 抽屉组件 -->
 		<div>
 			<drawer ref="drawer"></drawer>
@@ -182,7 +182,7 @@
 						<view class="redMaxText">max: {{ windpowerstationdetail.target_windSpeed_power.llglMax }}</view>
 					</view>
 				</view>
-				
+
 			</view>
 			<!--接入卡片-->
 			<view class="interfaceCard">
@@ -391,7 +391,7 @@
 				<view class="qiun-chart"><canvas canvas-id="canvasColumnStack" id="canvasColumnStack" class="chart" @touchstart="touchColumn"></canvas></view>
 			</view>
 			<!-- 风电场卡片 -->
-			
+
 			<view class="windStation">
 				<scroll-view scroll-x class="scrollWindStationCard">
 					<view class="windStationCardContainer">
@@ -900,20 +900,10 @@
 					index_curve_columnar_windSpeed_powermodule: ''
 				},
 				badge: 22,
-				drawerList: [{
-						name: '首页'
-					},
-					{
-						name: '状态监视'
-					},
-					{
-						name: '矩阵监视'
-					},
-					{
-						name: '人员监视'
-					}
-				],
+				drawerList: [],
+				permissionsInformation:[],
 				plusDrawerList: [],
+				leftNavigationtitle:'监视功能分组',
 				modalName: null,
 				address: '河北能源集团',
 				windPowerStationId: '',
@@ -946,7 +936,7 @@
 				monthAngrey: '',
 				yearOlive: '',
 				yearAngrey: '',
-				FDC:'CL_FDC',
+				FDC: 'CL_FDC',
 				socketTask_target_comprehensive_indicators: '',
 				socketTask_target_windSpeed_power: '',
 				socketTask_index_windturbine_status: '',
@@ -957,17 +947,18 @@
 				windpowerstationdetail: {
 					target_comprehensive_indicators: '',
 					target_windSpeed_power: '',
-					index_windturbine_status:'',
+					index_windturbine_status: '',
 					index_electricQuantity: '',
 					index_target_basic_indicators: ''
 				},
-				
+
 				module: true,
 				cardmodule: true
 			};
 		},
 		created: function() {
 			this.viewUserid();
+			this.monitoringAuthority();
 			this.address = this.getWindPowerStationNameToSessionStorage();
 
 			if (this.address == '') {
@@ -986,9 +977,9 @@
 			if (this.address == '康保风电场') {
 				this.FDC = 'KB_FDC';
 			}
-			uni.setStorageSync('windPowerStationId',this.FDC);
+			uni.setStorageSync('windPowerStationId', this.FDC);
+
 
-			
 		},
 		onLoad: function() {
 			let that = this;
@@ -999,29 +990,18 @@
 			this.cWidth = uni.upx2px(750);
 			this.cHeight = uni.upx2px(400);
 			this.getServerData();
-			this.getColumnData(); 
+			this.getColumnData();
 			this.windStationCardCWidth = 250;
 			this.windStationCardCHeight = 150;
-			/* 
-			
-			
-			
-			
-			
-			
-			 */
 			this.target_comprehensive_indicators();
 			this.index_electricQuantity();
-			
 			this.index_target_basic_indicators();
-			
 			this.index_curve_columnar_five_loss();
 			this.target_windSpeed_power();
 			this.index_windturbine_status();
 			this.getWindStationCardData();
 			this.index_curve_columnar_windSpeed_power();
-			this.index_windStation_card();  /* P6F8与P6F4冲突 */
-			
+			this.index_windStation_card(); /* P6F8与P6F4冲突 */
 		},
 		computed: {
 			backStageIp: function() {
@@ -1055,27 +1035,58 @@
 			}
 		},
 		methods: {
-			viewUserid:function(){
+			viewUserid: function() {
 				let _this = this;
-				_this.userid =uni.getStorageSync('userid')
+				_this.userid = uni.getStorageSync('userid')
 				//_this.userid = sessionStorage.getItem('userid');
 				uni.request({
-					url: 'http://' + this.backStageIp + ':' + this.backStagePort + '/GyeeorganController/GyeeOrganList?userid=' + _this.userid,
+					url: 'http://' + this.backStageIp + ':' + this.backStagePort + '/GyeeorganController/GyeeOrganList?userid=' +
+						_this.userid,
 					data: {},
 					method: 'GET',
 					success: function(res) {
-						for(let i=0;i<res.data.data.length;i++){
+						for (let i = 0; i < res.data.data.length; i++) {
 							// _this.name.push(res.data.data[i].describes);
 							// _this.windId.push(res.data.data[i].name);
 						}
-						for(let j=0;j<res.data.data.length;j++){
+						for (let j = 0; j < res.data.data.length; j++) {
 							var a = {};
-							_this.$set(a,"name",res.data.data[j].describes);
-							_this.$set(a,"windId",res.data.data[j].name);
+							_this.$set(a, "name", res.data.data[j].describes);
+							_this.$set(a, "windId", res.data.data[j].name);
 							_this.plusDrawerList.push(a);
 						}
 					},
-					})
+				})
+			},
+			monitoringAuthority: function() {
+				let _this = this;
+				uni.request({
+					url: 'http://' + this.backStageIp + ':' + this.backStagePort +
+						'/GyeepermissionController/GyeePermissionList?userid=' + _this.userid,
+					data: {},
+					method: 'GET',
+					success: function(res) {
+						console.log(res);
+						for (let i = 0; i < res.data.data.length; i++) {
+							if (res.data.data[i].describes == "监视") {
+								var b = {};
+								_this.$set(b, "gyeePermissionList", res.data.data[i].gyeePermissionList);
+								_this.permissionsInformation.push(b);
+								console.log(_this.permissionsInformation);
+								for (let k = 0; k < _this.permissionsInformation[0].gyeePermissionList.length; k++) {
+									if (_this.permissionsInformation[0].gyeePermissionList[k].parent == 1) {
+										var c = {};
+										var d = {};
+										_this.$set(c, "name", _this.permissionsInformation[0].gyeePermissionList[k].permisssionname);
+										_this.$set(c, "remark1",_this.permissionsInformation[0].gyeePermissionList[k].remark1);
+										_this.drawerList.push(c);
+									}
+								}
+								console.log(_this.drawerList)
+							}
+						}
+					}
+				})
 			},
 			async index_curve_columnar_five_loss() {
 				Date.prototype.Format = function(fmt) {
@@ -1941,14 +1952,15 @@
 						_this.showWindStationCardLineA1('windStationCanvasLineA', LineA);
 						// _this.showWindStationCardLineA1('windStationCanvasLineA', LineA);
 						_this.showWindStationCardLineA2('windStationCanvasLineB', LineB);
-						_this.showWindStationCardLineA3('windStationCanvasLineC', LineC);/* 
-						_this.showWindStationCardLineA4('windStationCanvasLineD', LineD);
-						_this.showWindStationCardLineA5('windStationCanvasLineE', LineE); */
+						_this.showWindStationCardLineA3('windStationCanvasLineC', LineC);
+						/* 
+												_this.showWindStationCardLineA4('windStationCanvasLineD', LineD);
+												_this.showWindStationCardLineA5('windStationCanvasLineE', LineE); */
 					});
 				});
 			},
 			openDrawer: function() {
-				this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList);
+				this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList,this.leftNavigationtitle);
 			},
 			closeDrawer: function() {
 				this.drawerIsShow = false;
@@ -2171,8 +2183,7 @@
 					],
 					series: [{
 							name: '功率',
-							data: [
-							],
+							data: [],
 							color: '#4BB94B',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2184,8 +2195,7 @@
 						},
 						{
 							name: '风速',
-							data: [
-							],
+							data: [],
 							color: '#E82E2F',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2197,8 +2207,7 @@
 						},
 						{
 							name: '理论功率',
-							data: [
-							],
+							data: [],
 							color: '#F5A83C',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2615,8 +2624,7 @@
 					],
 					series: [{
 							name: '功率',
-							data: [
-							],
+							data: [],
 							color: '#4BB94B',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2628,8 +2636,7 @@
 						},
 						{
 							name: '风速',
-							data: [
-							],
+							data: [],
 							color: '#E82E2F',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2641,8 +2648,7 @@
 						},
 						{
 							name: '理论功率',
-							data: [
-							],
+							data: [],
 							color: '#F5A83C',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2697,8 +2703,7 @@
 					],
 					series: [{
 							name: '功率',
-							data: [
-							],
+							data: [],
 							color: '#4BB94B',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2710,8 +2715,7 @@
 						},
 						{
 							name: '风速',
-							data: [
-							],
+							data: [],
 							color: '#E82E2F',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2723,8 +2727,7 @@
 						},
 						{
 							name: '理论功率',
-							data: [
-							],
+							data: [],
 							color: '#F5A83C',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2779,8 +2782,7 @@
 					],
 					series: [{
 							name: '功率',
-							data: [
-							],
+							data: [],
 							color: '#4BB94B',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2792,8 +2794,7 @@
 						},
 						{
 							name: '风速',
-							data: [
-							],
+							data: [],
 							color: '#E82E2F',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2805,8 +2806,7 @@
 						},
 						{
 							name: '理论功率',
-							data: [
-							],
+							data: [],
 							color: '#F5A83C',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2861,8 +2861,7 @@
 					],
 					series: [{
 							name: '功率',
-							data: [
-							],
+							data: [],
 							color: '#4BB94B',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2874,8 +2873,7 @@
 						},
 						{
 							name: '风速',
-							data: [
-							],
+							data: [],
 							color: '#E82E2F',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2887,8 +2885,7 @@
 						},
 						{
 							name: '理论功率',
-							data: [
-							],
+							data: [],
 							color: '#F5A83C',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2943,8 +2940,7 @@
 					],
 					series: [{
 							name: '功率',
-							data: [
-							],
+							data: [],
 							color: '#4BB94B',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2956,8 +2952,7 @@
 						},
 						{
 							name: '风速',
-							data: [
-							],
+							data: [],
 							color: '#E82E2F',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -2969,8 +2964,7 @@
 						},
 						{
 							name: '理论功率',
-							data: [
-							],
+							data: [],
 							color: '#F5A83C',
 							textColor: '#FFFFFF',
 							textSize: this.seriesTextSize,
@@ -3683,7 +3677,7 @@
 		font-size: 35px;
 		line-height: 45px;
 		text-align: right;
-		
+
 		margin-right: 2.5%;
 	}
 
@@ -4659,5 +4653,4 @@
 	.DrawerPage .cu-bar.tabbar .action {
 		flex: initial;
 	}
-	
 </style>