Browse Source

问题修改

SunZehao 1 year ago
parent
commit
5cbeacae66
2 changed files with 10 additions and 12 deletions
  1. 7 8
      pages/home/index.vue
  2. 3 4
      pages/home/stationIndex.vue

+ 7 - 8
pages/home/index.vue

@@ -392,8 +392,8 @@
 								},
 								{
 									leftName: '利用小时',
-									leftValue: Math.ceil(datas.fdylyxs + datas.fdnlyxs),
-									leftCode: '(万kWh)'
+									leftValue: Math.ceil(datas.fdnlyxs),
+									leftCode: '(h/年)'
 								}
 							]
 							that.windPowerData = [{
@@ -436,11 +436,10 @@
 				let that = this
 				cockpitProjectplanApi({
 					wpId: 'KGDL_FGS0'
-				}).then(res =>{
+				}).then(res => {
 					if (res && res.data) {
 						let item = res.data.proplanmap
-						let arr2  = [
-							{
+						let arr2 = [{
 								leftName: '日发电量',
 								leftValue: Math.ceil(item.qy_r_sjdl / 10000),
 								leftCode: '(万kWh)'
@@ -452,7 +451,7 @@
 							},
 							{
 								leftName: '年发电量',
-								leftValue: Math.ceil(item.qy_n_sjdl / 10000 /10000),
+								leftValue: Math.ceil(item.qy_n_sjdl / 10000 / 10000),
 								leftCode: '(亿kWh)'
 							},
 						]
@@ -473,7 +472,7 @@
 										let obj = {
 											name: item.wpname,
 											fs: Math.ceil(item.spped),
-											sjgl: Math.ceil(item.sjgl/1000),
+											sjgl: Math.ceil(item.sjgl / 1000),
 											cxgl: Math.ceil(item.cxgl)
 										}
 										this.windData.push(obj)
@@ -481,7 +480,7 @@
 										let obj = {
 											name: item.wpname,
 											gzqd: Math.ceil(item.spped),
-											sjgl: Math.ceil(item.sjgl/1000),
+											sjgl: Math.ceil(item.sjgl / 1000),
 											cxgl: Math.ceil(item.cxgl)
 										}
 										this.powerData.push(obj)

+ 3 - 4
pages/home/stationIndex.vue

@@ -396,7 +396,7 @@
 						}, {
 							name: '负荷率',
 							value: Math.ceil(datas.fhl),
-							code: '(万kW)',
+							code: '(MW)',
 							min: 0,
 							max: 100
 						}]
@@ -418,11 +418,10 @@
 				let that = this
 				cockpitProjectplanApi({
 					wpId: that.stationWpid
-				}).then(res =>{
+				}).then(res => {
 					if (res && res.data) {
 						let item = res.data.proplanmap
-						let arr2  = [
-							{
+						let arr2 = [{
 								leftName: '日发电量',
 								leftValue: Math.ceil(item.qy_r_sjdl / 10000),
 								leftCode: '(万kWh)'