日志特殊字段私有字段增加排序,截取过长调用配置方法,流量统计处理带宽数据

This commit is contained in:
zhanghongqing
2018-10-31 19:48:27 +08:00
parent 1f39824324
commit fd466e6c52
38 changed files with 322 additions and 327 deletions

View File

@@ -10,7 +10,7 @@ $(document).ready(function() {
this.title=str;
});
var fontSize = 0;
$("table.logTb th").each(function(j){
/* $("table.logTb th").each(function(j){
// 判断是否支持currentStyle属性 是IE 否FF or Chrome
var finalStyle = this.currentStyle ? this.currentStyle : document.defaultView.getComputedStyle(this , null);
fontSize = (finalStyle.fontSize).replace("px","");
@@ -30,9 +30,9 @@ $(document).ready(function() {
}
});
});
});
});*/
var tdString = "";
/* var tdString = "";
$("table.logTb tbody tr").each(function(){
tdString = $(this).find('td:first').text();
});
@@ -47,7 +47,7 @@ $(document).ready(function() {
var tdPx = getPixelsCount(tdString,fontSize)+45;
this.setAttribute('width',tdPx+'px');
}
});
});*/
// 添加由配置界面跳转到日志查询界面后的返回按钮
var isLogTotalSearch = $("#isLogTotalSearch").val();