wkyy 1 yıl önce
ebeveyn
işleme
1efc0ed037

+ 2 - 2
config/.env.dev.js

@@ -3,9 +3,9 @@ const UNI_APP = {
 	//BASE_URL: 'http://36.134.122.108/railroad-server/',
 
 	// BASE_URL: 'https://charging.xiaoxinda.com/electric-manager-api/', //test
-	BASE_URL: 'https://dgj.hbjp.com.cn/electric-manager-api/',
+	// BASE_URL: 'https://dgj.hbjp.com.cn/electric-manager-api/',
 	
-	// BASE_URL:'http://192.168.77.162:8081/electric-manager-api/', //sz
+	BASE_URL:'http://192.168.77.162:8081/electric-manager-api/', //sz
 	//BASE_URL:'http://192.168.77.222:8086/railroad-server/',
 	
 	NODE_ENV :"dev",

+ 3 - 2
pages/equipmentDataMonitoring/electronicMonitoring.vue

@@ -141,7 +141,7 @@
 
 				</view>
 			</view>
-			<view style="text-align: center;background: white;">当日电量合计:{{sumQuantity}}度</view>
+			<view style="text-align: left;background: white;">当日电量合计:{{sumQuantity}}度</view>
 		</view>
 		<!-- 异常波动 -->
 		<view class="abnormal" v-if="abnormalRecordsList.length != 0">
@@ -714,7 +714,8 @@
 						uni.hideLoading();
 					}
 					this.hourMap = response.data.hourMap;
-					this.sumQuantity = response.data.allKwh;
+					this.sumQuantity = response.data.kwhMap.kwh;
+					
 					this.getBarCharts(this.hourMap, interval);
 
 					if (!interval) {