...
|
...
|
@@ -123,7 +123,7 @@ |
|
|
title: "业务分类",
|
|
|
width:"110px",
|
|
|
formatter: function (value, rowData, rowIndex) {
|
|
|
return "<div style='padding:15px;'>"+rowData.name+"</div>";
|
|
|
return "<div>"+rowData.name+"</div>";
|
|
|
}
|
|
|
},
|
|
|
{
|
...
|
...
|
@@ -134,33 +134,33 @@ |
|
|
var array = rowData.url.split("\r\n");
|
|
|
var div = "";
|
|
|
for(var i=0;i<array.length;i++)
|
|
|
div = div+ "<div style='height:30px;padding:10px;'>"+array[i]+"</div>";
|
|
|
div = div+ "<div style='height:30px;'>"+array[i]+"</div>";
|
|
|
return div;
|
|
|
}
|
|
|
}
|
|
|
,
|
|
|
{
|
|
|
title: "CPU(%)",
|
|
|
width: "100px",
|
|
|
width: "80px",
|
|
|
// field: "url"
|
|
|
formatter: function (value, rowData, rowIndex) {
|
|
|
var array = rowData.cpu.split("\r\n");
|
|
|
var div = "";
|
|
|
for(var i=0;i<array.length;i++)
|
|
|
div = div+ "<div style='height:30px;padding:10px;'>"+array[i]+"</div>";
|
|
|
div = div+ "<div style='height:30px;'>"+array[i]+"</div>";
|
|
|
return div;
|
|
|
}
|
|
|
}
|
|
|
,
|
|
|
{
|
|
|
title: "可用/总内存(MB)",
|
|
|
width: "200px",
|
|
|
width: "180px",
|
|
|
// field: "url"
|
|
|
formatter: function (value, rowData, rowIndex) {
|
|
|
var array = rowData.mem.split("\r\n");
|
|
|
var div = "";
|
|
|
for(var i=0;i<array.length;i++)
|
|
|
div = div+ "<div style='height:30px;padding:10px;'>"+array[i]+"</div>";
|
|
|
div = div+ "<div style='height:30px;'>"+array[i]+"</div>";
|
|
|
return div;
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -173,7 +173,7 @@ |
|
|
var array = rowData.net.split("\r\n");
|
|
|
var div = "";
|
|
|
for(var i=0;i<array.length;i++)
|
|
|
div = div+ "<div style='height:30px;padding:10px;'>"+array[i]+"</div>";
|
|
|
div = div+ "<div style='height:30px;'>"+array[i]+"</div>";
|
|
|
return div;
|
|
|
}
|
|
|
}, {
|
...
|
...
|
@@ -184,7 +184,7 @@ |
|
|
var array = rowData.curConnections.split("\r\n");
|
|
|
var div = "";
|
|
|
for(var i=0;i<array.length;i++)
|
|
|
div = div+ "<div style='height:30px;padding:10px;'>"+array[i]+"</div>";
|
|
|
div = div+ "<div style='height:30px;'>"+array[i]+"</div>";
|
|
|
return div;
|
|
|
}
|
|
|
}, {
|
...
|
...
|
@@ -195,7 +195,7 @@ |
|
|
var array = rowData.upTime.split("\r\n");
|
|
|
var div = "";
|
|
|
for(var i=0;i<array.length;i++)
|
|
|
div = div+ "<div style='height:30px;padding:10px;'>"+array[i]+"</div>";
|
|
|
div = div+ "<div style='height:30px;'>"+array[i]+"</div>";
|
|
|
return div;
|
|
|
}
|
|
|
}, {
|
...
|
...
|
@@ -206,7 +206,7 @@ |
|
|
var array = rowData.cmdGet.split("\r\n");
|
|
|
var div = "";
|
|
|
for(var i=0;i<array.length;i++)
|
|
|
div = div+ "<div style='height:30px;padding:10px;'>"+array[i]+"</div>";
|
|
|
div = div+ "<div style='height:30px;'>"+array[i]+"</div>";
|
|
|
return div;
|
|
|
}
|
|
|
}, {
|
...
|
...
|
@@ -217,7 +217,7 @@ |
|
|
var array = rowData.cmdSet.split("\r\n");
|
|
|
var div = "";
|
|
|
for(var i=0;i<array.length;i++)
|
|
|
div = div+ "<div style='height:30px;padding:10px;'>"+array[i]+"</div>";
|
|
|
div = div+ "<div style='height:30px;'>"+array[i]+"</div>";
|
|
|
return div;
|
|
|
}
|
|
|
}, {
|
...
|
...
|
@@ -228,7 +228,7 @@ |
|
|
var array = rowData.hitRate.split("\r\n");
|
|
|
var div = "";
|
|
|
for(var i=0;i<array.length;i++)
|
|
|
div = div+ "<div style='height:30px;padding:10px;'>"+array[i]+"</div>";
|
|
|
div = div+ "<div style='height:30px;'>"+array[i]+"</div>";
|
|
|
return div;
|
|
|
}
|
|
|
}, {
|
...
|
...
|
@@ -239,7 +239,7 @@ |
|
|
var array = rowData.useMemory.split("\r\n");
|
|
|
var div = "";
|
|
|
for(var i=0;i<array.length;i++)
|
|
|
div = div+ "<div style='height:30px;padding:10px;'>"+array[i]+"</div>";
|
|
|
div = div+ "<div style='height:30px;'>"+array[i]+"</div>";
|
|
|
return div;
|
|
|
}
|
|
|
}, {
|
...
|
...
|
@@ -250,18 +250,18 @@ |
|
|
var array = rowData.maxMemory.split("\r\n");
|
|
|
var div = "";
|
|
|
for(var i=0;i<array.length;i++)
|
|
|
div = div+ "<div style='height:30px;padding:10px;'>"+array[i]+"</div>";
|
|
|
div = div+ "<div style='height:30px;'>"+array[i]+"</div>";
|
|
|
return div;
|
|
|
}
|
|
|
}, {
|
|
|
title: "当前数量",
|
|
|
width:"80px",
|
|
|
width:"90px",
|
|
|
// field: "curItems"
|
|
|
formatter: function (value, rowData, rowIndex) {
|
|
|
var array = rowData.curItems.split("\r\n");
|
|
|
var div = "";
|
|
|
for(var i=0;i<array.length;i++)
|
|
|
div = div+ "<div style='height:30px;padding:10px;'>"+array[i]+"</div>";
|
|
|
div = div+ "<div style='height:30px;'>"+array[i]+"</div>";
|
|
|
return div;
|
|
|
}
|
|
|
}],
|
...
|
...
|
|