diff --git a/WebRoot/main.jsp b/WebRoot/main.jsp index 73e2c1d..e81c4fb 100644 --- a/WebRoot/main.jsp +++ b/WebRoot/main.jsp @@ -618,29 +618,6 @@ html, body { %> - - - - - -
@@ -649,62 +626,22 @@ html, body { document.body.style.overflow="hidden"; document.body.style.overflowX="hidden"; document.body.style.overflowY="hidden"; - - /* //以下代码解决了easy-ui报错 can't read property msie of undefined - jQuery.browser={};(function(){jQuery.browser.msie=false; jQuery.browser.version=0;if(navigator.userAgent.match(/MSIE ([0-9]+)./)){ jQuery.browser.msie=true;jQuery.browser.version=RegExp.$1;}})(); - - $(function(){ - //告警节点列表初始化 - $("#nodeList").dialog({ - title:"i18n_st.nodeList.title_n81i", - resizable:true, - width:1024, - height:600 - }); - console.log("123213213213") - }) - - - function getDetectInfo(id,type,showStatus){ - //根据类型的不同 判断节点或节点组的查询条件 - var url =""; - var url2=""; - if(type==2){ - url =""; - url2=""; - } - //异常情况,显示紧急告警列表,否则不显示 - if(showStatus == 1){ - $("#title").show(); - $("#I4").show(); - $("#hr").show(); - $("#I4").attr("src",url2); - }else{ - $("#title").hide(); - $("#I4").hide(); - $("#hr").hide(); - } - - $("#I5").attr("src",url);//由于所有数据列表不会出现隐藏的情况,所以标题的确定就有I5来负责 -} - - - function setDivTitle(groupName) { - if(groupName!='undefined' && groupName!=null && groupName!="") { - $("#nodeList").dialog({ - title:groupName+" i18n_st.text.monitorData_n81i" - }); - }else { - $("#nodeList").dialog({ - title:"i18n_st.text.monitorData_n81i" - }); - } - $("#nodeList").dialog("open"); -} - // iframe切换关闭拓扑图的节点数据弹出框 - function closeTopo(){ - $("#nodeList").dialog("close"); - } */ + diff --git a/WebRoot/page/show/nodeGroup/newShowTopo.jsp b/WebRoot/page/show/nodeGroup/newShowTopo.jsp index 212369b..6715ede 100644 --- a/WebRoot/page/show/nodeGroup/newShowTopo.jsp +++ b/WebRoot/page/show/nodeGroup/newShowTopo.jsp @@ -319,37 +319,46 @@ function newFlexionalLink(nodeA, nodeZ, text, dashedPattern,direction){ $(function(){ //告警节点列表初始化 - $("#nodeList").dialog({ + /* $("#nodeList").dialog({ title:"i18n_st.nodeList.title_n81i", resizable:true, width:1024, height:600 }); - console.log("123213213213") + console.log("123213213213") */ }) - function getDetectInfo(id,type,showStatus){ - //根据类型的不同 判断节点或节点组的查询条件 - var url =""; - var url2=""; - if(type==2){ - url =""; - url2=""; - } +function getDetectInfo(id,type,showStatus){ + //根据类型的不同 判断节点或节点组的查询条件 + var url =""; + var url2=""; + if(type==2){ + url =""; + url2=""; + } //异常情况,显示紧急告警列表,否则不显示 if(showStatus == 1){ - $("#title").show(); - $("#I4").show(); - $("#hr").show(); - $("#I4").attr("src",url2); + //$("#title").show(); + top.$("#I4").show(); + top.$("#hr").show(); + top.$("#I4").attr("src",url2); }else{ - $("#title").hide(); - $("#I4").hide(); - $("#hr").hide(); + //$("#title").hide(); + top.$("#I4").hide(); + top.$("#hr").hide(); } - $("#I5").attr("src",url);//由于所有数据列表不会出现隐藏的情况,所以标题的确定就有I5来负责 + top.$("#I5").attr("src",url);//由于所有数据列表不会出现隐藏的情况,所以标题的确定就有I5来负责 + parent.layer.open({ + type: 1, + title: "i18n_st.text.policy_n81i", + area:['1024px', '600px'], + shade: 0.6, + closeBtn: 1, + maxmin:true, + content: top.$("#nodeList") + }); }