diff options
| author | 段冬梅 <[email protected]> | 2018-12-09 18:14:22 +0800 |
|---|---|---|
| committer | 段冬梅 <[email protected]> | 2018-12-09 18:14:22 +0800 |
| commit | 936f07d2355124687c7d0a040977ee4899a87b02 (patch) | |
| tree | a0d1bac47cbfa7e2a4357f92b235fef8dbd08062 /src/main/webapp/static/global/scripts | |
| parent | fb4924680edff50eff3f149ffa0c6f064e459c2d (diff) | |
修改DNAT策略下发compildId,APP特征Payload、HTTP、SSL IP域信息展示.
Diffstat (limited to 'src/main/webapp/static/global/scripts')
| -rw-r--r-- | src/main/webapp/static/global/scripts/pzLog.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/webapp/static/global/scripts/pzLog.js b/src/main/webapp/static/global/scripts/pzLog.js index 1871377..cd20586 100644 --- a/src/main/webapp/static/global/scripts/pzLog.js +++ b/src/main/webapp/static/global/scripts/pzLog.js @@ -114,7 +114,7 @@ var toLogSearch = function(index){ var date=$(this).attr("date"); var pathName=window.document.location.pathname.substring(0,window.document.location.pathname.indexOf("/nis")+4); - switchMenu("152"); + switchMenu("152",functionId); window.location.href = pathName+"/toLogSearch?service="+serviceId+"&functionId="+functionId+"&cfgId="+compileId+"&date="+date+"&isLogTotalSearch=yes"; } @@ -122,7 +122,7 @@ var toLogSearch = function(index){ } -var switchMenu = function(topMenuId){ +var switchMenu = function(topMenuId,functionId){ // 顶部菜单切换 menuId: Policies/86 Logs/152 $(".hor-menu ul li",parent.document).each(function(){ var id = $(this).children("a").attr("id"); @@ -144,6 +144,9 @@ var switchMenu = function(topMenuId){ middleMenu.push($(this).attr("menu-name")); } }); + if(functionId == 8){ + middleMenu.pop(); + } // 左侧菜单切换 $(".page-sidebar",parent.document).find("ul[id]").each(function(){ |
