日志特殊字段私有字段增加排序,截取过长调用配置方法,流量统计处理带宽数据
This commit is contained in:
@@ -33,7 +33,7 @@ $(function(){
|
||||
$("form input[name$='cfgKeywords']").attr("maxlength","1024");
|
||||
$("form input[class~='domainCheck']").attr("maxlength","1024");
|
||||
//截取过长的文字 使用id选择器;例如:tab对象->tr->td对象. 排除日志table .logTb
|
||||
$("#contentTable").not(".logTb").find("td").each(function(i){
|
||||
$("#contentTable").find("td").each(function(i){
|
||||
//获取td当前对象的文本,如果长度大于25;
|
||||
if($(this).text().trim().length>28){
|
||||
//给td设置title属性,并且设置td的完整值.给title属性.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* logs page */
|
||||
table.logTb {
|
||||
/* table.logTb {
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ table.logTb td ~td {
|
||||
-khtml-text-overflow: ellipsis;
|
||||
-moz-text-overflow: ellipsis;
|
||||
-webkit-text-overflow: ellipsis;
|
||||
}
|
||||
} */
|
||||
/*列表标题首字母大写 */
|
||||
table thead tr th{
|
||||
text-transform: capitalize;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user