From 89cc717e3ccd49d49539b25d7a8554126504b51f Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期五, 02 十一月 2018 08:53:20 +0800 Subject: [PATCH] 电池配组记录区/县添加 --- gx_tieta/WebRoot/equip-stats-change.jsp | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/gx_tieta/WebRoot/equip-stats-change.jsp b/gx_tieta/WebRoot/equip-stats-change.jsp index 249d49c..a3dfc79 100644 --- a/gx_tieta/WebRoot/equip-stats-change.jsp +++ b/gx_tieta/WebRoot/equip-stats-change.jsp @@ -317,6 +317,7 @@ var second = GLOBAL.pages.siderbar.second; // 浜岀骇瀵艰埅 var third = GLOBAL.pages.siderbar.third; // 涓夌骇瀵艰埅 var fourth = GLOBAL.pages.siderbar.fourth; // 鍥涚骇瀵艰埅 + var fifth = GLOBAL.pages.siderbar.fifth; // 浜旂骇瀵艰埅 var treeView = new TreeView($('#lside')); $('#lside').width($('#ele_content').width()); treeView.setContainer(); @@ -325,7 +326,7 @@ handles: 'e', maxWidth: 520, minWidth: 200, - alsoResize: $('#lside'), + //alsoResize: $('#lside'), resize:function() { treeView.setContainer(); } @@ -340,11 +341,19 @@ second(treeView, $(this).parent(), province); }); - // 甯�->鏈烘埧 + // 甯�->鍖�/鍘� treeView.ele.on('click', '.city', function() { var city = $(this).data('attr'); third(treeView, $(this).parent(), city); }); + + // 甯�->鏈烘埧 + treeView.ele.on('click', '.county', function() { + var city = $(this).data('attr'); + fourth(treeView, $(this).parent(), city); + }); + + battinlist = []; // 鏈烘埧->鐢垫睜缁� @@ -353,10 +362,11 @@ var tmp = { StationName1: home.StationName1, StationName2: home.StationName2, + StationName5: home.StationName5, StationName: home.StationName, StationId: home.StationId }; - fourth(treeView, $(this).parent(), tmp); + fifth(treeView, $(this).parent(), tmp); }); // 鐢垫睜缁� -- Gitblit v1.9.1