|
@@ -366,37 +366,37 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', |
|
@@ -366,37 +366,37 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', |
366
|
"HUAWEI_CLOUD_PHYSICSHOST": [
|
366
|
"HUAWEI_CLOUD_PHYSICSHOST": [
|
367
|
//{type: 'numbers', title: '序号', align: 'center', fixed: 'left'},
|
367
|
//{type: 'numbers', title: '序号', align: 'center', fixed: 'left'},
|
368
|
{
|
368
|
{
|
369
|
- field: 'resName', title: '资源名称', minWidth: 250, sort: true,
|
369
|
+ field: 'resName', title: '资源名称', minWidth: x_250, sort: true,
|
370
|
templet: '#resindex_resName'
|
370
|
templet: '#resindex_resName'
|
371
|
},
|
371
|
},
|
372
|
- {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true},
|
372
|
+ {field: 'ip', title: 'IP地址', minWidth: x_130, align: 'center', sort: true},
|
373
|
{field: 'cpuRate', title: 'CPU使用率', align: 'center', minWidth: x_130, templet: '#cpuRateTpl', sort: true},
|
373
|
{field: 'cpuRate', title: 'CPU使用率', align: 'center', minWidth: x_130, templet: '#cpuRateTpl', sort: true},
|
374
|
{field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_130, templet: '#memoryRateTpl', sort: true},
|
374
|
{field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_130, templet: '#memoryRateTpl', sort: true},
|
375
|
- {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'},
|
|
|
376
|
- {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true},
|
|
|
377
|
- {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true},
|
|
|
378
|
- {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'},
|
|
|
379
|
- {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'},
|
|
|
380
|
- {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true},
|
375
|
+ {field: 'resTypeName', title: '资源类型', minWidth: x_110, align: 'center'},
|
|
|
376
|
+ {field: 'adminName', title: '负责人', minWidth: x_120, align: 'center', sort: true},
|
|
|
377
|
+ {field: 'adminPhone', title: '负责人电话', minWidth: x_120, align: 'center', sort: true},
|
|
|
378
|
+ {field: 'state', title: '资源状态', minWidth: x_120, align: 'center', sort: true, templet: '#resStateTpl'},
|
|
|
379
|
+ {field: 'health', title: '健康状态', minWidth: x_120, align: 'center', sort: true, templet: '#healthTpl'},
|
|
|
380
|
+ {field: 'lastColTime', title: '最近采集时间', minWidth: x_160, align: 'center', sort: true},
|
381
|
// 2021-11-22 徐毫杰 连接状态无数据改成展示主机状态
|
381
|
// 2021-11-22 徐毫杰 连接状态无数据改成展示主机状态
|
382
|
{field: 'hostState', title: '主机状态', align: 'center', minWidth: x_110, templet: '#hostStateTpl', sort: true}
|
382
|
{field: 'hostState', title: '主机状态', align: 'center', minWidth: x_110, templet: '#hostStateTpl', sort: true}
|
383
|
],
|
383
|
],
|
384
|
"HUAWEI_CLOUD_VIRTUALHOST": [
|
384
|
"HUAWEI_CLOUD_VIRTUALHOST": [
|
385
|
//{type: 'numbers', title: '序号', align: 'center', fixed: 'left'},
|
385
|
//{type: 'numbers', title: '序号', align: 'center', fixed: 'left'},
|
386
|
{
|
386
|
{
|
387
|
- field: 'resName', title: '资源名称', minWidth: 250, sort: true,
|
387
|
+ field: 'resName', title: '资源名称', minWidth: x_250, sort: true,
|
388
|
templet: '#resindex_resName'
|
388
|
templet: '#resindex_resName'
|
389
|
},
|
389
|
},
|
390
|
- {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true},
|
390
|
+ {field: 'ip', title: 'IP地址', minWidth: x_130, align: 'center', sort: true},
|
391
|
{field: 'cpuRate', title: 'CPU使用率', align: 'center', minWidth: x_130, templet: '#cpuRateTpl', sort: true},
|
391
|
{field: 'cpuRate', title: 'CPU使用率', align: 'center', minWidth: x_130, templet: '#cpuRateTpl', sort: true},
|
392
|
{field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_130, templet: '#memoryRateTpl', sort: true},
|
392
|
{field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_130, templet: '#memoryRateTpl', sort: true},
|
393
|
- {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'},
|
|
|
394
|
- {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true},
|
|
|
395
|
- {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true},
|
|
|
396
|
- {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'},
|
|
|
397
|
- {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'},
|
|
|
398
|
- {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true},
|
|
|
399
|
- {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true}
|
393
|
+ {field: 'resTypeName', title: '资源类型', minWidth: x_110, align: 'center'},
|
|
|
394
|
+ {field: 'adminName', title: '负责人', minWidth: x_120, align: 'center', sort: true},
|
|
|
395
|
+ {field: 'adminPhone', title: '负责人电话', minWidth: x_130, align: 'center', sort: true},
|
|
|
396
|
+ {field: 'state', title: '资源状态', minWidth: x_120, align: 'center', sort: true, templet: '#resStateTpl'},
|
|
|
397
|
+ {field: 'health', title: '健康状态', minWidth: x_120, align: 'center', sort: true, templet: '#healthTpl'},
|
|
|
398
|
+ {field: 'lastColTime', title: '最近采集时间', minWidth: x_160, align: 'center', sort: true},
|
|
|
399
|
+ {field: 'linkState', title: '连接状态', align: 'center', minWidth: x_120, templet: '#linkStateTpl', sort: true}
|
400
|
],
|
400
|
],
|
401
|
"HUAWEI_CLOUD_STORAGE": [
|
401
|
"HUAWEI_CLOUD_STORAGE": [
|
402
|
//{type: 'numbers', title: '序号', align: 'center', fixed: 'left'},
|
402
|
//{type: 'numbers', title: '序号', align: 'center', fixed: 'left'},
|