...
|
...
|
@@ -2645,6 +2645,110 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', |
|
|
{field: 'adminPhone', title: '负责人电话', width: x_130, align: 'center', sort: true},
|
|
|
{field: 'state', title: '资源状态', width: x_110, align: 'center', sort: true, templet: '#resStateTpl'}
|
|
|
],
|
|
|
"TENCENT_CLOUD_PLAT": [
|
|
|
{field: 'ip', title: 'IP地址', width: x_130, align: 'center', sort: true},
|
|
|
{
|
|
|
field: 'resName', title: '资源名称', minWidth: x_300, sort: true,
|
|
|
templet: '#resindex_resName'
|
|
|
},
|
|
|
// {field: 'shortName', title: '别名', width: 100, align: 'center', sort: true, templet:'#shortNameTpl'},
|
|
|
{field: 'health', title: '健康状态', width: x_120, align: 'center', sort: true, templet: '#healthTpl'},
|
|
|
{field: 'memorySize', title: '内存大小', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.memorySize}} GB</div>'},
|
|
|
{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'}
|
|
|
],
|
|
|
"TENCENT_CLOUD_PLAT_PHYSICSHOST": [
|
|
|
{field: 'ip', title: 'IP地址', width: x_130, align: 'center', sort: true},
|
|
|
{
|
|
|
field: 'resName', title: '资源名称', minWidth: x_300, sort: true,
|
|
|
templet: '#resindex_resName'
|
|
|
},
|
|
|
// {field: 'shortName', title: '别名', width: 100, align: 'center', sort: true, templet:'#shortNameTpl'},
|
|
|
{field: 'health', title: '健康状态', width: x_120, align: 'center', sort: true, templet: '#healthTpl'},
|
|
|
{field: 'memorySize', title: '内存大小', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.memorySize}} GB</div>'},
|
|
|
{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'}
|
|
|
],
|
|
|
"TENCENT_CLOUD_PLAT_VIRTUALHOST": [
|
|
|
{field: 'ip', title: 'IP地址', width: x_130, align: 'center', sort: true},
|
|
|
{
|
|
|
field: 'resName', title: '资源名称', minWidth: x_300, sort: true,
|
|
|
templet: '#resindex_resName'
|
|
|
},
|
|
|
// {field: 'shortName', title: '别名', width: 100, align: 'center', sort: true, templet:'#shortNameTpl'},
|
|
|
{field: 'health', title: '健康状态', width: x_120, align: 'center', sort: true, templet: '#healthTpl'},
|
|
|
{field: 'memorySize', title: '内存大小', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.memorySize}} GB</div>'},
|
|
|
{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'}
|
|
|
],
|
|
|
"TENCENT_CLOUD_PLAT_RES_TDSQLMYSQL": [
|
|
|
{field: 'ip', title: 'IP地址', width: x_130, align: 'center', sort: true},
|
|
|
{
|
|
|
field: 'resName', title: '资源名称', minWidth: x_300, sort: true,
|
|
|
templet: '#resindex_resName'
|
|
|
},
|
|
|
// {field: 'shortName', title: '别名', width: 100, align: 'center', sort: true, templet:'#shortNameTpl'},
|
|
|
{field: 'health', title: '健康状态', width: x_120, align: 'center', sort: true, templet: '#healthTpl'},
|
|
|
{field: 'memorySize', title: '内存大小', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.memorySize}} GB</div>'},
|
|
|
{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'}
|
|
|
],
|
|
|
"TENCENT_CLOUD_PLAT_RES_REDIS": [
|
|
|
{field: 'ip', title: 'IP地址', width: x_130, align: 'center', sort: true},
|
|
|
{
|
|
|
field: 'resName', title: '资源名称', minWidth: x_300, sort: true,
|
|
|
templet: '#resindex_resName'
|
|
|
},
|
|
|
// {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'}
|
|
|
],
|
|
|
|
|
|
"TENCENT_CLOUD_PLAT_RES_CKAFKA": [
|
|
|
{field: 'ip', title: 'IP地址', width: x_130, align: 'center', sort: true},
|
|
|
{
|
|
|
field: 'resName', title: '资源名称', minWidth: x_300, sort: true,
|
|
|
templet: '#resindex_resName'
|
|
|
},
|
|
|
// {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'}
|
|
|
],
|
|
|
|
|
|
"TENCENT_CLOUD_PLAT_RES_DISK": [
|
|
|
{field: 'ip', title: 'IP地址', width: x_130, align: 'center', sort: true},
|
|
|
{
|
|
|
field: 'resName', title: '资源名称', minWidth: x_300, sort: true,
|
|
|
templet: '#resindex_resName'
|
|
|
},
|
|
|
// {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'}
|
|
|
],
|
|
|
},
|
|
|
/**
|
|
|
* 验证是否跳转详情页
|
...
|
...
|
|