Merge branch 'master' of http://192.168.1.136:82/monitor_v3/hg-monitor-web
Showing
1 changed file
with
70 additions
and
47 deletions
@@ -342,8 +342,9 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -342,8 +342,9 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
342 | {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | 342 | {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, |
343 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, | 343 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, |
344 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, | 344 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, |
345 | - {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | ||
346 | - {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true} | 345 | + |
346 | + {field: 'hostState', title: '主机状态', align: 'center', minWidth: x_110, templet: '#hostStateTpl', sort: true}, | ||
347 | + {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true} | ||
347 | ], | 348 | ], |
348 | "HUAWEI_CLOUD_CLUSTER": [ | 349 | "HUAWEI_CLOUD_CLUSTER": [ |
349 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 350 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
@@ -358,8 +359,9 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -358,8 +359,9 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
358 | {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | 359 | {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, |
359 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, | 360 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, |
360 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, | 361 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, |
362 | + | ||
363 | + {field: 'hostState', title: '主机状态', align: 'center', minWidth: x_110, templet: '#hostStateTpl', sort: true}, | ||
361 | {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | 364 | {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, |
362 | - {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true} | ||
363 | ], | 365 | ], |
364 | "HUAWEI_CLOUD_PHYSICSHOST": [ | 366 | "HUAWEI_CLOUD_PHYSICSHOST": [ |
365 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 367 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
@@ -375,9 +377,10 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -375,9 +377,10 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
375 | {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | 377 | {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, |
376 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, | 378 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, |
377 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, | 379 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, |
378 | - {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | 380 | + |
379 | // 2021-11-22 徐毫杰 连接状态无数据改成展示主机状态 | 381 | // 2021-11-22 徐毫杰 连接状态无数据改成展示主机状态 |
380 | - {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 | + {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | ||
381 | ], | 384 | ], |
382 | "HUAWEI_CLOUD_VIRTUALHOST": [ | 385 | "HUAWEI_CLOUD_VIRTUALHOST": [ |
383 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 386 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
@@ -393,8 +396,9 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -393,8 +396,9 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
393 | {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | 396 | {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, |
394 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, | 397 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, |
395 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, | 398 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, |
396 | - {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | ||
397 | - {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true} | 399 | + |
400 | + {field: 'hostState', title: '主机状态', align: 'center', width: 85, templet: '#hostStateTpl', sort: true}, | ||
401 | + {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true} | ||
398 | ], | 402 | ], |
399 | "HUAWEI_CLOUD_STORAGE": [ | 403 | "HUAWEI_CLOUD_STORAGE": [ |
400 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 404 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
@@ -410,8 +414,8 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -410,8 +414,8 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
410 | {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | 414 | {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, |
411 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, | 415 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, |
412 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, | 416 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, |
413 | - {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | ||
414 | - {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true} | 417 | + {field: 'hostState', title: '主机状态', align: 'center', width: 85, templet: '#hostStateTpl', sort: true}, |
418 | + {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true} | ||
415 | ], | 419 | ], |
416 | "HUAWEI_CLOUD_SWITCHBOARD": [ | 420 | "HUAWEI_CLOUD_SWITCHBOARD": [ |
417 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 421 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
@@ -423,12 +427,14 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -423,12 +427,14 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
423 | // {field: 'cpuRate', title: 'CPU使用率', align: 'center', minWidth: x_130, templet: '#cpuRateTpl', sort: true}, | 427 | // {field: 'cpuRate', title: 'CPU使用率', align: 'center', minWidth: x_130, templet: '#cpuRateTpl', sort: true}, |
424 | // {field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_130, templet: '#memoryRateTpl', sort: true}, | 428 | // {field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_130, templet: '#memoryRateTpl', sort: true}, |
425 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, | 429 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, |
426 | - {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
427 | - {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | 430 | + |
428 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, | 431 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, |
429 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, | 432 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, |
430 | - {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | ||
431 | - {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true} | 433 | + {field: 'hostState', title: '主机状态', align: 'center', width: 85, templet: '#hostStateTpl', sort: true}, |
434 | + {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
435 | + {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | ||
436 | + {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true} | ||
437 | + | ||
432 | ], | 438 | ], |
433 | "HUAWEI_CLOUD_FIREWALL": [ | 439 | "HUAWEI_CLOUD_FIREWALL": [ |
434 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 440 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
@@ -440,12 +446,14 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -440,12 +446,14 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
440 | // {field: 'cpuRate', title: 'CPU使用率', align: 'center', minWidth: x_130, templet: '#cpuRateTpl', sort: true}, | 446 | // {field: 'cpuRate', title: 'CPU使用率', align: 'center', minWidth: x_130, templet: '#cpuRateTpl', sort: true}, |
441 | // {field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_130, templet: '#memoryRateTpl', sort: true}, | 447 | // {field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_130, templet: '#memoryRateTpl', sort: true}, |
442 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, | 448 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, |
443 | - {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
444 | - {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | 449 | + |
445 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, | 450 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, |
446 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, | 451 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, |
447 | - {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | ||
448 | - {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true} | 452 | + {field: 'hostState', title: '主机状态', align: 'center', width: 85, templet: '#hostStateTpl', sort: true}, |
453 | + {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
454 | + {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | ||
455 | + {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true} | ||
456 | + | ||
449 | ], | 457 | ], |
450 | "ALI_CLOUD_ECS": [ | 458 | "ALI_CLOUD_ECS": [ |
451 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 459 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
@@ -459,12 +467,14 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -459,12 +467,14 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
459 | {field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_130, templet: '#memoryRateTpl', sort: true}, | 467 | {field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_130, templet: '#memoryRateTpl', sort: true}, |
460 | {field: 'ptName', title: '所属平台', minWidth: x_130, align: 'center', sort: true}, | 468 | {field: 'ptName', title: '所属平台', minWidth: x_130, align: 'center', sort: true}, |
461 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, | 469 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, |
462 | - {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
463 | - {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | 470 | + |
464 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, | 471 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, |
465 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, | 472 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, |
466 | - {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | ||
467 | - {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true} | 473 | + {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true}, |
474 | + {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
475 | + {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | ||
476 | + {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true} | ||
477 | + | ||
468 | ], | 478 | ], |
469 | "ALI_CLOUD_RDS": [ | 479 | "ALI_CLOUD_RDS": [ |
470 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 480 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
@@ -476,12 +486,13 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -476,12 +486,13 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
476 | {field: 'cpuRate', title: 'CPU使用率', align: 'center', minWidth: x_130, templet: '#cpuRateTpl', sort: true}, | 486 | {field: 'cpuRate', title: 'CPU使用率', align: 'center', minWidth: x_130, templet: '#cpuRateTpl', sort: true}, |
477 | {field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_130, templet: '#memoryRateTpl', sort: true}, | 487 | {field: 'memoryRate', title: '内存使用率', align: 'center', minWidth: x_130, templet: '#memoryRateTpl', sort: true}, |
478 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, | 488 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, |
479 | - {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
480 | - {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | ||
481 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, | 489 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, |
482 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, | 490 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, |
483 | - {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | ||
484 | - {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true} | 491 | + {field: 'hostState', title: '主机状态', align: 'center', width: 85, templet: '#hostStateTpl', sort: true}, |
492 | + {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
493 | + {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | ||
494 | + {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true} | ||
495 | + | ||
485 | ], | 496 | ], |
486 | "ALI_CLOUD_SLB": [ | 497 | "ALI_CLOUD_SLB": [ |
487 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 498 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
@@ -491,12 +502,14 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -491,12 +502,14 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
491 | }, | 502 | }, |
492 | {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true}, | 503 | {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true}, |
493 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, | 504 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, |
494 | - {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
495 | - {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | 505 | + |
496 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, | 506 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, |
497 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, | 507 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, |
508 | + | ||
509 | + {field: 'hostState', title: '主机状态', align: 'center', width: 85, templet: '#hostStateTpl', sort: true}, | ||
510 | + {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
511 | + {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | ||
498 | {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | 512 | {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, |
499 | - {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true} | ||
500 | ], | 513 | ], |
501 | "ALI_CLOUD_OSS": [ | 514 | "ALI_CLOUD_OSS": [ |
502 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 515 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
@@ -506,12 +519,13 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -506,12 +519,13 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
506 | }, | 519 | }, |
507 | {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true}, | 520 | {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true}, |
508 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, | 521 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, |
509 | - {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
510 | - {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | ||
511 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, | 522 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, |
512 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, | 523 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, |
513 | - {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | ||
514 | - {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true} | 524 | + {field: 'hostState', title: '主机状态', align: 'center', width: 85, templet: '#hostStateTpl', sort: true}, |
525 | + {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
526 | + {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | ||
527 | + {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true} | ||
528 | + | ||
515 | ], | 529 | ], |
516 | "ALI_ARMS": [ | 530 | "ALI_ARMS": [ |
517 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 531 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
@@ -536,29 +550,34 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -536,29 +550,34 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
536 | }, | 550 | }, |
537 | {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true}, | 551 | {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true}, |
538 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, | 552 | {field: 'resTypeName', title: '资源类型', width: 101, align: 'center'}, |
539 | - {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
540 | - {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | 553 | + |
541 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, | 554 | {field: 'state', title: '资源状态', width: 98, align: 'center', sort: true, templet: '#resStateTpl'}, |
542 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, | 555 | {field: 'health', title: '健康状态', width: 83, align: 'center', sort: true, templet: '#healthTpl'}, |
543 | - {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true}, | ||
544 | - {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true} | 556 | + |
557 | + {field: 'linkState', title: '连接状态', align: 'center', width: 85, templet: '#linkStateTpl', sort: true}, | ||
558 | + {field: 'adminName', title: '负责人', width: 123, align: 'center', sort: true}, | ||
559 | + {field: 'adminPhone', title: '负责人电话', width: 118, align: 'center', sort: true}, | ||
560 | + {field: 'lastColTime', title: '最近采集时间', width: 161, align: 'center', sort: true} | ||
545 | ], | 561 | ], |
546 | "A_CLOUD_PHYSICSHOST": [ | 562 | "A_CLOUD_PHYSICSHOST": [ |
547 | // {type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 563 | // {type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
548 | - {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true}, | 564 | + |
549 | { | 565 | { |
550 | field: 'resName', title: '资源名称', minWidth: 250, sort: true, | 566 | field: 'resName', title: '资源名称', minWidth: 250, sort: true, |
551 | templet: '#resindex_resName' | 567 | templet: '#resindex_resName' |
552 | }, | 568 | }, |
569 | + {field: 'ip', title: 'IP地址', width: 130, align: 'center', sort: true}, | ||
570 | + {field: 'resTypeName', title: '资源类型', width: 100, align: 'center'}, | ||
553 | {field: 'health', title: '健康状态', width: 120, align: 'center', sort: true, templet: '#healthTpl'}, | 571 | {field: 'health', title: '健康状态', width: 120, align: 'center', sort: true, templet: '#healthTpl'}, |
554 | {field: 'cpuRate', title: 'CPU使用率', align: 'center', width: 120, templet: '#cpuRateTpl', sort: true}, | 572 | {field: 'cpuRate', title: 'CPU使用率', align: 'center', width: 120, templet: '#cpuRateTpl', sort: true}, |
555 | {field: 'memoryRate', title: '内存使用率', align: 'center', width: 120, templet: '#memoryRateTpl', sort: true}, | 573 | {field: 'memoryRate', title: '内存使用率', align: 'center', width: 120, templet: '#memoryRateTpl', sort: true}, |
556 | - {field: 'lastColTime', title: '最近采集时间', width: 160, align: 'center', sort: true}, | 574 | + |
557 | {field: 'linkState', title: '连接状态', align: 'center', width: 110, templet: '#linkStateTpl', sort: true}, | 575 | {field: 'linkState', title: '连接状态', align: 'center', width: 110, templet: '#linkStateTpl', sort: true}, |
558 | {field: 'adminName', title: '负责人', width: 125, align: 'center', sort: true}, | 576 | {field: 'adminName', title: '负责人', width: 125, align: 'center', sort: true}, |
559 | {field: 'adminPhone', title: '负责人电话', width: 120, align: 'center', sort: true}, | 577 | {field: 'adminPhone', title: '负责人电话', width: 120, align: 'center', sort: true}, |
560 | - {field: 'resTypeName', title: '资源类型', width: 100, align: 'center'}, | ||
561 | - {field: 'state', title: '资源状态', width: 120, align: 'center', sort: true, templet: '#resStateTpl'} | 578 | + |
579 | + {field: 'state', title: '资源状态', width: 120, align: 'center', sort: true, templet: '#resStateTpl'}, | ||
580 | + {field: 'lastColTime', title: '最近采集时间', width: 160, align: 'center', sort: true} | ||
562 | ], | 581 | ], |
563 | "VIRTUALIZATION_COLONY": [ | 582 | "VIRTUALIZATION_COLONY": [ |
564 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, | 583 | //{type: 'numbers', title: '序号', align: 'center', fixed: 'left'}, |
@@ -2556,19 +2575,21 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -2556,19 +2575,21 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
2556 | {field: 'vmmemoryUseRate', title: '虚拟内存使用率', align: 'center', minWidth: x_165, templet: '#vmmemoryRateTpl', sort: true}, | 2575 | {field: 'vmmemoryUseRate', title: '虚拟内存使用率', align: 'center', minWidth: x_165, templet: '#vmmemoryRateTpl', sort: true}, |
2557 | {field: 'maxNetCardUpRate', title: '上行速率', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.maxNetCardUpRate}} kb/s</div>'}, | 2576 | {field: 'maxNetCardUpRate', title: '上行速率', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.maxNetCardUpRate}} kb/s</div>'}, |
2558 | {field: 'maxNetCardDownRate', title: '下行速率', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.maxNetCardDownRate}} kb/s</div>'}, | 2577 | {field: 'maxNetCardDownRate', title: '下行速率', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.maxNetCardDownRate}} kb/s</div>'}, |
2559 | - {field: 'lastColTime', title: '最近采集时间', minWidth: x_160, align: 'center', sort: true}, | ||
2560 | {field: 'linkState', title: '连接状态', align: 'center', minWidth: x_110, templet: '#linkStateTpl', sort: true}, | 2578 | {field: 'linkState', title: '连接状态', align: 'center', minWidth: x_110, templet: '#linkStateTpl', sort: true}, |
2579 | + {field: 'resTypeName', title: '资源类型', minWidth: x_110, align: 'center'}, | ||
2580 | + {field: 'state', title: '资源状态', minWidth: x_110, align: 'center', sort: true, templet: '#resStateTpl'}, | ||
2561 | {field: 'adminName', title: '负责人', minWidth: x_120, align: 'center', sort: true}, | 2581 | {field: 'adminName', title: '负责人', minWidth: x_120, align: 'center', sort: true}, |
2562 | {field: 'adminPhone', title: '负责人电话', minWidth: x_130, align: 'center', sort: true}, | 2582 | {field: 'adminPhone', title: '负责人电话', minWidth: x_130, align: 'center', sort: true}, |
2563 | - {field: 'resTypeName', title: '资源类型', minWidth: x_110, align: 'center'}, | ||
2564 | - {field: 'state', title: '资源状态', minWidth: x_110, align: 'center', sort: true, templet: '#resStateTpl'} | 2583 | + {field: 'lastColTime', title: '最近采集时间', minWidth: x_160, align: 'center', sort: true} |
2565 | ], | 2584 | ], |
2566 | "ALI_CLOUD_PLAT":[ | 2585 | "ALI_CLOUD_PLAT":[ |
2567 | - {field: 'ip', title: 'IP地址', minWidth: x_130, align: 'center', sort: true}, | 2586 | + |
2568 | { | 2587 | { |
2569 | field: 'resName', title: '资源名称', minWidth: x_300, sort: true, | 2588 | field: 'resName', title: '资源名称', minWidth: x_300, sort: true, |
2570 | templet: '#resindex_resName' | 2589 | templet: '#resindex_resName' |
2571 | }, | 2590 | }, |
2591 | + {field: 'resTypeName', title: '资源类型', minWidth: x_110, align: 'center'}, | ||
2592 | + {field: 'ip', title: 'IP地址', minWidth: x_130, align: 'center', sort: true}, | ||
2572 | {field: 'health', title: '健康状态', minWidth: x_110, align: 'center', sort: true, templet: '#healthTpl'}, | 2593 | {field: 'health', title: '健康状态', minWidth: x_110, align: 'center', sort: true, templet: '#healthTpl'}, |
2573 | // {field: 'diskSize', title: '磁盘总大小', minWidth: 120, align: 'center'}, | 2594 | // {field: 'diskSize', title: '磁盘总大小', minWidth: 120, align: 'center'}, |
2574 | {field: 'fileSysUseRate', title: '文件系统使用率(最大)', align: 'center', minWidth: x_185, templet: '#fileUseRateTpl', sort: true}, | 2595 | {field: 'fileSysUseRate', title: '文件系统使用率(最大)', align: 'center', minWidth: x_185, templet: '#fileUseRateTpl', sort: true}, |
@@ -2582,12 +2603,14 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | @@ -2582,12 +2603,14 @@ layui.define(['soulTable', 'commonDetail', 'common', 'laytpl', 'view', 'admin', | ||
2582 | {field: 'vmmemoryUseRate', title: '虚拟内存使用率', align: 'center', minWidth: x_165, templet: '#vmmemoryRateTpl', sort: true}, | 2603 | {field: 'vmmemoryUseRate', title: '虚拟内存使用率', align: 'center', minWidth: x_165, templet: '#vmmemoryRateTpl', sort: true}, |
2583 | {field: 'maxNetCardUpRate', title: '上行速率', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.maxNetCardUpRate}} kb/s</div>'}, | 2604 | {field: 'maxNetCardUpRate', title: '上行速率', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.maxNetCardUpRate}} kb/s</div>'}, |
2584 | {field: 'maxNetCardDownRate', title: '下行速率', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.maxNetCardDownRate}} kb/s</div>'}, | 2605 | {field: 'maxNetCardDownRate', title: '下行速率', align: 'center', minWidth: x_110, sort: true, templet: '<div>{{d.maxNetCardDownRate}} kb/s</div>'}, |
2585 | - {field: 'lastColTime', title: '最近采集时间', minWidth: x_160, align: 'center', sort: true}, | 2606 | + |
2586 | {field: 'linkState', title: '连接状态', align: 'center', minWidth: x_110, templet: '#linkStateTpl', sort: true}, | 2607 | {field: 'linkState', title: '连接状态', align: 'center', minWidth: x_110, templet: '#linkStateTpl', sort: true}, |
2608 | + | ||
2609 | + | ||
2610 | + {field: 'state', title: '资源状态', minWidth: x_110, align: 'center', sort: true, templet: '#resStateTpl'}, | ||
2587 | {field: 'adminName', title: '负责人', minWidth: x_120, align: 'center', sort: true}, | 2611 | {field: 'adminName', title: '负责人', minWidth: x_120, align: 'center', sort: true}, |
2588 | {field: 'adminPhone', title: '负责人电话', minWidth: x_130, align: 'center', sort: true}, | 2612 | {field: 'adminPhone', title: '负责人电话', minWidth: x_130, align: 'center', sort: true}, |
2589 | - {field: 'resTypeName', title: '资源类型', minWidth: x_110, align: 'center'}, | ||
2590 | - {field: 'state', title: '资源状态', minWidth: x_110, align: 'center', sort: true, templet: '#resStateTpl'} | 2613 | + {field: 'lastColTime', title: '最近采集时间', minWidth: x_160, align: 'center', sort: true} |
2591 | ], | 2614 | ], |
2592 | "ARMS":[ | 2615 | "ARMS":[ |
2593 | { | 2616 | { |
-
Please register or login to post a comment