|
@@ -2517,6 +2517,58 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', |
|
@@ -2517,6 +2517,58 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', |
2517
|
{field: 'lastColTime', title: '最近采集时间', minWidth: x_170, align: 'center', sort: true},
|
2517
|
{field: 'lastColTime', title: '最近采集时间', minWidth: x_170, align: 'center', sort: true},
|
2518
|
{field: 'linkState', title: '连接状态', align: 'center', minWidth: x_120, templet: '#linkStateTpl', sort: true}
|
2518
|
{field: 'linkState', title: '连接状态', align: 'center', minWidth: x_120, templet: '#linkStateTpl', sort: true}
|
2519
|
],
|
2519
|
],
|
|
|
2520
|
+ "HUAWEI_CLOUD_PLAT":[
|
|
|
2521
|
+ {field: 'ip', title: 'IP地址', minWidth: x_130, align: 'center', sort: true},
|
|
|
2522
|
+ {
|
|
|
2523
|
+ field: 'resName', title: '资源名称', minWidth: x_300, sort: true,
|
|
|
2524
|
+ templet: '#resindex_resName'
|
|
|
2525
|
+ },
|
|
|
2526
|
+ {field: 'health', title: '健康状态', minWidth: x_110, align: 'center', sort: true, templet: '#healthTpl'},
|
|
|
2527
|
+ // {field: 'diskSize', title: '磁盘总大小', minWidth: 120, align: 'center'},
|
|
|
2528
|
+ {field: 'fileSysUseRate', title: '文件系统使用率(最大)', align: 'center', minWidth: x_185, templet: '#fileUseRateTpl', sort: true},
|
|
|
2529
|
+ {field: 'diskBusyRate', title: '磁盘繁忙率(最大)', minWidth: x_160, align: 'center', sort: true, templet: '<div>{{d.diskBusyRate}}%</div>'},
|
|
|
2530
|
+ {field: 'cpuCores', title: '单个CPU核数', align: 'center', minWidth: x_140, sort: true, templet: '#cpuCoresTpl'},
|
|
|
2531
|
+ {field: 'cpuNum', title: '主机CPU总核数', align: 'center', minWidth: x_150, sort: true, templet: '#cpuNumTpl'},
|
|
|
2532
|
+ {field: 'cpuRate', title: 'CPU使用率', align: 'center', minWidth: x_120, templet: '#cpuRateTpl', sort: true},
|
|
|
2533
|
+ {field: 'memorySize', title: '内存大小', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.memorySize}} GB</div>'},
|
|
|
2534
|
+ {field: 'cacheUsed', title: '缓存总大小', align: 'center', minWidth: x_120, sort: true, templet: '<div>{{d.cacheUsed}} GB</div>'},
|
|
|
2535
|
+ {field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_120, templet: '#memoryRateTpl', sort: true},
|
|
|
2536
|
+ {field: 'vmmemoryUseRate', title: '虚拟内存使用率', align: 'center', minWidth: x_165, templet: '#vmmemoryRateTpl', sort: true},
|
|
|
2537
|
+ {field: 'maxNetCardUpRate', title: '上行速率', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.maxNetCardUpRate}} kb/s</div>'},
|
|
|
2538
|
+ {field: 'maxNetCardDownRate', title: '下行速率', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.maxNetCardDownRate}} kb/s</div>'},
|
|
|
2539
|
+ {field: 'lastColTime', title: '最近采集时间', minWidth: x_160, align: 'center', sort: true},
|
|
|
2540
|
+ {field: 'linkState', title: '连接状态', align: 'center', minWidth: x_110, templet: '#linkStateTpl', sort: true},
|
|
|
2541
|
+ {field: 'adminName', title: '负责人', minWidth: x_120, align: 'center', sort: true},
|
|
|
2542
|
+ {field: 'adminPhone', title: '负责人电话', minWidth: x_130, align: 'center', sort: true},
|
|
|
2543
|
+ {field: 'resTypeName', title: '资源类型', minWidth: x_110, align: 'center'},
|
|
|
2544
|
+ {field: 'state', title: '资源状态', minWidth: x_110, align: 'center', sort: true, templet: '#resStateTpl'}
|
|
|
2545
|
+ ],
|
|
|
2546
|
+ "ALI_CLOUD_PLAT":[
|
|
|
2547
|
+ {field: 'ip', title: 'IP地址', minWidth: x_130, align: 'center', sort: true},
|
|
|
2548
|
+ {
|
|
|
2549
|
+ field: 'resName', title: '资源名称', minWidth: x_300, sort: true,
|
|
|
2550
|
+ templet: '#resindex_resName'
|
|
|
2551
|
+ },
|
|
|
2552
|
+ {field: 'health', title: '健康状态', minWidth: x_110, align: 'center', sort: true, templet: '#healthTpl'},
|
|
|
2553
|
+ // {field: 'diskSize', title: '磁盘总大小', minWidth: 120, align: 'center'},
|
|
|
2554
|
+ {field: 'fileSysUseRate', title: '文件系统使用率(最大)', align: 'center', minWidth: x_185, templet: '#fileUseRateTpl', sort: true},
|
|
|
2555
|
+ {field: 'diskBusyRate', title: '磁盘繁忙率(最大)', minWidth: x_160, align: 'center', sort: true, templet: '<div>{{d.diskBusyRate}}%</div>'},
|
|
|
2556
|
+ {field: 'cpuCores', title: '单个CPU核数', align: 'center', minWidth: x_140, sort: true, templet: '#cpuCoresTpl'},
|
|
|
2557
|
+ {field: 'cpuNum', title: '主机CPU总核数', align: 'center', minWidth: x_150, sort: true, templet: '#cpuNumTpl'},
|
|
|
2558
|
+ {field: 'cpuRate', title: 'CPU使用率', align: 'center', minWidth: x_120, templet: '#cpuRateTpl', sort: true},
|
|
|
2559
|
+ {field: 'memorySize', title: '内存大小', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.memorySize}} GB</div>'},
|
|
|
2560
|
+ {field: 'cacheUsed', title: '缓存总大小', align: 'center', minWidth: x_120, sort: true, templet: '<div>{{d.cacheUsed}} GB</div>'},
|
|
|
2561
|
+ {field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_120, templet: '#memoryRateTpl', sort: true},
|
|
|
2562
|
+ {field: 'vmmemoryUseRate', title: '虚拟内存使用率', align: 'center', minWidth: x_165, templet: '#vmmemoryRateTpl', sort: true},
|
|
|
2563
|
+ {field: 'maxNetCardUpRate', title: '上行速率', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.maxNetCardUpRate}} kb/s</div>'},
|
|
|
2564
|
+ {field: 'maxNetCardDownRate', title: '下行速率', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.maxNetCardDownRate}} kb/s</div>'},
|
|
|
2565
|
+ {field: 'lastColTime', title: '最近采集时间', minWidth: x_160, align: 'center', sort: true},
|
|
|
2566
|
+ {field: 'linkState', title: '连接状态', align: 'center', minWidth: x_110, templet: '#linkStateTpl', sort: true},
|
|
|
2567
|
+ {field: 'adminName', title: '负责人', minWidth: x_120, align: 'center', sort: true},
|
|
|
2568
|
+ {field: 'adminPhone', title: '负责人电话', minWidth: x_130, align: 'center', sort: true},
|
|
|
2569
|
+ {field: 'resTypeName', title: '资源类型', minWidth: x_110, align: 'center'},
|
|
|
2570
|
+ {field: 'state', title: '资源状态', minWidth: x_110, align: 'center', sort: true, templet: '#resStateTpl'}
|
|
|
2571
|
+ ],
|
2520
|
},
|
2572
|
},
|
2521
|
//列点击事件
|
2573
|
//列点击事件
|
2522
|
colsClickEvent: function (editFlag) {
|
2574
|
colsClickEvent: function (editFlag) {
|