From 9fc29bd426176d8aad6390214cc10bf86b64ac4d Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期二, 23 十月 2018 13:54:12 +0800 Subject: [PATCH] 修改确认框点击确认不隐藏的bug --- 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