From d47e5aa87ae01d82b00a38216e3ac83dea50f3a8 Mon Sep 17 00:00:00 2001
From: hdw <496960745@qq.com>
Date: 星期一, 22 十月 2018 16:30:46 +0800
Subject: [PATCH] 实时和历史跳转设置

---
 gx_tieta/WebRoot/charge-test.jsp |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/gx_tieta/WebRoot/charge-test.jsp b/gx_tieta/WebRoot/charge-test.jsp
index 465ee8e..ebe89f4 100644
--- a/gx_tieta/WebRoot/charge-test.jsp
+++ b/gx_tieta/WebRoot/charge-test.jsp
@@ -3185,8 +3185,10 @@
 	$(function() {
 		$('body').on('click', '#nav a[href="control.jsp"]', function() {
 			var batt = getBattinfById();
-			//console.info(batt.StationId);
-			$(this).attr('href', 'control.jsp?battgroupId='+BattGroupId+'&stationId='+batt.StationId);
+			var province = batt.StationName1;
+			var city = batt.StationName2;
+			var home = batt.StationName;
+			$(this).attr('href', 'control.jsp?province='+province+'&city='+city+'&home='+home);
 		});
 	}); 
 	
@@ -4648,7 +4650,7 @@
 			var tmp = {
 				StationName1: home.StationName1,
 				StationName2: home.StationName2,
-				StationName3: home.StationName3,
+				StationName: home.StationName,
 				StationId: home.StationId
 			};
 			fourth(treeView, $(this).parent(), tmp);

--
Gitblit v1.9.1