hdw
2018-11-01 6639ea77d0cf5572e30472de3fb707ad06b9399c
设备状态记录查询
1个文件已修改
14 ■■■■ 已修改文件
gx_tieta/WebRoot/equip-stats-change.jsp 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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);
            });
            
            // 电池组