...
|
...
|
@@ -2608,6 +2608,22 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', |
|
|
{field: 'resTypeName', title: '资源类型', minWidth: x_110, align: 'center'},
|
|
|
{field: 'state', title: '资源状态', minWidth: x_110, align: 'center', sort: true, templet: '#resStateTpl'}
|
|
|
],
|
|
|
"DATABASE_OGG": [
|
|
|
{field: 'ip', title: 'IP地址', width: x_130, align: 'center', sort: true},
|
|
|
{
|
|
|
field: 'resName', title: '资源名称', minWidth: x_300, sort: true,
|
|
|
templet: '#resindex_resName'
|
|
|
//lsq 资源名称用模板 2022-08-29
|
|
|
// templet: '<div><span data-zymc="{{ d.resId }}" data-restype="{{d.resType}}" data-name="{{d.resName}}" data-childrennum="{{d.childrenNum}}" data-ip="{{ d.ip }}" data-resTypeName="{{ d.resTypeName }}" data-admin="{{ d.adminName }}" data-pingenable="{{d.pingEnable}}" class="layui-table-link">{{ d.resName }}</span></div>'
|
|
|
},
|
|
|
// {field: 'shortName', title: '别名', width: 100, align: 'center', sort: true, templet:'#shortNameTpl'},
|
|
|
{field: 'health', title: '健康状态', width: x_120, align: 'center', sort: true, templet: '#healthTpl'},
|
|
|
{field: 'lastColTime', title: '最近采集时间', width: x_160, align: 'center', sort: true},
|
|
|
{field: 'linkState', title: '连接状态', align: 'center', width: x_120, templet: '#linkStateTpl', sort: true},
|
|
|
{field: 'adminName', title: '负责人', width: x_130, align: 'center', sort: true},
|
|
|
{field: 'adminPhone', title: '负责人电话', width: x_130, align: 'center', sort: true},
|
|
|
{field: 'state', title: '资源状态', width: x_110, align: 'center', sort: true, templet: '#resStateTpl'}
|
|
|
],
|
|
|
},
|
|
|
/**
|
|
|
* 验证是否跳转详情页
|
...
|
...
|
|