From c73e68680f1884ed9e2260ea9c5dcde8e4d48615 Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期三, 24 十月 2018 15:50:01 +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