From 5e8dac67107b19bfdffa269c97b6d2b7c66059f5 Mon Sep 17 00:00:00 2001 From: 81041 <81041@192.168.10.30> Date: 星期二, 23 十月 2018 11:02:35 +0800 Subject: [PATCH] 排序 --- gx_tieta/WebRoot/charge-test.jsp | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gx_tieta/WebRoot/charge-test.jsp b/gx_tieta/WebRoot/charge-test.jsp index 5b6373a..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); }); }); @@ -4646,6 +4648,9 @@ treeView.ele.on('click', '.home', function() { var home = $(this).data('attr'); var tmp = { + StationName1: home.StationName1, + StationName2: home.StationName2, + StationName: home.StationName, StationId: home.StationId }; fourth(treeView, $(this).parent(), tmp); -- Gitblit v1.9.1