1.修复窗口大小改变时表头可能出错的问题

2.将拓扑、3d机房的弹框改为动态改变大小
This commit is contained in:
chenjinsong
2018-10-09 11:30:10 +08:00
parent 3d4bcf43f5
commit c2cf40da87
5 changed files with 29 additions and 15 deletions

View File

@@ -327,13 +327,13 @@
}
}
function ieBrowser(){
if($.browser.msie){
/* if($.browser.msie){
if($.browser.version.split('.')[0]<=7){
return false;
}else{
return true;//ie8+
}
}
} */
}
//程辉 2013-5-8 新增 导出当前页

View File

@@ -333,10 +333,13 @@ function getDetectInfo(id,type,showStatus){
}
top.$("#I5").attr("src",url);//由于所有数据列表不会出现隐藏的情况所以标题的确定就有I5来负责
var thisheight = $(document).height()*0.9;
var thiswidth = $(document).width()*0.9;
parent.layer.open({
type: 1,
title: "i18n_st.text.policy_n81i",
area:['1024px', '600px'],
area:[thiswidth + 'px', thisheight + 'px'],
shade: 0.6,
closeBtn: 1,
maxmin:true,

View File

@@ -455,7 +455,8 @@ body {
window.top.layer.open({
type: 1,
title: params[1],
area:['206px', 'auto'],
area:['206px', ''],
scrollbar: true,
content: window.top.$("#nodeBoxs")
})
}
@@ -470,13 +471,22 @@ body {
}else if(nodeType == 1){
var url ="<c:url value='/detection/detectionWarning.do?action=queryNE&ip="+nodeip+"&levelAlarm=1"+param+"+&type=3Droom'/>";
}
var thisheight = $(document).height()*0.9;
var thiswidth = $(document).width()*0.9;
window.top.layer.open({
type: 1,
area:['900px', '600px'],
maxmin:true,
area: [thiswidth + 'px', thisheight + 'px'],
scrollbar: true,
content: window.top.$("#alarmInfo")
})
window.top.$("#I6").html("");
window.top.$("#I6").attr("src",url);
window.top.$("#I6").load(function(){
var main = window.top.$("#I6");
main.height(thisheight);
main.width(thiswidth);
});
}
/* function getAlarmInfo(param,nodeip,nodeType){