...
|
...
|
@@ -208,7 +208,7 @@ layui.define(['jquery','tree', 'treeTable', 'table', 'form', 'laydate', 'admin', |
|
|
inside: false,
|
|
|
show:true,
|
|
|
textStyle: {
|
|
|
color: '#000'
|
|
|
color: '#a3a3a4'
|
|
|
},
|
|
|
rotate:60
|
|
|
},
|
...
|
...
|
@@ -229,7 +229,7 @@ layui.define(['jquery','tree', 'treeTable', 'table', 'form', 'laydate', 'admin', |
|
|
},
|
|
|
axisLabel: {
|
|
|
textStyle: {
|
|
|
color: '#999'
|
|
|
color: '#a3a3a4'
|
|
|
},
|
|
|
formatter:'{value}条'
|
|
|
}
|
...
|
...
|
@@ -247,9 +247,9 @@ layui.define(['jquery','tree', 'treeTable', 'table', 'form', 'laydate', 'admin', |
|
|
color: new echarts.graphic.LinearGradient(
|
|
|
0, 0, 0, 1,
|
|
|
[
|
|
|
{offset: 0, color: '#83bff6'},
|
|
|
{offset: 0.5, color: '#188df0'},
|
|
|
{offset: 1, color: '#188df0'}
|
|
|
{offset: 0, color: '#1e90ff'},
|
|
|
{offset: 0.5, color: '#1e90ff'},
|
|
|
{offset: 1, color: '#1e90ff'}
|
|
|
]
|
|
|
)
|
|
|
},
|
...
|
...
|
@@ -273,9 +273,9 @@ layui.define(['jquery','tree', 'treeTable', 'table', 'form', 'laydate', 'admin', |
|
|
color: new echarts.graphic.LinearGradient(
|
|
|
0, 0, 0, 1,
|
|
|
[
|
|
|
{offset: 0, color: '#2378f7'},
|
|
|
{offset: 0.7, color: '#2378f7'},
|
|
|
{offset: 1, color: '#83bff6'}
|
|
|
{offset: 0, color: '#1e90ff'},
|
|
|
{offset: 0.7, color: '#1e90ff'},
|
|
|
{offset: 1, color: '#1e90ff'}
|
|
|
]
|
|
|
)
|
|
|
}
|
...
|
...
|
@@ -306,9 +306,9 @@ layui.define(['jquery','tree', 'treeTable', 'table', 'form', 'laydate', 'admin', |
|
|
}
|
|
|
var html = `
|
|
|
<div class="log-content-line1">
|
|
|
<div style="width: 25%"><span>IP : </span>${item.host == null ? '-' : item.host}</div>
|
|
|
<div style="width: 25%"><span>类型 : </span>${item.type == null ? '-' : item.type}</div>
|
|
|
<div style="width: 50%"><span>标签 : </span><span>${item.tags == null || !item.tags? '-' : item.tags
|
|
|
<div style="width: 33.3%"><span>IP : </span >${item.host == null ? '-' : item.host}</div>
|
|
|
<div style="width: 33.3%"><span>类型 : </span>${item.type == null ? '-' : item.type}</div>
|
|
|
<div style="width: 33.3%"><span>标签 : </span><span>${item.tags == null || !item.tags? '-' : item.tags
|
|
|
}</span></div>
|
|
|
</div>
|
|
|
<div class="log-content-line2">${item.msg == null ? item.contents : item.msg}</div>
|
...
|
...
|
@@ -323,7 +323,7 @@ layui.define(['jquery','tree', 'treeTable', 'table', 'form', 'laydate', 'admin', |
|
|
|
|
|
var cols = [
|
|
|
{type: 'numbers', title: '序号', align: 'center'},
|
|
|
{field: 'datetime', title: '时间', width: 180, height: '60px', align: 'center', sort: false},
|
|
|
{field: 'datetime', title: '时间', width: 280, height: '60px', align: 'center', sort: false},
|
|
|
{
|
|
|
field: 'contents1', title: '事件', align: 'center', sort: false, templet: function (d) {
|
|
|
return formartContents(d);
|
...
|
...
|
|