From 6639ea77d0cf5572e30472de3fb707ad06b9399c Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期四, 01 十一月 2018 13:12:40 +0800 Subject: [PATCH] 设备状态记录查询 --- gx_tieta/WebRoot/equip-stats-change.jsp | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gx_tieta/WebRoot/equip-stats-change.jsp b/gx_tieta/WebRoot/equip-stats-change.jsp index cffaf4f..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(); @@ -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