Authored by 王涛

Too many changes to show.

To preserve performance only 15 of 15+ files are displayed.

@@ -18,7 +18,1251 @@ export function getHealth(data) { @@ -18,7 +18,1251 @@ export function getHealth(data) {
18 method: 'get', 18 method: 'get',
19 }) 19 })
20 } 20 }
21 -export function getDetailTableData(){ 21 +export function getDetailTableData(param){
  22 + let params=param;
  23 + let tableData='';
  24 +
  25 + let detailTableData1={
  26 + "code": 0,
  27 + "msg": "",
  28 + "count": 6,
  29 + "data": [{
  30 + "header": [{
  31 + "id": "KPI7AC1664E",
  32 + "name": "文件系统挂载",
  33 + "unit": ""
  34 + }, {
  35 + "id": "KPI449F5365",
  36 + "name": "文件系统使用率",
  37 + "unit": "%"
  38 + }, {
  39 + "id": "KPIA91F44E7",
  40 + "name": "文件系统总大小",
  41 + "unit": "GB"
  42 + }, {
  43 + "id": "KPI98306224",
  44 + "name": "文件系统已使用大小",
  45 + "unit": "GB"
  46 + }, {
  47 + "id": "KPIE25925F7",
  48 + "name": "文件系统空闲大小",
  49 + "unit": "GB"
  50 + }, {
  51 + "id": "KPI77C28BBA",
  52 + "name": "卷名称",
  53 + "unit": ""
  54 + }, {
  55 + "id": "KPIF74D9D2B",
  56 + "name": "最近采集时间",
  57 + "unit": ""
  58 + }],
  59 + "content": [
  60 + [{
  61 + "id": null,
  62 + "collectorId": null,
  63 + "batchNo": null,
  64 + "taskId": null,
  65 + "taskName": null,
  66 + "resId": null,
  67 + "resName": null,
  68 + "templateId": null,
  69 + "templateName": null,
  70 + "directiveId": null,
  71 + "directiveName": null,
  72 + "kpiId": "KPI7AC1664E",
  73 + "kpiName": "文件系统挂载",
  74 + "flag": "fs-",
  75 + "kpiValue": "/ ",
  76 + "collTime": null,
  77 + "duration": null,
  78 + "createTime": null,
  79 + "ipAddr": null,
  80 + "kpiUnit": "none",
  81 + "kpiIdent": "0",
  82 + "isWarning": 0,
  83 + "isTrend": 0,
  84 + "kpiLevel": 0,
  85 + "resTypeExtend": null,
  86 + "osExtend": null,
  87 + "ip": null,
  88 + "version": null,
  89 + "resType": null,
  90 + "message": null,
  91 + "ext": null,
  92 + "canCA": true,
  93 + "inCAing": false
  94 + }, {
  95 + "id": null,
  96 + "collectorId": null,
  97 + "batchNo": null,
  98 + "taskId": null,
  99 + "taskName": null,
  100 + "resId": null,
  101 + "resName": null,
  102 + "templateId": null,
  103 + "templateName": null,
  104 + "directiveId": null,
  105 + "directiveName": null,
  106 + "kpiId": "KPI449F5365",
  107 + "kpiName": "文件系统使用率",
  108 + "flag": "fs-",
  109 + "kpiValue": "83%",
  110 + "collTime": null,
  111 + "duration": null,
  112 + "createTime": null,
  113 + "ipAddr": null,
  114 + "kpiUnit": "percent",
  115 + "kpiIdent": "1",
  116 + "isWarning": 0,
  117 + "isTrend": 0,
  118 + "kpiLevel": 0,
  119 + "resTypeExtend": null,
  120 + "osExtend": null,
  121 + "ip": null,
  122 + "version": null,
  123 + "resType": null,
  124 + "message": null,
  125 + "ext": null,
  126 + "canCA": true,
  127 + "inCAing": false
  128 + }, {
  129 + "id": null,
  130 + "collectorId": null,
  131 + "batchNo": null,
  132 + "taskId": null,
  133 + "taskName": null,
  134 + "resId": null,
  135 + "resName": null,
  136 + "templateId": null,
  137 + "templateName": null,
  138 + "directiveId": null,
  139 + "directiveName": null,
  140 + "kpiId": "KPIA91F44E7",
  141 + "kpiName": "文件系统总大小",
  142 + "flag": "fs-",
  143 + "kpiValue": "98.30 GB",
  144 + "collTime": null,
  145 + "duration": null,
  146 + "createTime": null,
  147 + "ipAddr": null,
  148 + "kpiUnit": "gb",
  149 + "kpiIdent": "1",
  150 + "isWarning": 2,
  151 + "isTrend": 0,
  152 + "kpiLevel": 0,
  153 + "resTypeExtend": null,
  154 + "osExtend": null,
  155 + "ip": null,
  156 + "version": null,
  157 + "resType": null,
  158 + "message": null,
  159 + "ext": null,
  160 + "canCA": true,
  161 + "inCAing": false
  162 + }, {
  163 + "id": null,
  164 + "collectorId": null,
  165 + "batchNo": null,
  166 + "taskId": null,
  167 + "taskName": null,
  168 + "resId": null,
  169 + "resName": null,
  170 + "templateId": null,
  171 + "templateName": null,
  172 + "directiveId": null,
  173 + "directiveName": null,
  174 + "kpiId": "KPI98306224",
  175 + "kpiName": "文件系统已使用大小",
  176 + "flag": "fs-",
  177 + "kpiValue": "13.69 GB",
  178 + "collTime": null,
  179 + "duration": null,
  180 + "createTime": null,
  181 + "ipAddr": null,
  182 + "kpiUnit": "gb",
  183 + "kpiIdent": "1",
  184 + "isWarning": 1,
  185 + "isTrend": 0,
  186 + "kpiLevel": 0,
  187 + "resTypeExtend": null,
  188 + "osExtend": null,
  189 + "ip": null,
  190 + "version": null,
  191 + "resType": null,
  192 + "message": null,
  193 + "ext": null,
  194 + "canCA": true,
  195 + "inCAing": false
  196 + }, {
  197 + "id": null,
  198 + "collectorId": null,
  199 + "batchNo": null,
  200 + "taskId": null,
  201 + "taskName": null,
  202 + "resId": null,
  203 + "resName": null,
  204 + "templateId": null,
  205 + "templateName": null,
  206 + "directiveId": null,
  207 + "directiveName": null,
  208 + "kpiId": "KPIE25925F7",
  209 + "kpiName": "文件系统空闲大小",
  210 + "flag": "fs-",
  211 + "kpiValue": "79.61 GB",
  212 + "collTime": null,
  213 + "duration": null,
  214 + "createTime": null,
  215 + "ipAddr": null,
  216 + "kpiUnit": "gb",
  217 + "kpiIdent": "1",
  218 + "isWarning": 0,
  219 + "isTrend": 0,
  220 + "kpiLevel": 0,
  221 + "resTypeExtend": null,
  222 + "osExtend": null,
  223 + "ip": null,
  224 + "version": null,
  225 + "resType": null,
  226 + "message": null,
  227 + "ext": null,
  228 + "canCA": true,
  229 + "inCAing": false
  230 + }, {
  231 + "id": null,
  232 + "collectorId": null,
  233 + "batchNo": null,
  234 + "taskId": null,
  235 + "taskName": null,
  236 + "resId": null,
  237 + "resName": null,
  238 + "templateId": null,
  239 + "templateName": null,
  240 + "directiveId": null,
  241 + "directiveName": null,
  242 + "kpiId": "KPI77C28BBA",
  243 + "kpiName": "卷名称",
  244 + "flag": "fs-",
  245 + "kpiValue": "/dev/vda1 ",
  246 + "collTime": null,
  247 + "duration": null,
  248 + "createTime": null,
  249 + "ipAddr": null,
  250 + "kpiUnit": "none",
  251 + "kpiIdent": "0",
  252 + "isWarning": 0,
  253 + "isTrend": 0,
  254 + "kpiLevel": 0,
  255 + "resTypeExtend": null,
  256 + "osExtend": null,
  257 + "ip": null,
  258 + "version": null,
  259 + "resType": null,
  260 + "message": null,
  261 + "ext": null,
  262 + "canCA": true,
  263 + "inCAing": false
  264 + }, {
  265 + "id": null,
  266 + "collectorId": null,
  267 + "batchNo": null,
  268 + "taskId": null,
  269 + "taskName": null,
  270 + "resId": null,
  271 + "resName": null,
  272 + "templateId": null,
  273 + "templateName": null,
  274 + "directiveId": null,
  275 + "directiveName": null,
  276 + "kpiId": "KPIF74D9D2B",
  277 + "kpiName": "最近采集时间",
  278 + "flag": "fs-",
  279 + "kpiValue": "2022-01-17 08:51:11 ",
  280 + "collTime": null,
  281 + "duration": null,
  282 + "createTime": null,
  283 + "ipAddr": null,
  284 + "kpiUnit": "",
  285 + "kpiIdent": "0",
  286 + "isWarning": 0,
  287 + "isTrend": 0,
  288 + "kpiLevel": 0,
  289 + "resTypeExtend": null,
  290 + "osExtend": null,
  291 + "ip": null,
  292 + "version": null,
  293 + "resType": null,
  294 + "message": null,
  295 + "ext": null,
  296 + "canCA": true,
  297 + "inCAing": false
  298 + }],
  299 + [{
  300 + "id": null,
  301 + "collectorId": null,
  302 + "batchNo": null,
  303 + "taskId": null,
  304 + "taskName": null,
  305 + "resId": null,
  306 + "resName": null,
  307 + "templateId": null,
  308 + "templateName": null,
  309 + "directiveId": null,
  310 + "directiveName": null,
  311 + "kpiId": "KPI7AC1664E",
  312 + "kpiName": "文件系统挂载",
  313 + "flag": "fs-run",
  314 + "kpiValue": "/run ",
  315 + "collTime": null,
  316 + "duration": null,
  317 + "createTime": null,
  318 + "ipAddr": null,
  319 + "kpiUnit": "none",
  320 + "kpiIdent": "0",
  321 + "isWarning": 0,
  322 + "isTrend": 0,
  323 + "kpiLevel": 0,
  324 + "resTypeExtend": null,
  325 + "osExtend": null,
  326 + "ip": null,
  327 + "version": null,
  328 + "resType": null,
  329 + "message": null,
  330 + "ext": null,
  331 + "canCA": true,
  332 + "inCAing": false
  333 + }, {
  334 + "id": null,
  335 + "collectorId": null,
  336 + "batchNo": null,
  337 + "taskId": null,
  338 + "taskName": null,
  339 + "resId": null,
  340 + "resName": null,
  341 + "templateId": null,
  342 + "templateName": null,
  343 + "directiveId": null,
  344 + "directiveName": null,
  345 + "kpiId": "KPI449F5365",
  346 + "kpiName": "文件系统使用率",
  347 + "flag": "fs-run",
  348 + "kpiValue": "92%",
  349 + "collTime": null,
  350 + "duration": null,
  351 + "createTime": null,
  352 + "ipAddr": null,
  353 + "kpiUnit": "percent",
  354 + "kpiIdent": "1",
  355 + "isWarning": 0,
  356 + "isTrend": 0,
  357 + "kpiLevel": 0,
  358 + "resTypeExtend": null,
  359 + "osExtend": null,
  360 + "ip": null,
  361 + "version": null,
  362 + "resType": null,
  363 + "message": null,
  364 + "ext": null,
  365 + "canCA": true,
  366 + "inCAing": false
  367 + }, {
  368 + "id": null,
  369 + "collectorId": null,
  370 + "batchNo": null,
  371 + "taskId": null,
  372 + "taskName": null,
  373 + "resId": null,
  374 + "resName": null,
  375 + "templateId": null,
  376 + "templateName": null,
  377 + "directiveId": null,
  378 + "directiveName": null,
  379 + "kpiId": "KPIA91F44E7",
  380 + "kpiName": "文件系统总大小",
  381 + "flag": "fs-run",
  382 + "kpiValue": "7.76 GB",
  383 + "collTime": null,
  384 + "duration": null,
  385 + "createTime": null,
  386 + "ipAddr": null,
  387 + "kpiUnit": "gb",
  388 + "kpiIdent": "1",
  389 + "isWarning": 2,
  390 + "isTrend": 0,
  391 + "kpiLevel": 0,
  392 + "resTypeExtend": null,
  393 + "osExtend": null,
  394 + "ip": null,
  395 + "version": null,
  396 + "resType": null,
  397 + "message": null,
  398 + "ext": null,
  399 + "canCA": true,
  400 + "inCAing": false
  401 + }, {
  402 + "id": null,
  403 + "collectorId": null,
  404 + "batchNo": null,
  405 + "taskId": null,
  406 + "taskName": null,
  407 + "resId": null,
  408 + "resName": null,
  409 + "templateId": null,
  410 + "templateName": null,
  411 + "directiveId": null,
  412 + "directiveName": null,
  413 + "kpiId": "KPI98306224",
  414 + "kpiName": "文件系统已使用大小",
  415 + "flag": "fs-run",
  416 + "kpiValue": "0.00 BIT",
  417 + "collTime": null,
  418 + "duration": null,
  419 + "createTime": null,
  420 + "ipAddr": null,
  421 + "kpiUnit": "gb",
  422 + "kpiIdent": "1",
  423 + "isWarning": 1,
  424 + "isTrend": 0,
  425 + "kpiLevel": 0,
  426 + "resTypeExtend": null,
  427 + "osExtend": null,
  428 + "ip": null,
  429 + "version": null,
  430 + "resType": null,
  431 + "message": null,
  432 + "ext": null,
  433 + "canCA": true,
  434 + "inCAing": false
  435 + }, {
  436 + "id": null,
  437 + "collectorId": null,
  438 + "batchNo": null,
  439 + "taskId": null,
  440 + "taskName": null,
  441 + "resId": null,
  442 + "resName": null,
  443 + "templateId": null,
  444 + "templateName": null,
  445 + "directiveId": null,
  446 + "directiveName": null,
  447 + "kpiId": "KPIE25925F7",
  448 + "kpiName": "文件系统空闲大小",
  449 + "flag": "fs-run",
  450 + "kpiValue": "7.76 GB",
  451 + "collTime": null,
  452 + "duration": null,
  453 + "createTime": null,
  454 + "ipAddr": null,
  455 + "kpiUnit": "gb",
  456 + "kpiIdent": "1",
  457 + "isWarning": 0,
  458 + "isTrend": 0,
  459 + "kpiLevel": 0,
  460 + "resTypeExtend": null,
  461 + "osExtend": null,
  462 + "ip": null,
  463 + "version": null,
  464 + "resType": null,
  465 + "message": null,
  466 + "ext": null,
  467 + "canCA": true,
  468 + "inCAing": false
  469 + }, {
  470 + "id": null,
  471 + "collectorId": null,
  472 + "batchNo": null,
  473 + "taskId": null,
  474 + "taskName": null,
  475 + "resId": null,
  476 + "resName": null,
  477 + "templateId": null,
  478 + "templateName": null,
  479 + "directiveId": null,
  480 + "directiveName": null,
  481 + "kpiId": "KPI77C28BBA",
  482 + "kpiName": "卷名称",
  483 + "flag": "fs-run",
  484 + "kpiValue": "tmpfs ",
  485 + "collTime": null,
  486 + "duration": null,
  487 + "createTime": null,
  488 + "ipAddr": null,
  489 + "kpiUnit": "none",
  490 + "kpiIdent": "0",
  491 + "isWarning": 0,
  492 + "isTrend": 0,
  493 + "kpiLevel": 0,
  494 + "resTypeExtend": null,
  495 + "osExtend": null,
  496 + "ip": null,
  497 + "version": null,
  498 + "resType": null,
  499 + "message": null,
  500 + "ext": null,
  501 + "canCA": true,
  502 + "inCAing": false
  503 + }, {
  504 + "id": null,
  505 + "collectorId": null,
  506 + "batchNo": null,
  507 + "taskId": null,
  508 + "taskName": null,
  509 + "resId": null,
  510 + "resName": null,
  511 + "templateId": null,
  512 + "templateName": null,
  513 + "directiveId": null,
  514 + "directiveName": null,
  515 + "kpiId": "KPIF74D9D2B",
  516 + "kpiName": "最近采集时间",
  517 + "flag": "fs-run",
  518 + "kpiValue": "2022-01-17 08:51:11 ",
  519 + "collTime": null,
  520 + "duration": null,
  521 + "createTime": null,
  522 + "ipAddr": null,
  523 + "kpiUnit": "",
  524 + "kpiIdent": "0",
  525 + "isWarning": 0,
  526 + "isTrend": 0,
  527 + "kpiLevel": 0,
  528 + "resTypeExtend": null,
  529 + "osExtend": null,
  530 + "ip": null,
  531 + "version": null,
  532 + "resType": null,
  533 + "message": null,
  534 + "ext": null,
  535 + "canCA": true,
  536 + "inCAing": false
  537 + }],
  538 + [{
  539 + "id": null,
  540 + "collectorId": null,
  541 + "batchNo": null,
  542 + "taskId": null,
  543 + "taskName": null,
  544 + "resId": null,
  545 + "resName": null,
  546 + "templateId": null,
  547 + "templateName": null,
  548 + "directiveId": null,
  549 + "directiveName": null,
  550 + "kpiId": "KPI7AC1664E",
  551 + "kpiName": "文件系统挂载",
  552 + "flag": "fs-dev",
  553 + "kpiValue": "/dev ",
  554 + "collTime": null,
  555 + "duration": null,
  556 + "createTime": null,
  557 + "ipAddr": null,
  558 + "kpiUnit": "none",
  559 + "kpiIdent": "0",
  560 + "isWarning": 0,
  561 + "isTrend": 0,
  562 + "kpiLevel": 0,
  563 + "resTypeExtend": null,
  564 + "osExtend": null,
  565 + "ip": null,
  566 + "version": null,
  567 + "resType": null,
  568 + "message": null,
  569 + "ext": null,
  570 + "canCA": true,
  571 + "inCAing": false
  572 + }, {
  573 + "id": null,
  574 + "collectorId": null,
  575 + "batchNo": null,
  576 + "taskId": null,
  577 + "taskName": null,
  578 + "resId": null,
  579 + "resName": null,
  580 + "templateId": null,
  581 + "templateName": null,
  582 + "directiveId": null,
  583 + "directiveName": null,
  584 + "kpiId": "KPI449F5365",
  585 + "kpiName": "文件系统使用率",
  586 + "flag": "fs-dev",
  587 + "kpiValue": "0%",
  588 + "collTime": null,
  589 + "duration": null,
  590 + "createTime": null,
  591 + "ipAddr": null,
  592 + "kpiUnit": "percent",
  593 + "kpiIdent": "1",
  594 + "isWarning": 0,
  595 + "isTrend": 0,
  596 + "kpiLevel": 0,
  597 + "resTypeExtend": null,
  598 + "osExtend": null,
  599 + "ip": null,
  600 + "version": null,
  601 + "resType": null,
  602 + "message": null,
  603 + "ext": null,
  604 + "canCA": true,
  605 + "inCAing": false
  606 + }, {
  607 + "id": null,
  608 + "collectorId": null,
  609 + "batchNo": null,
  610 + "taskId": null,
  611 + "taskName": null,
  612 + "resId": null,
  613 + "resName": null,
  614 + "templateId": null,
  615 + "templateName": null,
  616 + "directiveId": null,
  617 + "directiveName": null,
  618 + "kpiId": "KPIA91F44E7",
  619 + "kpiName": "文件系统总大小",
  620 + "flag": "fs-dev",
  621 + "kpiValue": "7.75 GB",
  622 + "collTime": null,
  623 + "duration": null,
  624 + "createTime": null,
  625 + "ipAddr": null,
  626 + "kpiUnit": "gb",
  627 + "kpiIdent": "1",
  628 + "isWarning": 2,
  629 + "isTrend": 0,
  630 + "kpiLevel": 0,
  631 + "resTypeExtend": null,
  632 + "osExtend": null,
  633 + "ip": null,
  634 + "version": null,
  635 + "resType": null,
  636 + "message": null,
  637 + "ext": null,
  638 + "canCA": true,
  639 + "inCAing": false
  640 + }, {
  641 + "id": null,
  642 + "collectorId": null,
  643 + "batchNo": null,
  644 + "taskId": null,
  645 + "taskName": null,
  646 + "resId": null,
  647 + "resName": null,
  648 + "templateId": null,
  649 + "templateName": null,
  650 + "directiveId": null,
  651 + "directiveName": null,
  652 + "kpiId": "KPI98306224",
  653 + "kpiName": "文件系统已使用大小",
  654 + "flag": "fs-dev",
  655 + "kpiValue": "0.00 BIT",
  656 + "collTime": null,
  657 + "duration": null,
  658 + "createTime": null,
  659 + "ipAddr": null,
  660 + "kpiUnit": "gb",
  661 + "kpiIdent": "1",
  662 + "isWarning": 1,
  663 + "isTrend": 0,
  664 + "kpiLevel": 0,
  665 + "resTypeExtend": null,
  666 + "osExtend": null,
  667 + "ip": null,
  668 + "version": null,
  669 + "resType": null,
  670 + "message": null,
  671 + "ext": null,
  672 + "canCA": true,
  673 + "inCAing": false
  674 + }, {
  675 + "id": null,
  676 + "collectorId": null,
  677 + "batchNo": null,
  678 + "taskId": null,
  679 + "taskName": null,
  680 + "resId": null,
  681 + "resName": null,
  682 + "templateId": null,
  683 + "templateName": null,
  684 + "directiveId": null,
  685 + "directiveName": null,
  686 + "kpiId": "KPIE25925F7",
  687 + "kpiName": "文件系统空闲大小",
  688 + "flag": "fs-dev",
  689 + "kpiValue": "7.75 GB",
  690 + "collTime": null,
  691 + "duration": null,
  692 + "createTime": null,
  693 + "ipAddr": null,
  694 + "kpiUnit": "gb",
  695 + "kpiIdent": "1",
  696 + "isWarning": 0,
  697 + "isTrend": 0,
  698 + "kpiLevel": 0,
  699 + "resTypeExtend": null,
  700 + "osExtend": null,
  701 + "ip": null,
  702 + "version": null,
  703 + "resType": null,
  704 + "message": null,
  705 + "ext": null,
  706 + "canCA": true,
  707 + "inCAing": false
  708 + }, {
  709 + "id": null,
  710 + "collectorId": null,
  711 + "batchNo": null,
  712 + "taskId": null,
  713 + "taskName": null,
  714 + "resId": null,
  715 + "resName": null,
  716 + "templateId": null,
  717 + "templateName": null,
  718 + "directiveId": null,
  719 + "directiveName": null,
  720 + "kpiId": "KPI77C28BBA",
  721 + "kpiName": "卷名称",
  722 + "flag": "fs-dev",
  723 + "kpiValue": "devtmpfs ",
  724 + "collTime": null,
  725 + "duration": null,
  726 + "createTime": null,
  727 + "ipAddr": null,
  728 + "kpiUnit": "none",
  729 + "kpiIdent": "0",
  730 + "isWarning": 0,
  731 + "isTrend": 0,
  732 + "kpiLevel": 0,
  733 + "resTypeExtend": null,
  734 + "osExtend": null,
  735 + "ip": null,
  736 + "version": null,
  737 + "resType": null,
  738 + "message": null,
  739 + "ext": null,
  740 + "canCA": true,
  741 + "inCAing": false
  742 + }, {
  743 + "id": null,
  744 + "collectorId": null,
  745 + "batchNo": null,
  746 + "taskId": null,
  747 + "taskName": null,
  748 + "resId": null,
  749 + "resName": null,
  750 + "templateId": null,
  751 + "templateName": null,
  752 + "directiveId": null,
  753 + "directiveName": null,
  754 + "kpiId": "KPIF74D9D2B",
  755 + "kpiName": "最近采集时间",
  756 + "flag": "fs-dev",
  757 + "kpiValue": "2022-01-17 08:51:11 ",
  758 + "collTime": null,
  759 + "duration": null,
  760 + "createTime": null,
  761 + "ipAddr": null,
  762 + "kpiUnit": "",
  763 + "kpiIdent": "0",
  764 + "isWarning": 0,
  765 + "isTrend": 0,
  766 + "kpiLevel": 0,
  767 + "resTypeExtend": null,
  768 + "osExtend": null,
  769 + "ip": null,
  770 + "version": null,
  771 + "resType": null,
  772 + "message": null,
  773 + "ext": null,
  774 + "canCA": true,
  775 + "inCAing": false
  776 + }],
  777 + [{
  778 + "id": null,
  779 + "collectorId": null,
  780 + "batchNo": null,
  781 + "taskId": null,
  782 + "taskName": null,
  783 + "resId": null,
  784 + "resName": null,
  785 + "templateId": null,
  786 + "templateName": null,
  787 + "directiveId": null,
  788 + "directiveName": null,
  789 + "kpiId": "KPI7AC1664E",
  790 + "kpiName": "文件系统挂载",
  791 + "flag": "fs-runuser0",
  792 + "kpiValue": "/run/user/0 ",
  793 + "collTime": null,
  794 + "duration": null,
  795 + "createTime": null,
  796 + "ipAddr": null,
  797 + "kpiUnit": "none",
  798 + "kpiIdent": "0",
  799 + "isWarning": 0,
  800 + "isTrend": 0,
  801 + "kpiLevel": 0,
  802 + "resTypeExtend": null,
  803 + "osExtend": null,
  804 + "ip": null,
  805 + "version": null,
  806 + "resType": null,
  807 + "message": null,
  808 + "ext": null,
  809 + "canCA": true,
  810 + "inCAing": false
  811 + }, {
  812 + "id": null,
  813 + "collectorId": null,
  814 + "batchNo": null,
  815 + "taskId": null,
  816 + "taskName": null,
  817 + "resId": null,
  818 + "resName": null,
  819 + "templateId": null,
  820 + "templateName": null,
  821 + "directiveId": null,
  822 + "directiveName": null,
  823 + "kpiId": "KPI449F5365",
  824 + "kpiName": "文件系统使用率",
  825 + "flag": "fs-runuser0",
  826 + "kpiValue": "0%",
  827 + "collTime": null,
  828 + "duration": null,
  829 + "createTime": null,
  830 + "ipAddr": null,
  831 + "kpiUnit": "percent",
  832 + "kpiIdent": "1",
  833 + "isWarning": 0,
  834 + "isTrend": 0,
  835 + "kpiLevel": 0,
  836 + "resTypeExtend": null,
  837 + "osExtend": null,
  838 + "ip": null,
  839 + "version": null,
  840 + "resType": null,
  841 + "message": null,
  842 + "ext": null,
  843 + "canCA": true,
  844 + "inCAing": false
  845 + }, {
  846 + "id": null,
  847 + "collectorId": null,
  848 + "batchNo": null,
  849 + "taskId": null,
  850 + "taskName": null,
  851 + "resId": null,
  852 + "resName": null,
  853 + "templateId": null,
  854 + "templateName": null,
  855 + "directiveId": null,
  856 + "directiveName": null,
  857 + "kpiId": "KPIA91F44E7",
  858 + "kpiName": "文件系统总大小",
  859 + "flag": "fs-runuser0",
  860 + "kpiValue": "1.55 GB",
  861 + "collTime": null,
  862 + "duration": null,
  863 + "createTime": null,
  864 + "ipAddr": null,
  865 + "kpiUnit": "gb",
  866 + "kpiIdent": "1",
  867 + "isWarning": 2,
  868 + "isTrend": 0,
  869 + "kpiLevel": 0,
  870 + "resTypeExtend": null,
  871 + "osExtend": null,
  872 + "ip": null,
  873 + "version": null,
  874 + "resType": null,
  875 + "message": null,
  876 + "ext": null,
  877 + "canCA": true,
  878 + "inCAing": false
  879 + }, {
  880 + "id": null,
  881 + "collectorId": null,
  882 + "batchNo": null,
  883 + "taskId": null,
  884 + "taskName": null,
  885 + "resId": null,
  886 + "resName": null,
  887 + "templateId": null,
  888 + "templateName": null,
  889 + "directiveId": null,
  890 + "directiveName": null,
  891 + "kpiId": "KPI98306224",
  892 + "kpiName": "文件系统已使用大小",
  893 + "flag": "fs-runuser0",
  894 + "kpiValue": "0.00 BIT",
  895 + "collTime": null,
  896 + "duration": null,
  897 + "createTime": null,
  898 + "ipAddr": null,
  899 + "kpiUnit": "gb",
  900 + "kpiIdent": "1",
  901 + "isWarning": 1,
  902 + "isTrend": 0,
  903 + "kpiLevel": 0,
  904 + "resTypeExtend": null,
  905 + "osExtend": null,
  906 + "ip": null,
  907 + "version": null,
  908 + "resType": null,
  909 + "message": null,
  910 + "ext": null,
  911 + "canCA": true,
  912 + "inCAing": false
  913 + }, {
  914 + "id": null,
  915 + "collectorId": null,
  916 + "batchNo": null,
  917 + "taskId": null,
  918 + "taskName": null,
  919 + "resId": null,
  920 + "resName": null,
  921 + "templateId": null,
  922 + "templateName": null,
  923 + "directiveId": null,
  924 + "directiveName": null,
  925 + "kpiId": "KPIE25925F7",
  926 + "kpiName": "文件系统空闲大小",
  927 + "flag": "fs-runuser0",
  928 + "kpiValue": "1.55 GB",
  929 + "collTime": null,
  930 + "duration": null,
  931 + "createTime": null,
  932 + "ipAddr": null,
  933 + "kpiUnit": "gb",
  934 + "kpiIdent": "1",
  935 + "isWarning": 0,
  936 + "isTrend": 0,
  937 + "kpiLevel": 0,
  938 + "resTypeExtend": null,
  939 + "osExtend": null,
  940 + "ip": null,
  941 + "version": null,
  942 + "resType": null,
  943 + "message": null,
  944 + "ext": null,
  945 + "canCA": true,
  946 + "inCAing": false
  947 + }, {
  948 + "id": null,
  949 + "collectorId": null,
  950 + "batchNo": null,
  951 + "taskId": null,
  952 + "taskName": null,
  953 + "resId": null,
  954 + "resName": null,
  955 + "templateId": null,
  956 + "templateName": null,
  957 + "directiveId": null,
  958 + "directiveName": null,
  959 + "kpiId": "KPI77C28BBA",
  960 + "kpiName": "卷名称",
  961 + "flag": "fs-runuser0",
  962 + "kpiValue": "tmpfs ",
  963 + "collTime": null,
  964 + "duration": null,
  965 + "createTime": null,
  966 + "ipAddr": null,
  967 + "kpiUnit": "none",
  968 + "kpiIdent": "0",
  969 + "isWarning": 0,
  970 + "isTrend": 0,
  971 + "kpiLevel": 0,
  972 + "resTypeExtend": null,
  973 + "osExtend": null,
  974 + "ip": null,
  975 + "version": null,
  976 + "resType": null,
  977 + "message": null,
  978 + "ext": null,
  979 + "canCA": true,
  980 + "inCAing": false
  981 + }, {
  982 + "id": null,
  983 + "collectorId": null,
  984 + "batchNo": null,
  985 + "taskId": null,
  986 + "taskName": null,
  987 + "resId": null,
  988 + "resName": null,
  989 + "templateId": null,
  990 + "templateName": null,
  991 + "directiveId": null,
  992 + "directiveName": null,
  993 + "kpiId": "KPIF74D9D2B",
  994 + "kpiName": "最近采集时间",
  995 + "flag": "fs-runuser0",
  996 + "kpiValue": "2022-01-17 08:51:11 ",
  997 + "collTime": null,
  998 + "duration": null,
  999 + "createTime": null,
  1000 + "ipAddr": null,
  1001 + "kpiUnit": "",
  1002 + "kpiIdent": "0",
  1003 + "isWarning": 0,
  1004 + "isTrend": 0,
  1005 + "kpiLevel": 0,
  1006 + "resTypeExtend": null,
  1007 + "osExtend": null,
  1008 + "ip": null,
  1009 + "version": null,
  1010 + "resType": null,
  1011 + "message": null,
  1012 + "ext": null,
  1013 + "canCA": true,
  1014 + "inCAing": false
  1015 + }],
  1016 + [{
  1017 + "id": null,
  1018 + "collectorId": null,
  1019 + "batchNo": null,
  1020 + "taskId": null,
  1021 + "taskName": null,
  1022 + "resId": null,
  1023 + "resName": null,
  1024 + "templateId": null,
  1025 + "templateName": null,
  1026 + "directiveId": null,
  1027 + "directiveName": null,
  1028 + "kpiId": "KPI7AC1664E",
  1029 + "kpiName": "文件系统挂载",
  1030 + "flag": "fs-runuser1000",
  1031 + "kpiValue": "/run/user/1000 ",
  1032 + "collTime": null,
  1033 + "duration": null,
  1034 + "createTime": null,
  1035 + "ipAddr": null,
  1036 + "kpiUnit": "none",
  1037 + "kpiIdent": "0",
  1038 + "isWarning": 0,
  1039 + "isTrend": 0,
  1040 + "kpiLevel": 0,
  1041 + "resTypeExtend": null,
  1042 + "osExtend": null,
  1043 + "ip": null,
  1044 + "version": null,
  1045 + "resType": null,
  1046 + "message": null,
  1047 + "ext": null,
  1048 + "canCA": true,
  1049 + "inCAing": false
  1050 + }, {
  1051 + "id": null,
  1052 + "collectorId": null,
  1053 + "batchNo": null,
  1054 + "taskId": null,
  1055 + "taskName": null,
  1056 + "resId": null,
  1057 + "resName": null,
  1058 + "templateId": null,
  1059 + "templateName": null,
  1060 + "directiveId": null,
  1061 + "directiveName": null,
  1062 + "kpiId": "KPI449F5365",
  1063 + "kpiName": "文件系统使用率",
  1064 + "flag": "fs-runuser1000",
  1065 + "kpiValue": "0%",
  1066 + "collTime": null,
  1067 + "duration": null,
  1068 + "createTime": null,
  1069 + "ipAddr": null,
  1070 + "kpiUnit": "percent",
  1071 + "kpiIdent": "1",
  1072 + "isWarning": 0,
  1073 + "isTrend": 0,
  1074 + "kpiLevel": 0,
  1075 + "resTypeExtend": null,
  1076 + "osExtend": null,
  1077 + "ip": null,
  1078 + "version": null,
  1079 + "resType": null,
  1080 + "message": null,
  1081 + "ext": null,
  1082 + "canCA": true,
  1083 + "inCAing": false
  1084 + }, {
  1085 + "id": null,
  1086 + "collectorId": null,
  1087 + "batchNo": null,
  1088 + "taskId": null,
  1089 + "taskName": null,
  1090 + "resId": null,
  1091 + "resName": null,
  1092 + "templateId": null,
  1093 + "templateName": null,
  1094 + "directiveId": null,
  1095 + "directiveName": null,
  1096 + "kpiId": "KPIA91F44E7",
  1097 + "kpiName": "文件系统总大小",
  1098 + "flag": "fs-runuser1000",
  1099 + "kpiValue": "1.55 GB",
  1100 + "collTime": null,
  1101 + "duration": null,
  1102 + "createTime": null,
  1103 + "ipAddr": null,
  1104 + "kpiUnit": "gb",
  1105 + "kpiIdent": "1",
  1106 + "isWarning": 2,
  1107 + "isTrend": 0,
  1108 + "kpiLevel": 0,
  1109 + "resTypeExtend": null,
  1110 + "osExtend": null,
  1111 + "ip": null,
  1112 + "version": null,
  1113 + "resType": null,
  1114 + "message": null,
  1115 + "ext": null,
  1116 + "canCA": true,
  1117 + "inCAing": false
  1118 + }, {
  1119 + "id": null,
  1120 + "collectorId": null,
  1121 + "batchNo": null,
  1122 + "taskId": null,
  1123 + "taskName": null,
  1124 + "resId": null,
  1125 + "resName": null,
  1126 + "templateId": null,
  1127 + "templateName": null,
  1128 + "directiveId": null,
  1129 + "directiveName": null,
  1130 + "kpiId": "KPI98306224",
  1131 + "kpiName": "文件系统已使用大小",
  1132 + "flag": "fs-runuser1000",
  1133 + "kpiValue": "0.00 BIT",
  1134 + "collTime": null,
  1135 + "duration": null,
  1136 + "createTime": null,
  1137 + "ipAddr": null,
  1138 + "kpiUnit": "gb",
  1139 + "kpiIdent": "1",
  1140 + "isWarning": 1,
  1141 + "isTrend": 0,
  1142 + "kpiLevel": 0,
  1143 + "resTypeExtend": null,
  1144 + "osExtend": null,
  1145 + "ip": null,
  1146 + "version": null,
  1147 + "resType": null,
  1148 + "message": null,
  1149 + "ext": null,
  1150 + "canCA": true,
  1151 + "inCAing": false
  1152 + }, {
  1153 + "id": null,
  1154 + "collectorId": null,
  1155 + "batchNo": null,
  1156 + "taskId": null,
  1157 + "taskName": null,
  1158 + "resId": null,
  1159 + "resName": null,
  1160 + "templateId": null,
  1161 + "templateName": null,
  1162 + "directiveId": null,
  1163 + "directiveName": null,
  1164 + "kpiId": "KPIE25925F7",
  1165 + "kpiName": "文件系统空闲大小",
  1166 + "flag": "fs-runuser1000",
  1167 + "kpiValue": "1.55 GB",
  1168 + "collTime": null,
  1169 + "duration": null,
  1170 + "createTime": null,
  1171 + "ipAddr": null,
  1172 + "kpiUnit": "gb",
  1173 + "kpiIdent": "1",
  1174 + "isWarning": 0,
  1175 + "isTrend": 0,
  1176 + "kpiLevel": 0,
  1177 + "resTypeExtend": null,
  1178 + "osExtend": null,
  1179 + "ip": null,
  1180 + "version": null,
  1181 + "resType": null,
  1182 + "message": null,
  1183 + "ext": null,
  1184 + "canCA": true,
  1185 + "inCAing": false
  1186 + }, {
  1187 + "id": null,
  1188 + "collectorId": null,
  1189 + "batchNo": null,
  1190 + "taskId": null,
  1191 + "taskName": null,
  1192 + "resId": null,
  1193 + "resName": null,
  1194 + "templateId": null,
  1195 + "templateName": null,
  1196 + "directiveId": null,
  1197 + "directiveName": null,
  1198 + "kpiId": "KPI77C28BBA",
  1199 + "kpiName": "卷名称",
  1200 + "flag": "fs-runuser1000",
  1201 + "kpiValue": "tmpfs ",
  1202 + "collTime": null,
  1203 + "duration": null,
  1204 + "createTime": null,
  1205 + "ipAddr": null,
  1206 + "kpiUnit": "none",
  1207 + "kpiIdent": "0",
  1208 + "isWarning": 0,
  1209 + "isTrend": 0,
  1210 + "kpiLevel": 0,
  1211 + "resTypeExtend": null,
  1212 + "osExtend": null,
  1213 + "ip": null,
  1214 + "version": null,
  1215 + "resType": null,
  1216 + "message": null,
  1217 + "ext": null,
  1218 + "canCA": true,
  1219 + "inCAing": false
  1220 + }, {
  1221 + "id": null,
  1222 + "collectorId": null,
  1223 + "batchNo": null,
  1224 + "taskId": null,
  1225 + "taskName": null,
  1226 + "resId": null,
  1227 + "resName": null,
  1228 + "templateId": null,
  1229 + "templateName": null,
  1230 + "directiveId": null,
  1231 + "directiveName": null,
  1232 + "kpiId": "KPIF74D9D2B",
  1233 + "kpiName": "最近采集时间",
  1234 + "flag": "fs-runuser1000",
  1235 + "kpiValue": "2022-01-17 08:51:11 ",
  1236 + "collTime": null,
  1237 + "duration": null,
  1238 + "createTime": null,
  1239 + "ipAddr": null,
  1240 + "kpiUnit": "",
  1241 + "kpiIdent": "0",
  1242 + "isWarning": 0,
  1243 + "isTrend": 0,
  1244 + "kpiLevel": 0,
  1245 + "resTypeExtend": null,
  1246 + "osExtend": null,
  1247 + "ip": null,
  1248 + "version": null,
  1249 + "resType": null,
  1250 + "message": null,
  1251 + "ext": null,
  1252 + "canCA": true,
  1253 + "inCAing": false
  1254 + }]
  1255 + ],
  1256 + "page": 1,
  1257 + "total": 6
  1258 + }],
  1259 + "map": null,
  1260 + "success": true,
  1261 + "obj": null,
  1262 + "object": null,
  1263 + "str": null,
  1264 + "totalRow": null
  1265 + }
22 let detailTableData={ 1266 let detailTableData={
23 "code": 0, 1267 "code": 0,
24 "msg": "", 1268 "msg": "",
@@ -1264,7 +2508,15 @@ export function getDetailTableData(){ @@ -1264,7 +2508,15 @@ export function getDetailTableData(){
1264 "str": null, 2508 "str": null,
1265 "totalRow": null 2509 "totalRow": null
1266 } 2510 }
1267 - return detailTableData; 2511 + if(params.kpiId=='KPI7AC1664E,KPI449F5365,KPIA91F44E7,KPI98306224,KPI77C28BBA'){
  2512 + console.log("a1")
  2513 + tableData=detailTableData1;
  2514 + }else{
  2515 + console.log("a2")
  2516 + tableData=detailTableData;
  2517 +
  2518 + }
  2519 + return tableData;
1268 } 2520 }
1269 2521
1270 export function getDetailTableDataNoPage(){ 2522 export function getDetailTableDataNoPage(){
@@ -2989,3 +4241,2005 @@ export function getDetailTableDataNoPage(){ @@ -2989,3 +4241,2005 @@ export function getDetailTableDataNoPage(){
2989 } 4241 }
2990 return detailTaleData; 4242 return detailTaleData;
2991 } 4243 }
  4244 +
  4245 +export function getKpiPage(){
  4246 + let kpiPageData={
  4247 + "code": 0,
  4248 + "msg": "",
  4249 + "count": 796,
  4250 + "data": [
  4251 + {
  4252 + "kpiId": "KPI7AC1664E",
  4253 + "kpiName": "文件系统挂载",
  4254 + "kpiType": "PC服务器,小型机分区,虚拟机",
  4255 + "kpiDataType": "string",
  4256 + "kpiUnit": "无",
  4257 + "remark": "文件系统挂载",
  4258 + "kpiCategory": "0",
  4259 + "viewWay": "",
  4260 + "flag": "",
  4261 + "kpiIdent": "0",
  4262 + "syncFlag": "0",
  4263 + "isWarning": 0,
  4264 + "kpiPower": null,
  4265 + "isWarningStr": null,
  4266 + "kpiLevel": 0,
  4267 + "kpiLevelStr": null,
  4268 + "createTime": 1544149368000,
  4269 + "ignoreCnt": 0,
  4270 + "isTrend": 0,
  4271 + "sort": -1,
  4272 + "unitGroupId": null,
  4273 + "kpiTotal": null,
  4274 + "resId": null,
  4275 + "unit": "",
  4276 + "typeNum": null,
  4277 + "policyNum": "0",
  4278 + "expression": null,
  4279 + "standardValue": null,
  4280 + "baselineId": null,
  4281 + "policy": null,
  4282 + "analysisExpr": null,
  4283 + "kpiValue": null,
  4284 + "relId": null,
  4285 + "levelList": null,
  4286 + "canCA": null
  4287 + },
  4288 + {
  4289 + "kpiId": "KPI449F5365",
  4290 + "kpiName": "文件系统使用率",
  4291 + "kpiType": "PC服务器,小型机分区,虚拟机",
  4292 + "kpiDataType": "number",
  4293 + "kpiUnit": "%",
  4294 + "remark": "文件系统使用率",
  4295 + "kpiCategory": "0",
  4296 + "viewWay": "",
  4297 + "flag": "",
  4298 + "kpiIdent": "1",
  4299 + "syncFlag": "0",
  4300 + "isWarning": 0,
  4301 + "kpiPower": null,
  4302 + "isWarningStr": null,
  4303 + "kpiLevel": 0,
  4304 + "kpiLevelStr": null,
  4305 + "createTime": 1544149368000,
  4306 + "ignoreCnt": 0,
  4307 + "isTrend": 0,
  4308 + "sort": -1,
  4309 + "unitGroupId": null,
  4310 + "kpiTotal": null,
  4311 + "resId": null,
  4312 + "unit": "\"%\"",
  4313 + "typeNum": null,
  4314 + "policyNum": "0",
  4315 + "expression": null,
  4316 + "standardValue": null,
  4317 + "baselineId": null,
  4318 + "policy": null,
  4319 + "analysisExpr": null,
  4320 + "kpiValue": null,
  4321 + "relId": null,
  4322 + "levelList": null,
  4323 + "canCA": null
  4324 + },
  4325 + {
  4326 + "kpiId": "KPIA91F44E7",
  4327 + "kpiName": "文件系统总大小",
  4328 + "kpiType": "PC服务器,小型机分区,虚拟机",
  4329 + "kpiDataType": "number",
  4330 + "kpiUnit": "GB",
  4331 + "remark": "文件系统总大小(GB)",
  4332 + "kpiCategory": "0",
  4333 + "viewWay": "",
  4334 + "flag": "",
  4335 + "kpiIdent": "1",
  4336 + "syncFlag": "0",
  4337 + "isWarning": 2,
  4338 + "kpiPower": null,
  4339 + "isWarningStr": null,
  4340 + "kpiLevel": 0,
  4341 + "kpiLevelStr": null,
  4342 + "createTime": 1544149368000,
  4343 + "ignoreCnt": 0,
  4344 + "isTrend": 0,
  4345 + "sort": -1,
  4346 + "unitGroupId": "storage",
  4347 + "kpiTotal": null,
  4348 + "resId": null,
  4349 + "unit": "GB",
  4350 + "typeNum": null,
  4351 + "policyNum": "0",
  4352 + "expression": null,
  4353 + "standardValue": null,
  4354 + "baselineId": null,
  4355 + "policy": null,
  4356 + "analysisExpr": null,
  4357 + "kpiValue": null,
  4358 + "relId": null,
  4359 + "levelList": null,
  4360 + "canCA": null
  4361 + },
  4362 + {
  4363 + "kpiId": "KPI98306224",
  4364 + "kpiName": "文件系统已使用大小",
  4365 + "kpiType": "oracle,PC服务器,小型机分区,虚拟机",
  4366 + "kpiDataType": "number",
  4367 + "kpiUnit": "GB",
  4368 + "remark": "文件系统已使用大小(GB)",
  4369 + "kpiCategory": "0",
  4370 + "viewWay": "",
  4371 + "flag": "",
  4372 + "kpiIdent": "1",
  4373 + "syncFlag": "0",
  4374 + "isWarning": 1,
  4375 + "kpiPower": null,
  4376 + "isWarningStr": null,
  4377 + "kpiLevel": 0,
  4378 + "kpiLevelStr": null,
  4379 + "createTime": 1544149368000,
  4380 + "ignoreCnt": 0,
  4381 + "isTrend": 0,
  4382 + "sort": -1,
  4383 + "unitGroupId": "storage",
  4384 + "kpiTotal": null,
  4385 + "resId": null,
  4386 + "unit": "GB",
  4387 + "typeNum": null,
  4388 + "policyNum": "0",
  4389 + "expression": null,
  4390 + "standardValue": null,
  4391 + "baselineId": null,
  4392 + "policy": null,
  4393 + "analysisExpr": null,
  4394 + "kpiValue": null,
  4395 + "relId": null,
  4396 + "levelList": null,
  4397 + "canCA": null
  4398 + },
  4399 + {
  4400 + "kpiId": "KPI77C28BBA",
  4401 + "kpiName": "卷名称",
  4402 + "kpiType": "PC服务器,小型机分区,虚拟机",
  4403 + "kpiDataType": "string",
  4404 + "kpiUnit": "无",
  4405 + "remark": "文件系统名称",
  4406 + "kpiCategory": "0",
  4407 + "viewWay": "",
  4408 + "flag": "",
  4409 + "kpiIdent": "0",
  4410 + "syncFlag": "0",
  4411 + "isWarning": 0,
  4412 + "kpiPower": null,
  4413 + "isWarningStr": null,
  4414 + "kpiLevel": 0,
  4415 + "kpiLevelStr": null,
  4416 + "createTime": 1544149368000,
  4417 + "ignoreCnt": 0,
  4418 + "isTrend": 0,
  4419 + "sort": -1,
  4420 + "unitGroupId": null,
  4421 + "kpiTotal": null,
  4422 + "resId": null,
  4423 + "unit": "",
  4424 + "typeNum": null,
  4425 + "policyNum": "0",
  4426 + "expression": null,
  4427 + "standardValue": null,
  4428 + "baselineId": null,
  4429 + "policy": null,
  4430 + "analysisExpr": null,
  4431 + "kpiValue": null,
  4432 + "relId": null,
  4433 + "levelList": null,
  4434 + "canCA": null
  4435 + },
  4436 + {
  4437 + "kpiId": "KPI4EFF9873",
  4438 + "kpiName": "所属平台",
  4439 + "kpiType": "宿主机,虚拟机,资源池",
  4440 + "kpiDataType": "string",
  4441 + "kpiUnit": "无",
  4442 + "remark": null,
  4443 + "kpiCategory": "0",
  4444 + "viewWay": null,
  4445 + "flag": null,
  4446 + "kpiIdent": "0",
  4447 + "syncFlag": "0",
  4448 + "isWarning": 0,
  4449 + "kpiPower": null,
  4450 + "isWarningStr": null,
  4451 + "kpiLevel": 0,
  4452 + "kpiLevelStr": null,
  4453 + "createTime": 1627620669000,
  4454 + "ignoreCnt": 0,
  4455 + "isTrend": 0,
  4456 + "sort": -1,
  4457 + "unitGroupId": null,
  4458 + "kpiTotal": null,
  4459 + "resId": null,
  4460 + "unit": "",
  4461 + "typeNum": null,
  4462 + "policyNum": "0",
  4463 + "expression": null,
  4464 + "standardValue": null,
  4465 + "baselineId": null,
  4466 + "policy": null,
  4467 + "analysisExpr": null,
  4468 + "kpiValue": null,
  4469 + "relId": null,
  4470 + "levelList": null,
  4471 + "canCA": null
  4472 + }, {
  4473 + "kpiId": "KPI1F5D2F9D",
  4474 + "kpiName": "缓存已使用大小",
  4475 + "kpiType": "PC服务器,虚拟机",
  4476 + "kpiDataType": "number",
  4477 + "kpiUnit": "无",
  4478 + "remark": "缓存已使用大小",
  4479 + "kpiCategory": "0",
  4480 + "viewWay": "",
  4481 + "flag": "",
  4482 + "kpiIdent": "0",
  4483 + "syncFlag": "0",
  4484 + "isWarning": 0,
  4485 + "kpiPower": null,
  4486 + "isWarningStr": null,
  4487 + "kpiLevel": 0,
  4488 + "kpiLevelStr": null,
  4489 + "createTime": 1608745200000,
  4490 + "ignoreCnt": 0,
  4491 + "isTrend": 0,
  4492 + "sort": -1,
  4493 + "unitGroupId": null,
  4494 + "kpiTotal": null,
  4495 + "resId": null,
  4496 + "unit": "GB",
  4497 + "typeNum": null,
  4498 + "policyNum": "0",
  4499 + "expression": null,
  4500 + "standardValue": null,
  4501 + "baselineId": null,
  4502 + "policy": null,
  4503 + "analysisExpr": null,
  4504 + "kpiValue": null,
  4505 + "relId": null,
  4506 + "levelList": null,
  4507 + "canCA": null
  4508 + }, {
  4509 + "kpiId": "KPIAEA0D167",
  4510 + "kpiName": "RTT最小",
  4511 + "kpiType": "mysql,oracle,PC服务器,weblogic,交换机,网络链路,虚拟机,路由器",
  4512 + "kpiDataType": "number",
  4513 + "kpiUnit": "无",
  4514 + "remark": null,
  4515 + "kpiCategory": "1",
  4516 + "viewWay": null,
  4517 + "flag": null,
  4518 + "kpiIdent": "1",
  4519 + "syncFlag": "0",
  4520 + "isWarning": null,
  4521 + "kpiPower": null,
  4522 + "isWarningStr": null,
  4523 + "kpiLevel": null,
  4524 + "kpiLevelStr": null,
  4525 + "createTime": 1607439713000,
  4526 + "ignoreCnt": null,
  4527 + "isTrend": null,
  4528 + "sort": -1,
  4529 + "unitGroupId": null,
  4530 + "kpiTotal": null,
  4531 + "resId": null,
  4532 + "unit": "",
  4533 + "typeNum": null,
  4534 + "policyNum": "0",
  4535 + "expression": null,
  4536 + "standardValue": null,
  4537 + "baselineId": null,
  4538 + "policy": null,
  4539 + "analysisExpr": null,
  4540 + "kpiValue": null,
  4541 + "relId": null,
  4542 + "levelList": null,
  4543 + "canCA": null
  4544 + }, {
  4545 + "kpiId": "KPI91A1DA5E",
  4546 + "kpiName": "丢包率",
  4547 + "kpiType": "mysql,oracle,PC服务器,VMWARE,weblogic,交换机,网络链路,虚拟机",
  4548 + "kpiDataType": "number",
  4549 + "kpiUnit": "%",
  4550 + "remark": null,
  4551 + "kpiCategory": "1",
  4552 + "viewWay": null,
  4553 + "flag": null,
  4554 + "kpiIdent": "1",
  4555 + "syncFlag": "0",
  4556 + "isWarning": null,
  4557 + "kpiPower": null,
  4558 + "isWarningStr": null,
  4559 + "kpiLevel": null,
  4560 + "kpiLevelStr": null,
  4561 + "createTime": 1607439713000,
  4562 + "ignoreCnt": null,
  4563 + "isTrend": null,
  4564 + "sort": -1,
  4565 + "unitGroupId": null,
  4566 + "kpiTotal": null,
  4567 + "resId": null,
  4568 + "unit": "\"%\"",
  4569 + "typeNum": null,
  4570 + "policyNum": "0",
  4571 + "expression": null,
  4572 + "standardValue": null,
  4573 + "baselineId": null,
  4574 + "policy": null,
  4575 + "analysisExpr": null,
  4576 + "kpiValue": null,
  4577 + "relId": null,
  4578 + "levelList": null,
  4579 + "canCA": null
  4580 + }, {
  4581 + "kpiId": "KPIC9459CE7",
  4582 + "kpiName": "RTT最大",
  4583 + "kpiType": "mysql,oracle,PC服务器,weblogic,交换机,网络链路,虚拟机,路由器",
  4584 + "kpiDataType": "number",
  4585 + "kpiUnit": "无",
  4586 + "remark": null,
  4587 + "kpiCategory": "1",
  4588 + "viewWay": null,
  4589 + "flag": null,
  4590 + "kpiIdent": "1",
  4591 + "syncFlag": "0",
  4592 + "isWarning": null,
  4593 + "kpiPower": null,
  4594 + "isWarningStr": null,
  4595 + "kpiLevel": null,
  4596 + "kpiLevelStr": null,
  4597 + "createTime": 1607439713000,
  4598 + "ignoreCnt": null,
  4599 + "isTrend": null,
  4600 + "sort": -1,
  4601 + "unitGroupId": null,
  4602 + "kpiTotal": null,
  4603 + "resId": null,
  4604 + "unit": "",
  4605 + "typeNum": null,
  4606 + "policyNum": "0",
  4607 + "expression": null,
  4608 + "standardValue": null,
  4609 + "baselineId": null,
  4610 + "policy": null,
  4611 + "analysisExpr": null,
  4612 + "kpiValue": null,
  4613 + "relId": null,
  4614 + "levelList": null,
  4615 + "canCA": null
  4616 + }, {
  4617 + "kpiId": "KPIB471F777",
  4618 + "kpiName": "RTT平均",
  4619 + "kpiType": "mysql,oracle,PC服务器,VMWARE,weblogic,交换机,网络链路,虚拟机,路由器",
  4620 + "kpiDataType": "number",
  4621 + "kpiUnit": "无",
  4622 + "remark": null,
  4623 + "kpiCategory": "1",
  4624 + "viewWay": null,
  4625 + "flag": null,
  4626 + "kpiIdent": "1",
  4627 + "syncFlag": "0",
  4628 + "isWarning": null,
  4629 + "kpiPower": null,
  4630 + "isWarningStr": null,
  4631 + "kpiLevel": null,
  4632 + "kpiLevelStr": null,
  4633 + "createTime": 1607439713000,
  4634 + "ignoreCnt": null,
  4635 + "isTrend": null,
  4636 + "sort": -1,
  4637 + "unitGroupId": null,
  4638 + "kpiTotal": null,
  4639 + "resId": null,
  4640 + "unit": "",
  4641 + "typeNum": null,
  4642 + "policyNum": "0",
  4643 + "expression": null,
  4644 + "standardValue": null,
  4645 + "baselineId": null,
  4646 + "policy": null,
  4647 + "analysisExpr": null,
  4648 + "kpiValue": null,
  4649 + "relId": null,
  4650 + "levelList": null,
  4651 + "canCA": null
  4652 + }, {
  4653 + "kpiId": "KPI10DAA677",
  4654 + "kpiName": "PING详情",
  4655 + "kpiType": "mysql,oracle,PC服务器,weblogic,交换机,网络链路,虚拟机,路由器",
  4656 + "kpiDataType": "string",
  4657 + "kpiUnit": "无",
  4658 + "remark": null,
  4659 + "kpiCategory": "1",
  4660 + "viewWay": null,
  4661 + "flag": null,
  4662 + "kpiIdent": "0",
  4663 + "syncFlag": "0",
  4664 + "isWarning": 0,
  4665 + "kpiPower": null,
  4666 + "isWarningStr": null,
  4667 + "kpiLevel": 0,
  4668 + "kpiLevelStr": null,
  4669 + "createTime": 1607439366000,
  4670 + "ignoreCnt": 0,
  4671 + "isTrend": 0,
  4672 + "sort": -1,
  4673 + "unitGroupId": null,
  4674 + "kpiTotal": null,
  4675 + "resId": null,
  4676 + "unit": "",
  4677 + "typeNum": null,
  4678 + "policyNum": "0",
  4679 + "expression": null,
  4680 + "standardValue": null,
  4681 + "baselineId": null,
  4682 + "policy": null,
  4683 + "analysisExpr": null,
  4684 + "kpiValue": null,
  4685 + "relId": null,
  4686 + "levelList": null,
  4687 + "canCA": null
  4688 + }, {
  4689 + "kpiId": "KPIB9361011",
  4690 + "kpiName": "HOST",
  4691 + "kpiType": "kafka",
  4692 + "kpiDataType": "string",
  4693 + "kpiUnit": "无",
  4694 + "remark": "kafka_topic",
  4695 + "kpiCategory": "0",
  4696 + "viewWay": null,
  4697 + "flag": null,
  4698 + "kpiIdent": "0",
  4699 + "syncFlag": "0",
  4700 + "isWarning": 0,
  4701 + "kpiPower": null,
  4702 + "isWarningStr": null,
  4703 + "kpiLevel": 0,
  4704 + "kpiLevelStr": null,
  4705 + "createTime": 1594118863000,
  4706 + "ignoreCnt": null,
  4707 + "isTrend": null,
  4708 + "sort": -1,
  4709 + "unitGroupId": null,
  4710 + "kpiTotal": null,
  4711 + "resId": null,
  4712 + "unit": "",
  4713 + "typeNum": null,
  4714 + "policyNum": "0",
  4715 + "expression": null,
  4716 + "standardValue": null,
  4717 + "baselineId": null,
  4718 + "policy": null,
  4719 + "analysisExpr": null,
  4720 + "kpiValue": null,
  4721 + "relId": null,
  4722 + "levelList": null,
  4723 + "canCA": null
  4724 + }, {
  4725 + "kpiId": "KPI22396974",
  4726 + "kpiName": "LAG",
  4727 + "kpiType": "kafka",
  4728 + "kpiDataType": "string",
  4729 + "kpiUnit": "无",
  4730 + "remark": "kafka_topic",
  4731 + "kpiCategory": "0",
  4732 + "viewWay": null,
  4733 + "flag": null,
  4734 + "kpiIdent": "1",
  4735 + "syncFlag": "0",
  4736 + "isWarning": 0,
  4737 + "kpiPower": null,
  4738 + "isWarningStr": null,
  4739 + "kpiLevel": 1,
  4740 + "kpiLevelStr": null,
  4741 + "createTime": 1594118803000,
  4742 + "ignoreCnt": null,
  4743 + "isTrend": null,
  4744 + "sort": -1,
  4745 + "unitGroupId": null,
  4746 + "kpiTotal": null,
  4747 + "resId": null,
  4748 + "unit": "",
  4749 + "typeNum": null,
  4750 + "policyNum": "0",
  4751 + "expression": null,
  4752 + "standardValue": null,
  4753 + "baselineId": null,
  4754 + "policy": null,
  4755 + "analysisExpr": null,
  4756 + "kpiValue": null,
  4757 + "relId": null,
  4758 + "levelList": null,
  4759 + "canCA": null
  4760 + }, {
  4761 + "kpiId": "KPI2C39DE64",
  4762 + "kpiName": "LOG_END_OFFSET",
  4763 + "kpiType": "kafka",
  4764 + "kpiDataType": "string",
  4765 + "kpiUnit": "无",
  4766 + "remark": "kafka_topic",
  4767 + "kpiCategory": "0",
  4768 + "viewWay": null,
  4769 + "flag": null,
  4770 + "kpiIdent": "0",
  4771 + "syncFlag": "0",
  4772 + "isWarning": 0,
  4773 + "kpiPower": null,
  4774 + "isWarningStr": null,
  4775 + "kpiLevel": 0,
  4776 + "kpiLevelStr": null,
  4777 + "createTime": 1594118738000,
  4778 + "ignoreCnt": null,
  4779 + "isTrend": null,
  4780 + "sort": -1,
  4781 + "unitGroupId": null,
  4782 + "kpiTotal": null,
  4783 + "resId": null,
  4784 + "unit": "",
  4785 + "typeNum": null,
  4786 + "policyNum": "0",
  4787 + "expression": null,
  4788 + "standardValue": null,
  4789 + "baselineId": null,
  4790 + "policy": null,
  4791 + "analysisExpr": null,
  4792 + "kpiValue": null,
  4793 + "relId": null,
  4794 + "levelList": null,
  4795 + "canCA": null
  4796 + }, {
  4797 + "kpiId": "KPIC596D903",
  4798 + "kpiName": "CURRENT_OFFSET",
  4799 + "kpiType": "kafka",
  4800 + "kpiDataType": "string",
  4801 + "kpiUnit": "无",
  4802 + "remark": "kafka_topic",
  4803 + "kpiCategory": "0",
  4804 + "viewWay": null,
  4805 + "flag": null,
  4806 + "kpiIdent": "0",
  4807 + "syncFlag": "0",
  4808 + "isWarning": 0,
  4809 + "kpiPower": null,
  4810 + "isWarningStr": null,
  4811 + "kpiLevel": 0,
  4812 + "kpiLevelStr": null,
  4813 + "createTime": 1594118676000,
  4814 + "ignoreCnt": null,
  4815 + "isTrend": null,
  4816 + "sort": -1,
  4817 + "unitGroupId": null,
  4818 + "kpiTotal": null,
  4819 + "resId": null,
  4820 + "unit": "",
  4821 + "typeNum": null,
  4822 + "policyNum": "0",
  4823 + "expression": null,
  4824 + "standardValue": null,
  4825 + "baselineId": null,
  4826 + "policy": null,
  4827 + "analysisExpr": null,
  4828 + "kpiValue": null,
  4829 + "relId": null,
  4830 + "levelList": null,
  4831 + "canCA": null
  4832 + }, {
  4833 + "kpiId": "KPI85144455",
  4834 + "kpiName": "PARTITION",
  4835 + "kpiType": "kafka",
  4836 + "kpiDataType": "string",
  4837 + "kpiUnit": "无",
  4838 + "remark": "kafka_topic",
  4839 + "kpiCategory": "0",
  4840 + "viewWay": null,
  4841 + "flag": null,
  4842 + "kpiIdent": "0",
  4843 + "syncFlag": "0",
  4844 + "isWarning": 0,
  4845 + "kpiPower": null,
  4846 + "isWarningStr": null,
  4847 + "kpiLevel": 0,
  4848 + "kpiLevelStr": null,
  4849 + "createTime": 1594118565000,
  4850 + "ignoreCnt": null,
  4851 + "isTrend": null,
  4852 + "sort": -1,
  4853 + "unitGroupId": null,
  4854 + "kpiTotal": null,
  4855 + "resId": null,
  4856 + "unit": "",
  4857 + "typeNum": null,
  4858 + "policyNum": "0",
  4859 + "expression": null,
  4860 + "standardValue": null,
  4861 + "baselineId": null,
  4862 + "policy": null,
  4863 + "analysisExpr": null,
  4864 + "kpiValue": null,
  4865 + "relId": null,
  4866 + "levelList": null,
  4867 + "canCA": null
  4868 + }, {
  4869 + "kpiId": "KPI2DA12ADC",
  4870 + "kpiName": "TOPIC",
  4871 + "kpiType": "kafka",
  4872 + "kpiDataType": "string",
  4873 + "kpiUnit": "无",
  4874 + "remark": "kafka_topic",
  4875 + "kpiCategory": "0",
  4876 + "viewWay": null,
  4877 + "flag": null,
  4878 + "kpiIdent": "0",
  4879 + "syncFlag": "0",
  4880 + "isWarning": 0,
  4881 + "kpiPower": null,
  4882 + "isWarningStr": null,
  4883 + "kpiLevel": 0,
  4884 + "kpiLevelStr": null,
  4885 + "createTime": 1594118381000,
  4886 + "ignoreCnt": null,
  4887 + "isTrend": null,
  4888 + "sort": -1,
  4889 + "unitGroupId": null,
  4890 + "kpiTotal": null,
  4891 + "resId": null,
  4892 + "unit": "",
  4893 + "typeNum": null,
  4894 + "policyNum": "0",
  4895 + "expression": null,
  4896 + "standardValue": null,
  4897 + "baselineId": null,
  4898 + "policy": null,
  4899 + "analysisExpr": null,
  4900 + "kpiValue": null,
  4901 + "relId": null,
  4902 + "levelList": null,
  4903 + "canCA": null
  4904 + }, {
  4905 + "kpiId": "KPI720909A4",
  4906 + "kpiName": "GROUP",
  4907 + "kpiType": "kafka",
  4908 + "kpiDataType": "string",
  4909 + "kpiUnit": "无",
  4910 + "remark": "kafka_topic",
  4911 + "kpiCategory": "0",
  4912 + "viewWay": null,
  4913 + "flag": null,
  4914 + "kpiIdent": "0",
  4915 + "syncFlag": "0",
  4916 + "isWarning": 0,
  4917 + "kpiPower": null,
  4918 + "isWarningStr": null,
  4919 + "kpiLevel": 0,
  4920 + "kpiLevelStr": null,
  4921 + "createTime": 1594117793000,
  4922 + "ignoreCnt": null,
  4923 + "isTrend": null,
  4924 + "sort": -1,
  4925 + "unitGroupId": null,
  4926 + "kpiTotal": null,
  4927 + "resId": null,
  4928 + "unit": "",
  4929 + "typeNum": null,
  4930 + "policyNum": "0",
  4931 + "expression": null,
  4932 + "standardValue": null,
  4933 + "baselineId": null,
  4934 + "policy": null,
  4935 + "analysisExpr": null,
  4936 + "kpiValue": null,
  4937 + "relId": null,
  4938 + "levelList": null,
  4939 + "canCA": null
  4940 + }, {
  4941 + "kpiId": "KPI49388E5F",
  4942 + "kpiName": "华为云平台信息",
  4943 + "kpiType": null,
  4944 + "kpiDataType": "string",
  4945 + "kpiUnit": "无",
  4946 + "remark": "",
  4947 + "kpiCategory": "0",
  4948 + "viewWay": null,
  4949 + "flag": null,
  4950 + "kpiIdent": "0",
  4951 + "syncFlag": null,
  4952 + "isWarning": 0,
  4953 + "kpiPower": null,
  4954 + "isWarningStr": null,
  4955 + "kpiLevel": 0,
  4956 + "kpiLevelStr": null,
  4957 + "createTime": 1585736210000,
  4958 + "ignoreCnt": 0,
  4959 + "isTrend": 0,
  4960 + "sort": null,
  4961 + "unitGroupId": null,
  4962 + "kpiTotal": null,
  4963 + "resId": null,
  4964 + "unit": "",
  4965 + "typeNum": null,
  4966 + "policyNum": "0",
  4967 + "expression": null,
  4968 + "standardValue": null,
  4969 + "baselineId": null,
  4970 + "policy": null,
  4971 + "analysisExpr": null,
  4972 + "kpiValue": null,
  4973 + "relId": null,
  4974 + "levelList": null,
  4975 + "canCA": null
  4976 + }, {
  4977 + "kpiId": "KPI144CD0F0",
  4978 + "kpiName": "硬盘可回收大小",
  4979 + "kpiType": "STORAGE_TAPELIBRARY",
  4980 + "kpiDataType": "string",
  4981 + "kpiUnit": "无",
  4982 + "remark": "硬盘可回收大小",
  4983 + "kpiCategory": "0",
  4984 + "viewWay": null,
  4985 + "flag": null,
  4986 + "kpiIdent": "1",
  4987 + "syncFlag": null,
  4988 + "isWarning": 1,
  4989 + "kpiPower": null,
  4990 + "isWarningStr": null,
  4991 + "kpiLevel": 0,
  4992 + "kpiLevelStr": null,
  4993 + "createTime": 1585638555000,
  4994 + "ignoreCnt": 0,
  4995 + "isTrend": 0,
  4996 + "sort": null,
  4997 + "unitGroupId": null,
  4998 + "kpiTotal": null,
  4999 + "resId": null,
  5000 + "unit": "",
  5001 + "typeNum": null,
  5002 + "policyNum": "0",
  5003 + "expression": null,
  5004 + "standardValue": null,
  5005 + "baselineId": null,
  5006 + "policy": null,
  5007 + "analysisExpr": null,
  5008 + "kpiValue": null,
  5009 + "relId": null,
  5010 + "levelList": null,
  5011 + "canCA": null
  5012 + }, {
  5013 + "kpiId": "KPI2167AC28",
  5014 + "kpiName": "硬盘总大小",
  5015 + "kpiType": "STORAGE_TAPELIBRARY",
  5016 + "kpiDataType": "string",
  5017 + "kpiUnit": "无",
  5018 + "remark": "硬盘总大小",
  5019 + "kpiCategory": "0",
  5020 + "viewWay": null,
  5021 + "flag": null,
  5022 + "kpiIdent": "1",
  5023 + "syncFlag": null,
  5024 + "isWarning": 1,
  5025 + "kpiPower": null,
  5026 + "isWarningStr": null,
  5027 + "kpiLevel": 0,
  5028 + "kpiLevelStr": null,
  5029 + "createTime": 1585638555000,
  5030 + "ignoreCnt": 0,
  5031 + "isTrend": 0,
  5032 + "sort": null,
  5033 + "unitGroupId": null,
  5034 + "kpiTotal": null,
  5035 + "resId": null,
  5036 + "unit": "",
  5037 + "typeNum": null,
  5038 + "policyNum": "0",
  5039 + "expression": null,
  5040 + "standardValue": null,
  5041 + "baselineId": null,
  5042 + "policy": null,
  5043 + "analysisExpr": null,
  5044 + "kpiValue": null,
  5045 + "relId": null,
  5046 + "levelList": null,
  5047 + "canCA": null
  5048 + }, {
  5049 + "kpiId": "KPI4385EB28",
  5050 + "kpiName": "带库健康状态",
  5051 + "kpiType": "STORAGE_TAPELIBRARY",
  5052 + "kpiDataType": "string",
  5053 + "kpiUnit": "无",
  5054 + "remark": "",
  5055 + "kpiCategory": "0",
  5056 + "viewWay": null,
  5057 + "flag": null,
  5058 + "kpiIdent": "2",
  5059 + "syncFlag": null,
  5060 + "isWarning": 1,
  5061 + "kpiPower": null,
  5062 + "isWarningStr": null,
  5063 + "kpiLevel": 0,
  5064 + "kpiLevelStr": null,
  5065 + "createTime": 1585638555000,
  5066 + "ignoreCnt": 0,
  5067 + "isTrend": 0,
  5068 + "sort": null,
  5069 + "unitGroupId": null,
  5070 + "kpiTotal": null,
  5071 + "resId": null,
  5072 + "unit": "",
  5073 + "typeNum": null,
  5074 + "policyNum": "0",
  5075 + "expression": null,
  5076 + "standardValue": null,
  5077 + "baselineId": null,
  5078 + "policy": null,
  5079 + "analysisExpr": null,
  5080 + "kpiValue": null,
  5081 + "relId": null,
  5082 + "levelList": null,
  5083 + "canCA": null
  5084 + }, {
  5085 + "kpiId": "KPI89EA8E8A",
  5086 + "kpiName": "物理库状态",
  5087 + "kpiType": null,
  5088 + "kpiDataType": "string",
  5089 + "kpiUnit": "无",
  5090 + "remark": "",
  5091 + "kpiCategory": "0",
  5092 + "viewWay": null,
  5093 + "flag": null,
  5094 + "kpiIdent": "2",
  5095 + "syncFlag": null,
  5096 + "isWarning": 1,
  5097 + "kpiPower": null,
  5098 + "isWarningStr": null,
  5099 + "kpiLevel": 0,
  5100 + "kpiLevelStr": null,
  5101 + "createTime": 1585638555000,
  5102 + "ignoreCnt": 0,
  5103 + "isTrend": 0,
  5104 + "sort": null,
  5105 + "unitGroupId": null,
  5106 + "kpiTotal": null,
  5107 + "resId": null,
  5108 + "unit": "",
  5109 + "typeNum": null,
  5110 + "policyNum": "0",
  5111 + "expression": null,
  5112 + "standardValue": null,
  5113 + "baselineId": null,
  5114 + "policy": null,
  5115 + "analysisExpr": null,
  5116 + "kpiValue": null,
  5117 + "relId": null,
  5118 + "levelList": null,
  5119 + "canCA": null
  5120 + }, {
  5121 + "kpiId": "KPI473DD57E",
  5122 + "kpiName": "逻辑库名称",
  5123 + "kpiType": null,
  5124 + "kpiDataType": "string",
  5125 + "kpiUnit": "无",
  5126 + "remark": "",
  5127 + "kpiCategory": "0",
  5128 + "viewWay": null,
  5129 + "flag": null,
  5130 + "kpiIdent": "0",
  5131 + "syncFlag": null,
  5132 + "isWarning": 1,
  5133 + "kpiPower": null,
  5134 + "isWarningStr": null,
  5135 + "kpiLevel": 0,
  5136 + "kpiLevelStr": null,
  5137 + "createTime": 1585638555000,
  5138 + "ignoreCnt": 0,
  5139 + "isTrend": 0,
  5140 + "sort": null,
  5141 + "unitGroupId": null,
  5142 + "kpiTotal": null,
  5143 + "resId": null,
  5144 + "unit": "",
  5145 + "typeNum": null,
  5146 + "policyNum": "0",
  5147 + "expression": null,
  5148 + "standardValue": null,
  5149 + "baselineId": null,
  5150 + "policy": null,
  5151 + "analysisExpr": null,
  5152 + "kpiValue": null,
  5153 + "relId": null,
  5154 + "levelList": null,
  5155 + "canCA": null
  5156 + }, {
  5157 + "kpiId": "KPI1A7A09B9",
  5158 + "kpiName": "IE门状态",
  5159 + "kpiType": null,
  5160 + "kpiDataType": "string",
  5161 + "kpiUnit": "无",
  5162 + "remark": "",
  5163 + "kpiCategory": "0",
  5164 + "viewWay": null,
  5165 + "flag": null,
  5166 + "kpiIdent": "2",
  5167 + "syncFlag": null,
  5168 + "isWarning": 1,
  5169 + "kpiPower": null,
  5170 + "isWarningStr": null,
  5171 + "kpiLevel": 0,
  5172 + "kpiLevelStr": null,
  5173 + "createTime": 1585638555000,
  5174 + "ignoreCnt": 0,
  5175 + "isTrend": 0,
  5176 + "sort": null,
  5177 + "unitGroupId": null,
  5178 + "kpiTotal": null,
  5179 + "resId": null,
  5180 + "unit": "",
  5181 + "typeNum": null,
  5182 + "policyNum": "0",
  5183 + "expression": null,
  5184 + "standardValue": null,
  5185 + "baselineId": null,
  5186 + "policy": null,
  5187 + "analysisExpr": null,
  5188 + "kpiValue": null,
  5189 + "relId": null,
  5190 + "levelList": null,
  5191 + "canCA": null
  5192 + }, {
  5193 + "kpiId": "KPIA160CCDE",
  5194 + "kpiName": "硬盘空闲大小",
  5195 + "kpiType": "STORAGE_TAPELIBRARY",
  5196 + "kpiDataType": "string",
  5197 + "kpiUnit": "无",
  5198 + "remark": "硬盘空闲大小",
  5199 + "kpiCategory": "0",
  5200 + "viewWay": null,
  5201 + "flag": null,
  5202 + "kpiIdent": "1",
  5203 + "syncFlag": null,
  5204 + "isWarning": 1,
  5205 + "kpiPower": null,
  5206 + "isWarningStr": null,
  5207 + "kpiLevel": 0,
  5208 + "kpiLevelStr": null,
  5209 + "createTime": 1585638555000,
  5210 + "ignoreCnt": 0,
  5211 + "isTrend": 0,
  5212 + "sort": null,
  5213 + "unitGroupId": null,
  5214 + "kpiTotal": null,
  5215 + "resId": null,
  5216 + "unit": "",
  5217 + "typeNum": null,
  5218 + "policyNum": "0",
  5219 + "expression": null,
  5220 + "standardValue": null,
  5221 + "baselineId": null,
  5222 + "policy": null,
  5223 + "analysisExpr": null,
  5224 + "kpiValue": null,
  5225 + "relId": null,
  5226 + "levelList": null,
  5227 + "canCA": null
  5228 + }, {
  5229 + "kpiId": "KPI5258FAE8",
  5230 + "kpiName": "盒带总负载",
  5231 + "kpiType": null,
  5232 + "kpiDataType": "string",
  5233 + "kpiUnit": "无",
  5234 + "remark": "",
  5235 + "kpiCategory": "0",
  5236 + "viewWay": null,
  5237 + "flag": null,
  5238 + "kpiIdent": "0",
  5239 + "syncFlag": null,
  5240 + "isWarning": 1,
  5241 + "kpiPower": null,
  5242 + "isWarningStr": null,
  5243 + "kpiLevel": 0,
  5244 + "kpiLevelStr": null,
  5245 + "createTime": 1585638555000,
  5246 + "ignoreCnt": 0,
  5247 + "isTrend": 0,
  5248 + "sort": null,
  5249 + "unitGroupId": null,
  5250 + "kpiTotal": null,
  5251 + "resId": null,
  5252 + "unit": "",
  5253 + "typeNum": null,
  5254 + "policyNum": "0",
  5255 + "expression": null,
  5256 + "standardValue": null,
  5257 + "baselineId": null,
  5258 + "policy": null,
  5259 + "analysisExpr": null,
  5260 + "kpiValue": null,
  5261 + "relId": null,
  5262 + "levelList": null,
  5263 + "canCA": null
  5264 + }, {
  5265 + "kpiId": "KPIB880EA96",
  5266 + "kpiName": "硬盘空闲率",
  5267 + "kpiType": "STORAGE_TAPELIBRARY",
  5268 + "kpiDataType": "string",
  5269 + "kpiUnit": "无",
  5270 + "remark": "硬盘空闲率",
  5271 + "kpiCategory": "0",
  5272 + "viewWay": null,
  5273 + "flag": null,
  5274 + "kpiIdent": "1",
  5275 + "syncFlag": null,
  5276 + "isWarning": 1,
  5277 + "kpiPower": null,
  5278 + "isWarningStr": null,
  5279 + "kpiLevel": 0,
  5280 + "kpiLevelStr": null,
  5281 + "createTime": 1585638555000,
  5282 + "ignoreCnt": 0,
  5283 + "isTrend": 0,
  5284 + "sort": null,
  5285 + "unitGroupId": null,
  5286 + "kpiTotal": null,
  5287 + "resId": null,
  5288 + "unit": "",
  5289 + "typeNum": null,
  5290 + "policyNum": "0",
  5291 + "expression": null,
  5292 + "standardValue": null,
  5293 + "baselineId": null,
  5294 + "policy": null,
  5295 + "analysisExpr": null,
  5296 + "kpiValue": null,
  5297 + "relId": null,
  5298 + "levelList": null,
  5299 + "canCA": null
  5300 + }, {
  5301 + "kpiId": "KPI12C2B0A2",
  5302 + "kpiName": "存储槽位数量",
  5303 + "kpiType": null,
  5304 + "kpiDataType": "string",
  5305 + "kpiUnit": "无",
  5306 + "remark": "",
  5307 + "kpiCategory": "0",
  5308 + "viewWay": null,
  5309 + "flag": null,
  5310 + "kpiIdent": "1",
  5311 + "syncFlag": null,
  5312 + "isWarning": 1,
  5313 + "kpiPower": null,
  5314 + "isWarningStr": null,
  5315 + "kpiLevel": 0,
  5316 + "kpiLevelStr": null,
  5317 + "createTime": 1585638555000,
  5318 + "ignoreCnt": 0,
  5319 + "isTrend": 0,
  5320 + "sort": null,
  5321 + "unitGroupId": null,
  5322 + "kpiTotal": null,
  5323 + "resId": null,
  5324 + "unit": "",
  5325 + "typeNum": null,
  5326 + "policyNum": "0",
  5327 + "expression": null,
  5328 + "standardValue": null,
  5329 + "baselineId": null,
  5330 + "policy": null,
  5331 + "analysisExpr": null,
  5332 + "kpiValue": null,
  5333 + "relId": null,
  5334 + "levelList": null,
  5335 + "canCA": null
  5336 + }, {
  5337 + "kpiId": "KPIADDC3E75",
  5338 + "kpiName": "SCSI状态",
  5339 + "kpiType": null,
  5340 + "kpiDataType": "string",
  5341 + "kpiUnit": "无",
  5342 + "remark": "",
  5343 + "kpiCategory": "0",
  5344 + "viewWay": null,
  5345 + "flag": null,
  5346 + "kpiIdent": "2",
  5347 + "syncFlag": null,
  5348 + "isWarning": 1,
  5349 + "kpiPower": null,
  5350 + "isWarningStr": null,
  5351 + "kpiLevel": 0,
  5352 + "kpiLevelStr": null,
  5353 + "createTime": 1585638555000,
  5354 + "ignoreCnt": 0,
  5355 + "isTrend": 0,
  5356 + "sort": null,
  5357 + "unitGroupId": null,
  5358 + "kpiTotal": null,
  5359 + "resId": null,
  5360 + "unit": "",
  5361 + "typeNum": null,
  5362 + "policyNum": "0",
  5363 + "expression": null,
  5364 + "standardValue": null,
  5365 + "baselineId": null,
  5366 + "policy": null,
  5367 + "analysisExpr": null,
  5368 + "kpiValue": null,
  5369 + "relId": null,
  5370 + "levelList": null,
  5371 + "canCA": null
  5372 + }, {
  5373 + "kpiId": "KPIF985A467",
  5374 + "kpiName": "驱动类型",
  5375 + "kpiType": null,
  5376 + "kpiDataType": "string",
  5377 + "kpiUnit": "无",
  5378 + "remark": "",
  5379 + "kpiCategory": "0",
  5380 + "viewWay": null,
  5381 + "flag": null,
  5382 + "kpiIdent": "0",
  5383 + "syncFlag": null,
  5384 + "isWarning": 1,
  5385 + "kpiPower": null,
  5386 + "isWarningStr": null,
  5387 + "kpiLevel": 0,
  5388 + "kpiLevelStr": null,
  5389 + "createTime": 1585638555000,
  5390 + "ignoreCnt": 0,
  5391 + "isTrend": 0,
  5392 + "sort": null,
  5393 + "unitGroupId": null,
  5394 + "kpiTotal": null,
  5395 + "resId": null,
  5396 + "unit": "",
  5397 + "typeNum": null,
  5398 + "policyNum": "0",
  5399 + "expression": null,
  5400 + "standardValue": null,
  5401 + "baselineId": null,
  5402 + "policy": null,
  5403 + "analysisExpr": null,
  5404 + "kpiValue": null,
  5405 + "relId": null,
  5406 + "levelList": null,
  5407 + "canCA": null
  5408 + }, {
  5409 + "kpiId": "KPI372C572A",
  5410 + "kpiName": "清理状态",
  5411 + "kpiType": null,
  5412 + "kpiDataType": "string",
  5413 + "kpiUnit": "无",
  5414 + "remark": "",
  5415 + "kpiCategory": "0",
  5416 + "viewWay": null,
  5417 + "flag": null,
  5418 + "kpiIdent": "2",
  5419 + "syncFlag": null,
  5420 + "isWarning": 1,
  5421 + "kpiPower": null,
  5422 + "isWarningStr": null,
  5423 + "kpiLevel": 0,
  5424 + "kpiLevelStr": null,
  5425 + "createTime": 1585638555000,
  5426 + "ignoreCnt": 0,
  5427 + "isTrend": 0,
  5428 + "sort": null,
  5429 + "unitGroupId": null,
  5430 + "kpiTotal": null,
  5431 + "resId": null,
  5432 + "unit": "",
  5433 + "typeNum": null,
  5434 + "policyNum": "0",
  5435 + "expression": null,
  5436 + "standardValue": null,
  5437 + "baselineId": null,
  5438 + "policy": null,
  5439 + "analysisExpr": null,
  5440 + "kpiValue": null,
  5441 + "relId": null,
  5442 + "levelList": null,
  5443 + "canCA": null
  5444 + }, {
  5445 + "kpiId": "KPIB181D4B6",
  5446 + "kpiName": "IE 槽位数量",
  5447 + "kpiType": null,
  5448 + "kpiDataType": "string",
  5449 + "kpiUnit": "无",
  5450 + "remark": "",
  5451 + "kpiCategory": "0",
  5452 + "viewWay": null,
  5453 + "flag": null,
  5454 + "kpiIdent": "1",
  5455 + "syncFlag": null,
  5456 + "isWarning": 1,
  5457 + "kpiPower": null,
  5458 + "isWarningStr": null,
  5459 + "kpiLevel": 0,
  5460 + "kpiLevelStr": null,
  5461 + "createTime": 1585638555000,
  5462 + "ignoreCnt": 0,
  5463 + "isTrend": 0,
  5464 + "sort": null,
  5465 + "unitGroupId": null,
  5466 + "kpiTotal": null,
  5467 + "resId": null,
  5468 + "unit": "",
  5469 + "typeNum": null,
  5470 + "policyNum": "0",
  5471 + "expression": null,
  5472 + "standardValue": null,
  5473 + "baselineId": null,
  5474 + "policy": null,
  5475 + "analysisExpr": null,
  5476 + "kpiValue": null,
  5477 + "relId": null,
  5478 + "levelList": null,
  5479 + "canCA": null
  5480 + }, {
  5481 + "kpiId": "KPIFCB6FE4F",
  5482 + "kpiName": "物理驱动数量",
  5483 + "kpiType": null,
  5484 + "kpiDataType": "string",
  5485 + "kpiUnit": "无",
  5486 + "remark": "",
  5487 + "kpiCategory": "0",
  5488 + "viewWay": null,
  5489 + "flag": null,
  5490 + "kpiIdent": "1",
  5491 + "syncFlag": null,
  5492 + "isWarning": 1,
  5493 + "kpiPower": null,
  5494 + "isWarningStr": null,
  5495 + "kpiLevel": 0,
  5496 + "kpiLevelStr": null,
  5497 + "createTime": 1585638555000,
  5498 + "ignoreCnt": 0,
  5499 + "isTrend": 0,
  5500 + "sort": null,
  5501 + "unitGroupId": null,
  5502 + "kpiTotal": null,
  5503 + "resId": null,
  5504 + "unit": "",
  5505 + "typeNum": null,
  5506 + "policyNum": "0",
  5507 + "expression": null,
  5508 + "standardValue": null,
  5509 + "baselineId": null,
  5510 + "policy": null,
  5511 + "analysisExpr": null,
  5512 + "kpiValue": null,
  5513 + "relId": null,
  5514 + "levelList": null,
  5515 + "canCA": null
  5516 + }, {
  5517 + "kpiId": "KPI05DE9280",
  5518 + "kpiName": "主门状态",
  5519 + "kpiType": null,
  5520 + "kpiDataType": "string",
  5521 + "kpiUnit": "无",
  5522 + "remark": "",
  5523 + "kpiCategory": "0",
  5524 + "viewWay": null,
  5525 + "flag": null,
  5526 + "kpiIdent": "2",
  5527 + "syncFlag": null,
  5528 + "isWarning": 1,
  5529 + "kpiPower": null,
  5530 + "isWarningStr": null,
  5531 + "kpiLevel": 0,
  5532 + "kpiLevelStr": null,
  5533 + "createTime": 1585638555000,
  5534 + "ignoreCnt": 0,
  5535 + "isTrend": 0,
  5536 + "sort": null,
  5537 + "unitGroupId": null,
  5538 + "kpiTotal": null,
  5539 + "resId": null,
  5540 + "unit": "",
  5541 + "typeNum": null,
  5542 + "policyNum": "0",
  5543 + "expression": null,
  5544 + "standardValue": null,
  5545 + "baselineId": null,
  5546 + "policy": null,
  5547 + "analysisExpr": null,
  5548 + "kpiValue": null,
  5549 + "relId": null,
  5550 + "levelList": null,
  5551 + "canCA": null
  5552 + }, {
  5553 + "kpiId": "KPI1303E638",
  5554 + "kpiName": "修改时间",
  5555 + "kpiType": "HUAWEI_CLOUD_COLONY",
  5556 + "kpiDataType": "string",
  5557 + "kpiUnit": "无",
  5558 + "remark": "",
  5559 + "kpiCategory": "0",
  5560 + "viewWay": null,
  5561 + "flag": null,
  5562 + "kpiIdent": "0",
  5563 + "syncFlag": null,
  5564 + "isWarning": 0,
  5565 + "kpiPower": null,
  5566 + "isWarningStr": null,
  5567 + "kpiLevel": 0,
  5568 + "kpiLevelStr": null,
  5569 + "createTime": 1585636108000,
  5570 + "ignoreCnt": 0,
  5571 + "isTrend": 0,
  5572 + "sort": null,
  5573 + "unitGroupId": null,
  5574 + "kpiTotal": null,
  5575 + "resId": null,
  5576 + "unit": "",
  5577 + "typeNum": null,
  5578 + "policyNum": "0",
  5579 + "expression": null,
  5580 + "standardValue": null,
  5581 + "baselineId": null,
  5582 + "policy": null,
  5583 + "analysisExpr": null,
  5584 + "kpiValue": null,
  5585 + "relId": null,
  5586 + "levelList": null,
  5587 + "canCA": null
  5588 + }, {
  5589 + "kpiId": "KPI5BBB001D",
  5590 + "kpiName": "访问状态",
  5591 + "kpiType": "HUAWEI_CLOUD_COLONY",
  5592 + "kpiDataType": "string",
  5593 + "kpiUnit": "无",
  5594 + "remark": "访问状态",
  5595 + "kpiCategory": "0",
  5596 + "viewWay": null,
  5597 + "flag": null,
  5598 + "kpiIdent": "2",
  5599 + "syncFlag": null,
  5600 + "isWarning": 0,
  5601 + "kpiPower": null,
  5602 + "isWarningStr": null,
  5603 + "kpiLevel": 0,
  5604 + "kpiLevelStr": null,
  5605 + "createTime": 1585635971000,
  5606 + "ignoreCnt": 0,
  5607 + "isTrend": 0,
  5608 + "sort": null,
  5609 + "unitGroupId": null,
  5610 + "kpiTotal": null,
  5611 + "resId": null,
  5612 + "unit": "",
  5613 + "typeNum": null,
  5614 + "policyNum": "0",
  5615 + "expression": null,
  5616 + "standardValue": null,
  5617 + "baselineId": null,
  5618 + "policy": null,
  5619 + "analysisExpr": null,
  5620 + "kpiValue": null,
  5621 + "relId": null,
  5622 + "levelList": null,
  5623 + "canCA": null
  5624 + }, {
  5625 + "kpiId": "KPIA68BF2AA",
  5626 + "kpiName": "资源池类型",
  5627 + "kpiType": "HUAWEI_CLOUD_COLONY",
  5628 + "kpiDataType": "string",
  5629 + "kpiUnit": "无",
  5630 + "remark": "资源池类型",
  5631 + "kpiCategory": "0",
  5632 + "viewWay": null,
  5633 + "flag": null,
  5634 + "kpiIdent": "0",
  5635 + "syncFlag": null,
  5636 + "isWarning": 0,
  5637 + "kpiPower": null,
  5638 + "isWarningStr": null,
  5639 + "kpiLevel": 0,
  5640 + "kpiLevelStr": null,
  5641 + "createTime": 1585631944000,
  5642 + "ignoreCnt": 0,
  5643 + "isTrend": 0,
  5644 + "sort": null,
  5645 + "unitGroupId": null,
  5646 + "kpiTotal": null,
  5647 + "resId": null,
  5648 + "unit": "",
  5649 + "typeNum": null,
  5650 + "policyNum": "0",
  5651 + "expression": null,
  5652 + "standardValue": null,
  5653 + "baselineId": null,
  5654 + "policy": null,
  5655 + "analysisExpr": null,
  5656 + "kpiValue": null,
  5657 + "relId": null,
  5658 + "levelList": null,
  5659 + "canCA": null
  5660 + }, {
  5661 + "kpiId": "KPIF1BCADFA",
  5662 + "kpiName": "磁盘种类",
  5663 + "kpiType": "ALI_CLOUD_ECS",
  5664 + "kpiDataType": "string",
  5665 + "kpiUnit": "无",
  5666 + "remark": "",
  5667 + "kpiCategory": "0",
  5668 + "viewWay": null,
  5669 + "flag": null,
  5670 + "kpiIdent": "0",
  5671 + "syncFlag": null,
  5672 + "isWarning": 0,
  5673 + "kpiPower": null,
  5674 + "isWarningStr": null,
  5675 + "kpiLevel": 0,
  5676 + "kpiLevelStr": null,
  5677 + "createTime": 1585382986000,
  5678 + "ignoreCnt": 0,
  5679 + "isTrend": 0,
  5680 + "sort": null,
  5681 + "unitGroupId": null,
  5682 + "kpiTotal": null,
  5683 + "resId": null,
  5684 + "unit": "",
  5685 + "typeNum": null,
  5686 + "policyNum": "0",
  5687 + "expression": null,
  5688 + "standardValue": null,
  5689 + "baselineId": null,
  5690 + "policy": null,
  5691 + "analysisExpr": null,
  5692 + "kpiValue": null,
  5693 + "relId": null,
  5694 + "levelList": null,
  5695 + "canCA": null
  5696 + }, {
  5697 + "kpiId": "KPI84B916DA",
  5698 + "kpiName": "数据库类型",
  5699 + "kpiType": "ALI_CLOUD_RDS",
  5700 + "kpiDataType": "string",
  5701 + "kpiUnit": "无",
  5702 + "remark": "",
  5703 + "kpiCategory": "0",
  5704 + "viewWay": "",
  5705 + "flag": "",
  5706 + "kpiIdent": "0",
  5707 + "syncFlag": null,
  5708 + "isWarning": 0,
  5709 + "kpiPower": null,
  5710 + "isWarningStr": null,
  5711 + "kpiLevel": 0,
  5712 + "kpiLevelStr": null,
  5713 + "createTime": 1585199332000,
  5714 + "ignoreCnt": 0,
  5715 + "isTrend": 0,
  5716 + "sort": null,
  5717 + "unitGroupId": null,
  5718 + "kpiTotal": null,
  5719 + "resId": null,
  5720 + "unit": "",
  5721 + "typeNum": null,
  5722 + "policyNum": "0",
  5723 + "expression": null,
  5724 + "standardValue": null,
  5725 + "baselineId": null,
  5726 + "policy": null,
  5727 + "analysisExpr": null,
  5728 + "kpiValue": null,
  5729 + "relId": null,
  5730 + "levelList": null,
  5731 + "canCA": null
  5732 + }, {
  5733 + "kpiId": "KPIB7AD65A8",
  5734 + "kpiName": "虚拟交换机",
  5735 + "kpiType": "ALI_CLOUD_ECS",
  5736 + "kpiDataType": "string",
  5737 + "kpiUnit": "无",
  5738 + "remark": "",
  5739 + "kpiCategory": "0",
  5740 + "viewWay": "",
  5741 + "flag": "",
  5742 + "kpiIdent": "0",
  5743 + "syncFlag": null,
  5744 + "isWarning": 0,
  5745 + "kpiPower": null,
  5746 + "isWarningStr": null,
  5747 + "kpiLevel": 0,
  5748 + "kpiLevelStr": null,
  5749 + "createTime": 1585199332000,
  5750 + "ignoreCnt": 0,
  5751 + "isTrend": 0,
  5752 + "sort": null,
  5753 + "unitGroupId": null,
  5754 + "kpiTotal": null,
  5755 + "resId": null,
  5756 + "unit": "",
  5757 + "typeNum": null,
  5758 + "policyNum": "0",
  5759 + "expression": null,
  5760 + "standardValue": null,
  5761 + "baselineId": null,
  5762 + "policy": null,
  5763 + "analysisExpr": null,
  5764 + "kpiValue": null,
  5765 + "relId": null,
  5766 + "levelList": null,
  5767 + "canCA": null
  5768 + }, {
  5769 + "kpiId": "KPIF562F75C",
  5770 + "kpiName": "服务地址",
  5771 + "kpiType": "ALI_CLOUD_SLB",
  5772 + "kpiDataType": "string",
  5773 + "kpiUnit": "无",
  5774 + "remark": "",
  5775 + "kpiCategory": "0",
  5776 + "viewWay": "",
  5777 + "flag": "",
  5778 + "kpiIdent": "0",
  5779 + "syncFlag": null,
  5780 + "isWarning": 0,
  5781 + "kpiPower": null,
  5782 + "isWarningStr": null,
  5783 + "kpiLevel": 0,
  5784 + "kpiLevelStr": null,
  5785 + "createTime": 1585199332000,
  5786 + "ignoreCnt": 0,
  5787 + "isTrend": 0,
  5788 + "sort": null,
  5789 + "unitGroupId": null,
  5790 + "kpiTotal": null,
  5791 + "resId": null,
  5792 + "unit": "",
  5793 + "typeNum": null,
  5794 + "policyNum": "0",
  5795 + "expression": null,
  5796 + "standardValue": null,
  5797 + "baselineId": null,
  5798 + "policy": null,
  5799 + "analysisExpr": null,
  5800 + "kpiValue": null,
  5801 + "relId": null,
  5802 + "levelList": null,
  5803 + "canCA": null
  5804 + }, {
  5805 + "kpiId": "KPI14BF4140",
  5806 + "kpiName": "端口每秒流出数据量",
  5807 + "kpiType": null,
  5808 + "kpiDataType": "string",
  5809 + "kpiUnit": "kb/s",
  5810 + "remark": "",
  5811 + "kpiCategory": "0",
  5812 + "viewWay": "",
  5813 + "flag": "",
  5814 + "kpiIdent": "1",
  5815 + "syncFlag": null,
  5816 + "isWarning": 0,
  5817 + "kpiPower": null,
  5818 + "isWarningStr": null,
  5819 + "kpiLevel": 0,
  5820 + "kpiLevelStr": null,
  5821 + "createTime": 1585199332000,
  5822 + "ignoreCnt": 0,
  5823 + "isTrend": 0,
  5824 + "sort": null,
  5825 + "unitGroupId": null,
  5826 + "kpiTotal": null,
  5827 + "resId": null,
  5828 + "unit": "\"kb/s\"",
  5829 + "typeNum": null,
  5830 + "policyNum": "0",
  5831 + "expression": null,
  5832 + "standardValue": null,
  5833 + "baselineId": null,
  5834 + "policy": null,
  5835 + "analysisExpr": null,
  5836 + "kpiValue": null,
  5837 + "relId": null,
  5838 + "levelList": null,
  5839 + "canCA": null
  5840 + }, {
  5841 + "kpiId": "KPI3B14C524",
  5842 + "kpiName": "读取次数",
  5843 + "kpiType": "ALI_CLOUD_OSS",
  5844 + "kpiDataType": "string",
  5845 + "kpiUnit": "无",
  5846 + "remark": "",
  5847 + "kpiCategory": "0",
  5848 + "viewWay": "",
  5849 + "flag": "",
  5850 + "kpiIdent": "1",
  5851 + "syncFlag": null,
  5852 + "isWarning": 0,
  5853 + "kpiPower": null,
  5854 + "isWarningStr": null,
  5855 + "kpiLevel": 0,
  5856 + "kpiLevelStr": null,
  5857 + "createTime": 1585199332000,
  5858 + "ignoreCnt": 0,
  5859 + "isTrend": 0,
  5860 + "sort": null,
  5861 + "unitGroupId": null,
  5862 + "kpiTotal": null,
  5863 + "resId": null,
  5864 + "unit": "",
  5865 + "typeNum": null,
  5866 + "policyNum": "0",
  5867 + "expression": null,
  5868 + "standardValue": null,
  5869 + "baselineId": null,
  5870 + "policy": null,
  5871 + "analysisExpr": null,
  5872 + "kpiValue": null,
  5873 + "relId": null,
  5874 + "levelList": null,
  5875 + "canCA": null
  5876 + }, {
  5877 + "kpiId": "KPIA41238D5",
  5878 + "kpiName": "地址类型",
  5879 + "kpiType": "ALI_CLOUD_SLB",
  5880 + "kpiDataType": "string",
  5881 + "kpiUnit": "无",
  5882 + "remark": "",
  5883 + "kpiCategory": "0",
  5884 + "viewWay": "",
  5885 + "flag": "",
  5886 + "kpiIdent": "0",
  5887 + "syncFlag": null,
  5888 + "isWarning": 0,
  5889 + "kpiPower": null,
  5890 + "isWarningStr": null,
  5891 + "kpiLevel": 0,
  5892 + "kpiLevelStr": null,
  5893 + "createTime": 1585199332000,
  5894 + "ignoreCnt": 0,
  5895 + "isTrend": 0,
  5896 + "sort": null,
  5897 + "unitGroupId": null,
  5898 + "kpiTotal": null,
  5899 + "resId": null,
  5900 + "unit": "",
  5901 + "typeNum": null,
  5902 + "policyNum": "0",
  5903 + "expression": null,
  5904 + "standardValue": null,
  5905 + "baselineId": null,
  5906 + "policy": null,
  5907 + "analysisExpr": null,
  5908 + "kpiValue": null,
  5909 + "relId": null,
  5910 + "levelList": null,
  5911 + "canCA": null
  5912 + }, {
  5913 + "kpiId": "KPID3CE40D8",
  5914 + "kpiName": "区域",
  5915 + "kpiType": "ALI_CLOUD_ECS,ALI_CLOUD_OSS,ALI_CLOUD_SLB",
  5916 + "kpiDataType": "string",
  5917 + "kpiUnit": "无",
  5918 + "remark": "",
  5919 + "kpiCategory": "0",
  5920 + "viewWay": "",
  5921 + "flag": "",
  5922 + "kpiIdent": "0",
  5923 + "syncFlag": null,
  5924 + "isWarning": 0,
  5925 + "kpiPower": null,
  5926 + "isWarningStr": null,
  5927 + "kpiLevel": 0,
  5928 + "kpiLevelStr": null,
  5929 + "createTime": 1585199332000,
  5930 + "ignoreCnt": 0,
  5931 + "isTrend": 0,
  5932 + "sort": null,
  5933 + "unitGroupId": null,
  5934 + "kpiTotal": null,
  5935 + "resId": null,
  5936 + "unit": "",
  5937 + "typeNum": null,
  5938 + "policyNum": "0",
  5939 + "expression": null,
  5940 + "standardValue": null,
  5941 + "baselineId": null,
  5942 + "policy": null,
  5943 + "analysisExpr": null,
  5944 + "kpiValue": null,
  5945 + "relId": null,
  5946 + "levelList": null,
  5947 + "canCA": null
  5948 + }, {
  5949 + "kpiId": "KPI3BAFF902",
  5950 + "kpiName": "负载均衡ID",
  5951 + "kpiType": "ALI_CLOUD_SLB",
  5952 + "kpiDataType": "string",
  5953 + "kpiUnit": "无",
  5954 + "remark": "",
  5955 + "kpiCategory": "0",
  5956 + "viewWay": "",
  5957 + "flag": "",
  5958 + "kpiIdent": "0",
  5959 + "syncFlag": null,
  5960 + "isWarning": 0,
  5961 + "kpiPower": null,
  5962 + "isWarningStr": null,
  5963 + "kpiLevel": 0,
  5964 + "kpiLevelStr": null,
  5965 + "createTime": 1585199332000,
  5966 + "ignoreCnt": 0,
  5967 + "isTrend": 0,
  5968 + "sort": null,
  5969 + "unitGroupId": null,
  5970 + "kpiTotal": null,
  5971 + "resId": null,
  5972 + "unit": "",
  5973 + "typeNum": null,
  5974 + "policyNum": "0",
  5975 + "expression": null,
  5976 + "standardValue": null,
  5977 + "baselineId": null,
  5978 + "policy": null,
  5979 + "analysisExpr": null,
  5980 + "kpiValue": null,
  5981 + "relId": null,
  5982 + "levelList": null,
  5983 + "canCA": null
  5984 + }, {
  5985 + "kpiId": "KPIE227F80D",
  5986 + "kpiName": "负载均衡名称",
  5987 + "kpiType": "ALI_CLOUD_SLB",
  5988 + "kpiDataType": "string",
  5989 + "kpiUnit": "无",
  5990 + "remark": "",
  5991 + "kpiCategory": "0",
  5992 + "viewWay": "",
  5993 + "flag": "",
  5994 + "kpiIdent": "0",
  5995 + "syncFlag": null,
  5996 + "isWarning": 0,
  5997 + "kpiPower": null,
  5998 + "isWarningStr": null,
  5999 + "kpiLevel": 0,
  6000 + "kpiLevelStr": null,
  6001 + "createTime": 1585199332000,
  6002 + "ignoreCnt": 0,
  6003 + "isTrend": 0,
  6004 + "sort": null,
  6005 + "unitGroupId": null,
  6006 + "kpiTotal": null,
  6007 + "resId": null,
  6008 + "unit": "",
  6009 + "typeNum": null,
  6010 + "policyNum": "0",
  6011 + "expression": null,
  6012 + "standardValue": null,
  6013 + "baselineId": null,
  6014 + "policy": null,
  6015 + "analysisExpr": null,
  6016 + "kpiValue": null,
  6017 + "relId": null,
  6018 + "levelList": null,
  6019 + "canCA": null
  6020 + }, {
  6021 + "kpiId": "KPI6E994D22",
  6022 + "kpiName": "IP地址(私有)",
  6023 + "kpiType": "ALI_CLOUD_ECS",
  6024 + "kpiDataType": "string",
  6025 + "kpiUnit": "无",
  6026 + "remark": "",
  6027 + "kpiCategory": "0",
  6028 + "viewWay": "",
  6029 + "flag": "",
  6030 + "kpiIdent": "0",
  6031 + "syncFlag": null,
  6032 + "isWarning": 0,
  6033 + "kpiPower": null,
  6034 + "isWarningStr": null,
  6035 + "kpiLevel": 0,
  6036 + "kpiLevelStr": null,
  6037 + "createTime": 1585199332000,
  6038 + "ignoreCnt": 0,
  6039 + "isTrend": 0,
  6040 + "sort": null,
  6041 + "unitGroupId": null,
  6042 + "kpiTotal": null,
  6043 + "resId": null,
  6044 + "unit": "",
  6045 + "typeNum": null,
  6046 + "policyNum": "0",
  6047 + "expression": null,
  6048 + "standardValue": null,
  6049 + "baselineId": null,
  6050 + "policy": null,
  6051 + "analysisExpr": null,
  6052 + "kpiValue": null,
  6053 + "relId": null,
  6054 + "levelList": null,
  6055 + "canCA": null
  6056 + }, {
  6057 + "kpiId": "KPI1782D6AF",
  6058 + "kpiName": "实例ID",
  6059 + "kpiType": "ALI_CLOUD_ECS,ALI_CLOUD_RDS",
  6060 + "kpiDataType": "string",
  6061 + "kpiUnit": "无",
  6062 + "remark": "",
  6063 + "kpiCategory": "0",
  6064 + "viewWay": "",
  6065 + "flag": "",
  6066 + "kpiIdent": "0",
  6067 + "syncFlag": null,
  6068 + "isWarning": 0,
  6069 + "kpiPower": null,
  6070 + "isWarningStr": null,
  6071 + "kpiLevel": 0,
  6072 + "kpiLevelStr": null,
  6073 + "createTime": 1585199332000,
  6074 + "ignoreCnt": 0,
  6075 + "isTrend": 0,
  6076 + "sort": null,
  6077 + "unitGroupId": null,
  6078 + "kpiTotal": null,
  6079 + "resId": null,
  6080 + "unit": "",
  6081 + "typeNum": null,
  6082 + "policyNum": "0",
  6083 + "expression": null,
  6084 + "standardValue": null,
  6085 + "baselineId": null,
  6086 + "policy": null,
  6087 + "analysisExpr": null,
  6088 + "kpiValue": null,
  6089 + "relId": null,
  6090 + "levelList": null,
  6091 + "canCA": null
  6092 + }, {
  6093 + "kpiId": "KPI31ECC0E6",
  6094 + "kpiName": "项目",
  6095 + "kpiType": "ALI_CLOUD_OSS,ALI_CLOUD_ECS,ALI_CLOUD_SLB",
  6096 + "kpiDataType": "string",
  6097 + "kpiUnit": "无",
  6098 + "remark": "",
  6099 + "kpiCategory": "0",
  6100 + "viewWay": "",
  6101 + "flag": "",
  6102 + "kpiIdent": "0",
  6103 + "syncFlag": null,
  6104 + "isWarning": 0,
  6105 + "kpiPower": null,
  6106 + "isWarningStr": null,
  6107 + "kpiLevel": 0,
  6108 + "kpiLevelStr": null,
  6109 + "createTime": 1585199332000,
  6110 + "ignoreCnt": 0,
  6111 + "isTrend": 0,
  6112 + "sort": null,
  6113 + "unitGroupId": null,
  6114 + "kpiTotal": null,
  6115 + "resId": null,
  6116 + "unit": "",
  6117 + "typeNum": null,
  6118 + "policyNum": "0",
  6119 + "expression": null,
  6120 + "standardValue": null,
  6121 + "baselineId": null,
  6122 + "policy": null,
  6123 + "analysisExpr": null,
  6124 + "kpiValue": null,
  6125 + "relId": null,
  6126 + "levelList": null,
  6127 + "canCA": null
  6128 + }, {
  6129 + "kpiId": "KPIDFBEC5C5",
  6130 + "kpiName": "端口每秒流入数据包数",
  6131 + "kpiType": null,
  6132 + "kpiDataType": "string",
  6133 + "kpiUnit": "个",
  6134 + "remark": "",
  6135 + "kpiCategory": "0",
  6136 + "viewWay": "",
  6137 + "flag": "",
  6138 + "kpiIdent": "1",
  6139 + "syncFlag": null,
  6140 + "isWarning": 0,
  6141 + "kpiPower": null,
  6142 + "isWarningStr": null,
  6143 + "kpiLevel": 0,
  6144 + "kpiLevelStr": null,
  6145 + "createTime": 1585199332000,
  6146 + "ignoreCnt": 0,
  6147 + "isTrend": 0,
  6148 + "sort": null,
  6149 + "unitGroupId": null,
  6150 + "kpiTotal": null,
  6151 + "resId": null,
  6152 + "unit": "个",
  6153 + "typeNum": null,
  6154 + "policyNum": "0",
  6155 + "expression": null,
  6156 + "standardValue": null,
  6157 + "baselineId": null,
  6158 + "policy": null,
  6159 + "analysisExpr": null,
  6160 + "kpiValue": null,
  6161 + "relId": null,
  6162 + "levelList": null,
  6163 + "canCA": null
  6164 + }, {
  6165 + "kpiId": "KPI8BB9C6D6",
  6166 + "kpiName": "专有网络ID",
  6167 + "kpiType": "ALI_CLOUD_ECS,ALI_CLOUD_RDS",
  6168 + "kpiDataType": "string",
  6169 + "kpiUnit": "无",
  6170 + "remark": "",
  6171 + "kpiCategory": "0",
  6172 + "viewWay": "",
  6173 + "flag": "",
  6174 + "kpiIdent": "0",
  6175 + "syncFlag": null,
  6176 + "isWarning": 0,
  6177 + "kpiPower": null,
  6178 + "isWarningStr": null,
  6179 + "kpiLevel": 0,
  6180 + "kpiLevelStr": null,
  6181 + "createTime": 1585199332000,
  6182 + "ignoreCnt": 0,
  6183 + "isTrend": 0,
  6184 + "sort": null,
  6185 + "unitGroupId": null,
  6186 + "kpiTotal": null,
  6187 + "resId": null,
  6188 + "unit": "",
  6189 + "typeNum": null,
  6190 + "policyNum": "0",
  6191 + "expression": null,
  6192 + "standardValue": null,
  6193 + "baselineId": null,
  6194 + "policy": null,
  6195 + "analysisExpr": null,
  6196 + "kpiValue": null,
  6197 + "relId": null,
  6198 + "levelList": null,
  6199 + "canCA": null
  6200 + }, {
  6201 + "kpiId": "KPIBCE6AF4F",
  6202 + "kpiName": "计量方式",
  6203 + "kpiType": "ALI_CLOUD_SLB",
  6204 + "kpiDataType": "string",
  6205 + "kpiUnit": "无",
  6206 + "remark": "",
  6207 + "kpiCategory": "0",
  6208 + "viewWay": "",
  6209 + "flag": "",
  6210 + "kpiIdent": "0",
  6211 + "syncFlag": null,
  6212 + "isWarning": 0,
  6213 + "kpiPower": null,
  6214 + "isWarningStr": null,
  6215 + "kpiLevel": 0,
  6216 + "kpiLevelStr": null,
  6217 + "createTime": 1585199332000,
  6218 + "ignoreCnt": 0,
  6219 + "isTrend": 0,
  6220 + "sort": null,
  6221 + "unitGroupId": null,
  6222 + "kpiTotal": null,
  6223 + "resId": null,
  6224 + "unit": "",
  6225 + "typeNum": null,
  6226 + "policyNum": "0",
  6227 + "expression": null,
  6228 + "standardValue": null,
  6229 + "baselineId": null,
  6230 + "policy": null,
  6231 + "analysisExpr": null,
  6232 + "kpiValue": null,
  6233 + "relId": null,
  6234 + "levelList": null,
  6235 + "canCA": null
  6236 + }],
  6237 + "map": null,
  6238 + "success": true,
  6239 + "obj": null,
  6240 + "object": null,
  6241 + "str": null,
  6242 + "totalRow": null
  6243 + }
  6244 + return kpiPageData;
  6245 +}
@@ -77,3 +77,9 @@ @@ -77,3 +77,9 @@
77 .el-table td { 77 .el-table td {
78 padding: 6px 0; 78 padding: 6px 0;
79 } 79 }
  80 +.alarm-li{
  81 + .el-input .el-input__inner{
  82 + height: 50px;
  83 + }
  84 +}
  85 +
@@ -361,3 +361,17 @@ a:hover { @@ -361,3 +361,17 @@ a:hover {
361 border-color: rgba(249, 32, 32, 0.2); 361 border-color: rgba(249, 32, 32, 0.2);
362 color: rgb(249, 32, 32); 362 color: rgb(249, 32, 32);
363 } 363 }
  364 +/*列将内容转换成图标*/
  365 +.small-icon {
  366 + width: 22px;
  367 + height: 22px;
  368 + display: block;
  369 +}
  370 +.small-icon.small-icon-msg {
  371 + background: url('../images/monitor/icon-msg.png') no-repeat center;
  372 + background-size: contain;
  373 +}
  374 +.small-icon.small-icon-wechat {
  375 + background: url('../images/monitor/icon-wechat.png') no-repeat center;
  376 + background-size: contain;
  377 +}
  1 +<template>
  2 + <div>
  3 + <el-button
  4 + type="primary"
  5 + size="small"
  6 + plain
  7 + @click="handleAddClick"
  8 + >配置表头</el-button
  9 + >
  10 + <el-table :data="formData" style="width: 100%">
  11 + <el-table-column prop="name" label="名称" width="60" />
  12 + <el-table-column prop="key" label="key值" width="70" />
  13 + <el-table-column prop="width" label="宽度" width="50" />
  14 + <el-table-column label="操作" width="100">
  15 + <template slot-scope="scope">
  16 + <div class="button-group">
  17 + <el-button
  18 + @click="handleEditorClick(scope.$index, scope.row)"
  19 + type="text"
  20 + size="small"
  21 + >编辑</el-button
  22 + >
  23 +<!-- <el-button
  24 + type="text"
  25 + size="small"
  26 + @click="handleDeleteClick(scope.$index, scope.row)"
  27 + >删除</el-button
  28 + >-->
  29 + </div>
  30 + </template>
  31 + </el-table-column>
  32 + </el-table>
  33 + <el-dialog
  34 + title="编辑列"
  35 + :visible.sync="editDialogVisible"
  36 + width="30%"
  37 + :before-close="handleClose"
  38 + >
  39 + <el-form :model="rowFormData" label-width="70px">
  40 + <el-form-item label="名称:">
  41 + <el-input
  42 + v-model.trim="rowFormData['name']"
  43 + placeholder="请输入名称"
  44 + size="mini"
  45 + disabled
  46 + >
  47 + </el-input>
  48 + </el-form-item>
  49 + <el-form-item label="key值:">
  50 + <el-input
  51 + v-model.trim="rowFormData['key']"
  52 + placeholder="请输入key值"
  53 + size="mini"
  54 + disabled
  55 + >
  56 + </el-input>
  57 + </el-form-item>
  58 + <el-form-item label="宽度:">
  59 + <el-input
  60 + v-model.trim="rowFormData['width']"
  61 + placeholder="请输入宽度"
  62 + size="mini"
  63 + >
  64 + </el-input>
  65 + </el-form-item>
  66 + <el-form-item label="排序:">
  67 + <el-switch size="mini" v-model.trim="rowFormData['sort']" />
  68 + </el-form-item>
  69 +
  70 + <el-form-item label="列排序:">
  71 + <el-input-number
  72 + v-model.trim="rowFormData['columnSort']"
  73 + :min="0"
  74 + :max="50"
  75 + size="small"
  76 + controls-position="right"
  77 + />
  78 + </el-form-item>
  79 + <el-form-item label="关联组件:">
  80 + <el-select v-model.trim="rowFormData['componentName']" size="small">
  81 + <el-option
  82 + v-for="item in componentNameData"
  83 + :key="item.value"
  84 + :label="item.label"
  85 + :value="item.value"
  86 + >
  87 + </el-option>
  88 + </el-select>
  89 + </el-form-item>
  90 + </el-form>
  91 + <span slot="footer" class="dialog-footer">
  92 + <el-button size="mini" @click="editDialogVisible = false">取 消</el-button>
  93 + <el-button size="mini" type="primary" @click="handleSaveClick"
  94 + >确 定</el-button
  95 + >
  96 + </span>
  97 + </el-dialog>
  98 + <el-dialog
  99 + title="性能指标"
  100 + :visible.sync="dialogVisible"
  101 + width="60%"
  102 + :before-close="handleClose"
  103 + >
  104 + <div class="table-search">
  105 + <el-input v-model="keyword" placeholder="请输入指标名称" clearable />
  106 + <el-button @click="searchKpi" class="search-btn" type="primary">搜索</el-button>
  107 + </div>
  108 + <el-table :data="tableData" height="350" style="width: 100%" ref="multipleTableRef" @selection-change="handleSelectionChange"
  109 + :row-key="(row) => { return row.kpiId }"
  110 + >
  111 + <el-table-column type="selection" width="55" :reserve-selection="true" />
  112 + <el-table-column prop="kpiName" label="指标名称" width="180" />
  113 + <el-table-column prop="kpiId" label="指标ID" width="180" />
  114 + <el-table-column prop="kpiCategory" label="指标分类" >
  115 + <template #default="scope">{{ scope.row.kpiCategory==0?'基本指标':'性能指标' }}</template>
  116 + </el-table-column>
  117 + <el-table-column prop="kpiUnit" label="指标单位" width="180" />
  118 + <el-table-column prop="kpiPower" label="指标权限" width="180" >
  119 + <template #default="scope">{{ scope.row.kpiPower=='hard'?'硬件':scope.row.kpiPower=='soft'?'系统':'公共' }}</template>
  120 + </el-table-column>
  121 + <el-table-column prop="policyNum" label="告警策略" width="180" >
  122 + <template #default="scope">{{ scope.row.policyNum>0?'':'暂无' }}</template>
  123 + </el-table-column>
  124 + </el-table>
  125 + <!-- 分页 -->
  126 + <div style='text-align: left;background-color: white'>
  127 + <el-pagination
  128 + v-if="currentPage"
  129 + @size-change="handleSizeChange"
  130 + @prev-click="prePage"
  131 + @next-click="nextPage"
  132 + @current-change="handleCurrentChange"
  133 + :current-page="currentPage"
  134 + :page-sizes="pageSizes"
  135 + :page-size="pageSize"
  136 + :total="total">
  137 + </el-pagination>
  138 + </div>
  139 + <span slot="footer" class="dialog-footer">
  140 + <el-button size="mini" @click="dialogVisible = false">取 消</el-button>
  141 + <el-button size="mini" type="primary" @click="handleSaveClick"
  142 + >确 定</el-button
  143 + >
  144 + </span>
  145 + </el-dialog>
  146 + </div>
  147 +</template>
  148 +<script>
  149 +import {getKpiPage} from "@/api/platform";
  150 +import {formatDate} from "../../../../../filter";
  151 +export default {
  152 + model: {
  153 + prop: "formData",
  154 + event: "input"
  155 + },
  156 + props: {
  157 + formData: Array
  158 + },
  159 + data() {
  160 + return {
  161 + keyword:'',
  162 + currentPage:1,
  163 + pageSize:10,
  164 + pageSizes:[10,50,100, 200, 300, 400],
  165 + total:0,
  166 + layout:false,
  167 + dialogVisible: false,
  168 + rowFormData: {
  169 + name: "",
  170 + key: "",
  171 + width: "",
  172 + sort:false,
  173 + columnSort:0,
  174 + componentName:1
  175 + },
  176 + flag: true, // true 新增, false 编辑
  177 + indexEditor: -1, // 编辑第几个数据
  178 + tableData: [],
  179 + multipleSelection:[],
  180 + editDialogVisible:false,//编辑列
  181 + componentNameData:[
  182 + {
  183 + label:'正常内容',
  184 + value:1
  185 + },
  186 + {
  187 + label:'微信图标',
  188 + value:'textToImage'
  189 + },
  190 + {
  191 + label: '级别背景',
  192 + value:'textToBg'
  193 + }
  194 + ],//关联组件
  195 + };
  196 + },
  197 + methods: {
  198 + //搜索指标
  199 + searchKpi(){
  200 + this.getKpi();
  201 + },
  202 + //获取性能指标列表
  203 + getKpi(){
  204 + let datas=getKpiPage();
  205 + if(datas.success){
  206 + this.tableData=datas.data;
  207 +
  208 + }
  209 + },
  210 + //回显数据
  211 + setCheckedData(){
  212 + if(this.multipleSelection && this.multipleSelection.length>0){
  213 + this.tableData.map(item=>{
  214 + this.multipleSelection.map(v=>{
  215 + if(item.kpiId==v.kpiId){
  216 + setTimeout(()=>{
  217 + this.$refs.multipleTableRef.toggleRowSelection(item)
  218 + },300)
  219 + }
  220 + })
  221 + })
  222 + }
  223 + },
  224 + //多选操作
  225 + handleSelectionChange(val) {
  226 + this.multipleSelection = val
  227 + },
  228 + // 每页展示多少条
  229 + handleSizeChange(val){
  230 + // 切换页码重置初始页
  231 + this.currentPage = 1
  232 + // console.log(`每页 ${val} 条`)
  233 + //props.pageSize = val;
  234 + this.pageSize = val;
  235 + this.getKpi();
  236 + },
  237 +
  238 + // 切换页码
  239 + handleCurrentChange(val){
  240 + // console.log(`当前页: ${val}`)
  241 + //props.currentPage = val;
  242 + this.currentPage = val;
  243 + this.getKpi();
  244 + },
  245 + // 切换页码
  246 + prePage(val) {
  247 + // console.log(`当前页: ${val}`)
  248 + // props.currentPage = val - 1;
  249 + this.currentPage = val-1;
  250 + this.getKpi();
  251 + },
  252 +
  253 + // 切换页码
  254 + nextPage(val){
  255 + // console.log(`当前页: ${val}`)
  256 + // props.currentPage = val + 1;
  257 + this.currentPage = val+1;
  258 + this.getKpi();
  259 + },
  260 + // 配置性能指标
  261 + handleAddClick() {
  262 + this.rowFormData = {};
  263 + this.flag = true;
  264 + this.dialogVisible = true;
  265 + this.getKpi();
  266 +
  267 + },
  268 + // 编辑
  269 + handleEditorClick(index, row) {
  270 + this.flag = false;
  271 + this.rowFormData = this.deepClone(row);
  272 + this.indexEditor = index;
  273 + this.editDialogVisible = true;
  274 + },
  275 + // 关闭
  276 + handleClose() {
  277 + this.dialogVisible = false;
  278 + },
  279 + // 保存
  280 + handleSaveClick() {
  281 + if (this.flag) {
  282 + // 新增
  283 + // this.formData.push(this.rowFormData);
  284 + let arr=[]
  285 + this.multipleSelection.map((item,index)=>{
  286 + arr.push({name:item.kpiName,key:item.kpiId,width:'50%',sort:false,columnSort:index,componentName:1})
  287 + })
  288 + this.formData=arr;
  289 + this.dialogVisible = false;
  290 + } else {
  291 + // 编辑
  292 + this.formData[this.indexEditor] = this.rowFormData;
  293 + this.$set(this.formData, this.indexEditor, this.rowFormData);
  294 + this.editDialogVisible = false;
  295 + }
  296 + this.$emit("input", this.formData);
  297 + this.$emit("change", this.formData);
  298 + },
  299 + // 删除
  300 + handleDeleteClick(index,row) {
  301 + this.formData.splice(index, 1);
  302 + this.setTableChecked(row.key);
  303 + this.$emit("input", this.formData);
  304 + this.$emit("change", this.formData);
  305 + },
  306 + //设置表格选中状态
  307 + setTableChecked(kpiId){
  308 + let indexId='';
  309 + this.multipleSelection.map((item,index)=>{
  310 + if(kpiId==item.kpiId){
  311 + indexId=index;
  312 + }
  313 + })
  314 + this.multipleSelection.splice(indexId, 1);
  315 +
  316 + this.tableData.map(item=>{
  317 + if(item.kpiId==kpiId){
  318 + setTimeout(()=>{
  319 + this.$refs.multipleTableRef.toggleRowSelection(item)
  320 + },300)
  321 + }
  322 + })
  323 + }
  324 + }
  325 +};
  326 +</script>
  327 +<style lang="scss" scoped>
  328 +/deep/::-webkit-scrollbar-track-piece {
  329 + background-color: transparent;
  330 +}
  331 +/deep/ .el-table__body-wrapper::-webkit-scrollbar {
  332 + width: 0; // 横向滚动条
  333 + height: 8px; // 纵向滚动条 必写
  334 +}
  335 +// 滚动条的滑块
  336 +/deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
  337 + border-radius: 5px;
  338 + background-color: rgba(144, 146, 152, 0.3);
  339 +}
  340 +/deep/.el-table,
  341 +/deep/.el-table__expanded-cell,
  342 +/deep/.el-table th,
  343 +/deep/.el-table tr {
  344 + background-color: transparent !important;
  345 + color: #859094 !important;
  346 + font-size: 12px !important;
  347 +}
  348 +/deep/.el-table td,
  349 +/deep/.el-table th.is-leaf {
  350 + border-bottom: none;
  351 + line-height: 26px;
  352 +}
  353 +/deep/.el-table tbody tr:hover {
  354 + background-color: #263445 !important;
  355 +}
  356 +/deep/.el-table tbody tr:hover > td {
  357 + background-color: #263445 !important;
  358 +}
  359 +/deep/.el-table::before {
  360 + height: 0;
  361 +}
  362 +.button-group .el-button {
  363 + padding: 0;
  364 +}
  365 +.table-search{
  366 + display: flex;
  367 + align-items: center;
  368 + .search-btn{
  369 + margin-left: 10px;
  370 +
  371 + }
  372 +}
  373 +</style>
  1 +<template>
  2 + <div class="dialog-div" v-if="dialogVisible" :style="heightStyle">
  3 + <div class="dialog-div-content" :style="marginStyle+widthStyle" >
  4 + <div class="dialog-div-title title-flex-between"><span>{{titleName}}</span> <span class="dialog-close" @click="hideDialog">X</span></div>
  5 + <slot>弹框内容</slot>
  6 +
  7 + <div class="dialog-footer" v-if="showFooter">
  8 + <el-button v-if="showCancelBtn" @click="hideDialog">取消</el-button>
  9 + <el-button v-if="showOkBtn" type="primary" @click="okFunc"
  10 + >确定</el-button
  11 + >
  12 + </div>
  13 + </div>
  14 + </div>
  15 +</template>
  16 +
  17 +<script>
  18 +export default {
  19 + name: "customDialog",
  20 + props: {
  21 + dialogVisible: {
  22 + type: Boolean,
  23 + default: false
  24 + },
  25 + heightStyle: String,
  26 + marginStyle: String,
  27 + widthStyle: String,
  28 + dialogName: String,
  29 + titleName: {
  30 + type: String,
  31 + default: ''
  32 + },//弹框标题
  33 + showFooter: {
  34 + type: Boolean,
  35 + default: false
  36 + },//是否需要footer
  37 + showCancelBtn: {
  38 + type: Boolean,
  39 + default: false
  40 + },//是否需要取消按钮
  41 + showOkBtn: {
  42 + type: Boolean,
  43 + default: false
  44 + },//是否需要确定按钮
  45 + },
  46 + data() {
  47 + return {}
  48 + },
  49 + watch: {
  50 + dialogVisible: {
  51 + handler(val) {
  52 + console.log("dialogVisible",val)
  53 + },
  54 + deep: true
  55 + }
  56 + },
  57 + mounted() {
  58 +
  59 + },
  60 + methods: {
  61 + hideDialog(){
  62 + // this.dialogVisible = false;
  63 + this.$emit('hideDialog',false);
  64 + },
  65 + okFunc(){
  66 + // this.dialogVisible = false;
  67 + this.$emit('okfunc');
  68 + }
  69 + }
  70 +}
  71 +</script>
  72 +
  73 +<style lang="scss" scoped>
  74 +.title-flex-between{
  75 + display: flex;
  76 + justify-content: space-between;
  77 +
  78 +}
  79 +.dialog-div{
  80 + background: rgba(0, 0, 0, 0.35);
  81 + position: fixed;
  82 + top: 0;
  83 + left: 0;
  84 + right: 0;
  85 + bottom: 0;
  86 + z-index: 1;
  87 +}
  88 +.dialog-div-content{
  89 + /* display: flex;
  90 + align-items: center;
  91 + margin: 30px auto 0;
  92 + flex-flow: column;*/
  93 + width:80%;
  94 + min-height: 700px;
  95 + /*max-height: 800px;*/
  96 + overflow: auto;
  97 + background: #FFFFFF;
  98 + position: relative;
  99 + margin: 30px auto;
  100 + .dialog-div-width{
  101 + width: 100%;
  102 + }
  103 + .txtScroll-top{
  104 + width:100%;
  105 + padding: 10px;
  106 + margin-bottom:50px;
  107 + min-height: 600px;
  108 + max-height: 700px;
  109 + overflow: auto;
  110 + iframe{
  111 + border:none;
  112 + min-height: 600px;
  113 + html{
  114 + background: #FFFFFF;
  115 + }
  116 + }
  117 + }
  118 +.dialog-div-title{
  119 + width: 100%;
  120 + background: #f8f8f8;
  121 + padding:10px;
  122 + text-align: left;
  123 + line-height: 24px;
  124 +.dialog-close{
  125 + cursor: pointer;
  126 + color:#666666;
  127 +}
  128 +}
  129 +.dialog-footer{
  130 + width: 100%;
  131 + padding: 15px;
  132 + position: absolute;
  133 + bottom: 0;
  134 + text-align: right;
  135 +}
  136 +}
  137 +</style>
  1 +<template>
  2 + <div>
  3 + <div class="basic-img">
  4 + <el-popover ref="popoverMenu" placement="right" trigger="click" auto-close="200" >
  5 + <template #reference>
  6 + <img class="info-img" src="@/assets/images/healthStatus/icon_row_menu.png" alt="" @click.stop="pressingTimes()">
  7 + </template>
  8 + <div class="info-ul" style="width:140px;" >
  9 + <div class="basic-pressing-times" @click.stop="pressingDialog(itemMenu,tableDataValue,flg)" v-for="itemMenu in detailMenubox">
  10 + <i class="el-icon-link icon-div"></i>{{itemMenu.name}}
  11 + </div>
  12 + </div>
  13 + </el-popover>
  14 + </div>
  15 + <customDialog :dialogVisible="dialogVisible" :heightStyle="heightStyle" :marginStyle="marginStyle" :widthStyle="widthStyle" :title-name="tableName"
  16 + :showFooter="true" :showCancelBtn="true" :showOkBtn="true" @hideDialog="hideDialog" @okFunc="okFunc"
  17 + >
  18 + <template v-slot>
  19 + <div v-if="dialogName=='alarm_setting'" class="txtScroll-top">
  20 +<!-- 告警设置{{pressingValue}}-->
  21 + <div class="alarm-li flex-center">
  22 + <div class="alarm-li-label">告警策略</div>
  23 + <el-select v-model="strategyValue" filterable class="m-2 alarm-li-select" placeholder="选择告警策略">
  24 + <el-option
  25 + v-for="item in strategyData"
  26 + :key="item.value"
  27 + :label="item.label"
  28 + :value="item.value"
  29 + >
  30 + </el-option>
  31 + </el-select>
  32 + </div>
  33 + <div class="alarm-li flex-center">
  34 + <div class="alarm-li-label">告警列表</div>
  35 + <el-select v-model="alarmListValue" multiple filterable class="m-2 alarm-li-select" placeholder="选择告警列表" >
  36 + <el-option
  37 + v-for="item in alarmListData"
  38 + :key="item.value"
  39 + :label="item.label"
  40 + :value="item.value"
  41 + >
  42 + </el-option>
  43 + </el-select>
  44 + </div>
  45 +
  46 + </div>
  47 + <div v-if="dialogName=='filter_sheet_indicator'" class="txtScroll-top">
  48 + 过滤单指标{{pressingValue}}
  49 + </div>
  50 + <div v-if="dialogName=='filter_multiple_indicators'" class="txtScroll-top">
  51 + 过滤多指标{{pressingValue}}
  52 + </div>
  53 + <div v-if="dialogName=='performance_trends'" class="txtScroll-top">
  54 + <div>性能趋势{{pressingValue}}</div>
  55 + <iframe :src="trendSrc" class="layadmin-iframe" style="height: 99.5%!important;width: 100%;"/>
  56 + </div>
  57 + <div v-if="dialogName=='pressing_times'" class="txtScroll-top">
  58 + 压制次数{{pressingValue}}
  59 + </div>
  60 + <div v-if="dialogName=='include_capacity_forecast'" class="txtScroll-top">
  61 + 纳入容量预测{{pressingValue}}
  62 + </div>
  63 + </template>
  64 + </customDialog>
  65 + </div>
  66 +
  67 +</template>
  68 +
  69 +<script>
  70 +import customDialog from "./customDialog";
  71 +
  72 +export default {
  73 + name: "customMenuBox",
  74 + components:{
  75 + customDialog,
  76 + },
  77 + props: {
  78 + heightStyle: String,
  79 + marginStyle: String,
  80 + trendSrc:{
  81 + type:String,
  82 + default:'',
  83 + },
  84 + tableName:{
  85 + type:String,
  86 + default:'',
  87 + },//弹框名称
  88 + detailMenubox: {
  89 + type: Array,
  90 + default: [
  91 + {
  92 + name:'告警设置',
  93 + type:'alarm_setting',
  94 + isDisplay:true
  95 + },
  96 + {
  97 + name:'过滤单指标',
  98 + type:'filter_sheet_indicator',
  99 + isDisplay:true
  100 + },
  101 + {
  102 + name:'过滤多指标',
  103 + type:'filter_multiple_indicators',
  104 + isDisplay:true
  105 + },
  106 + {
  107 + name:'性能趋势',
  108 + type:'performance_trends',
  109 + isDisplay:true
  110 + },
  111 + {
  112 + name:'压制次数',
  113 + type:'pressing_times',
  114 + isDisplay:true
  115 + },
  116 + {
  117 + name:'纳入容量预测',
  118 + type:'include_capacity_forecast',
  119 + isDisplay:true
  120 + }
  121 + ]
  122 + },//表格下探数据
  123 + tableDataValue: {
  124 + type: String,
  125 + default: ''
  126 + },//单元格内容
  127 + flg: {
  128 + type: String,
  129 + default: ''
  130 + },//标志
  131 + },
  132 + data() {
  133 + return {
  134 + dialogVisible:false,//表格下探后的弹框
  135 + widthStyle:';',//弹框宽度样式
  136 + dialogName: '',
  137 + // trendSrc:'',//性能走势图地址
  138 + // pressingVisible:'',
  139 + pressingValue:'',
  140 + strategyData: [{
  141 + label:'策略一',
  142 + value:'001'
  143 + }],//告警策略数据
  144 + strategyValue:'',//告警策略值
  145 + alarmListData:[{
  146 + label:'告警列表一',
  147 + value:'001'
  148 + },{
  149 + label:'告警列表二',
  150 + value:'002'
  151 + },],//告警列表数据
  152 + alarmListValue:[],//告警列表值
  153 +
  154 + }
  155 + },
  156 + watch: {
  157 + trendSrc: {
  158 + handler(val) {
  159 + console.log("trendSrc",val)
  160 +
  161 + },
  162 + deep: true
  163 + },
  164 + tableName:{
  165 + handler(val){
  166 + console.log("titlename",val)
  167 + },
  168 + deep:true
  169 + }
  170 + },
  171 + mounted() {
  172 +
  173 + },
  174 + methods: {
  175 + //表格下探关闭
  176 + pressingTimes(index,idx){
  177 + // this.pressingVisible=index+'-'+idx;
  178 + },
  179 + //弹框关闭确定
  180 + hideDialog(){
  181 + this.dialogVisible=false;
  182 + },
  183 + okFunc(){
  184 + this.dialogVisible=false;
  185 + },
  186 + //表格下探
  187 + pressingDialog(itemMenu,value,flg){
  188 + this.pressingValue=value;
  189 + let styleStr='width: 300px;height: 200px;min-height: 200px;overflow: hidden;'
  190 + if(itemMenu.type=='alarm_setting'){
  191 + this.widthStyle='width:70%;';
  192 +
  193 + }else if(itemMenu.type=='filter_sheet_indicator'){
  194 + this.widthStyle=styleStr;
  195 +
  196 + }else if(itemMenu.type=='filter_multiple_indicators'){
  197 + this.widthStyle=styleStr;
  198 +
  199 + }else if(itemMenu.type=='performance_trends'){
  200 + this.widthStyle='';
  201 +
  202 + }else if(itemMenu.type=='pressing_times'){
  203 + this.widthStyle=styleStr;
  204 +
  205 + }else if(itemMenu.type=='include_capacity_forecast'){
  206 + this.widthStyle=styleStr;
  207 +
  208 + }
  209 +
  210 + this.setDialog(itemMenu.type,flg);
  211 +
  212 + this.closePopoverMenu();
  213 +
  214 + this.$emit("closeProbeDown",'')
  215 + // this.$refs.popoverMenu.showPopper = false;
  216 +
  217 + },
  218 + closePopoverMenu(){
  219 + let key=this.$refs.popoverMenu;
  220 + if(key && key.length>0){
  221 + key.map(item=>{
  222 + item.showPopper=false
  223 + })
  224 + }else{
  225 + key.showPopper=false
  226 +
  227 + }
  228 + },
  229 + //打开弹框
  230 + setDialog(name,flg){
  231 + this.dialogVisible=true;
  232 +
  233 + this.dialogName=name;
  234 + },
  235 + }
  236 +}
  237 +</script>
  238 +
  239 +<style lang="scss" scoped>
  240 +.basic-img{
  241 + display: flex;
  242 + cursor: pointer;
  243 + .info-img{
  244 + width: 16px;
  245 + height: 16px;
  246 +
  247 + img{
  248 + width:100%;
  249 + }
  250 + }
  251 +
  252 +}
  253 +.info-ul{
  254 + border:1px solid #d2d2d2;
  255 + padding-bottom: 5px;
  256 + z-index: 999999;
  257 + background: #ffffff;
  258 + color:#666666;
  259 + .basic-pressing-times{
  260 + line-height: 35px;
  261 + height: 35px;
  262 + cursor: pointer;
  263 + border-bottom: 1px solid #d2d2d2;
  264 + padding: 5px 16px;
  265 + text-align: center;
  266 + font-size: 14px;
  267 + font-weight: 500;
  268 + display: flex;
  269 + align-items: center;
  270 + justify-content: flex-start;
  271 + &:last-child{
  272 + border-bottom: none;
  273 + }
  274 + &:hover{
  275 + background: #0d82e9;
  276 + color:#f6f6f6;
  277 + }
  278 + .icon-div{
  279 + width: 14px;
  280 + }
  281 + }
  282 +
  283 +}
  284 +.alarm-li{
  285 + width:100%;
  286 + padding:0 10px;
  287 + margin-bottom: 30px;
  288 + .alarm-li-label{
  289 + height:50px;
  290 + line-height: 50px;
  291 + background: #fbfbfb;
  292 + padding:10px;
  293 + display: flex;
  294 + align-items: center;
  295 + border:1px solid #e6e6e6;
  296 + }
  297 + .alarm-li-select{
  298 + flex:1;
  299 +
  300 + }
  301 +}
  302 +.el-input .el-input__inner{
  303 + height: 40px;
  304 +}
  305 +.flex-center{
  306 + display: flex;
  307 + justify-content: center;
  308 +}
  309 +</style>
@@ -139,6 +139,12 @@ @@ -139,6 +139,12 @@
139 :dict-key="item.dictKey" 139 :dict-key="item.dictKey"
140 @change="changed($event, item.name)" 140 @change="changed($event, item.name)"
141 /> 141 />
  142 + <configureIndicators
  143 + v-if="item.type == 'dynamic-detail-table' && inputShow[item.name]"
  144 + v-model="formData[item.name]"
  145 + :chart-type="item.chartType"
  146 + @change="changed($event, item.name)"
  147 + />
142 <dynamic-add-table 148 <dynamic-add-table
143 v-if="item.type == 'dynamic-add-table' && inputShow[item.name]" 149 v-if="item.type == 'dynamic-add-table' && inputShow[item.name]"
144 v-model="formData[item.name]" 150 v-model="formData[item.name]"
@@ -276,6 +282,9 @@ import dynamicComponents from "./dynamicComponents.vue"; @@ -276,6 +282,9 @@ import dynamicComponents from "./dynamicComponents.vue";
276 import customColorComponents from "./customColorComponents"; 282 import customColorComponents from "./customColorComponents";
277 import dynamicAddTable from "./dynamicAddTable.vue"; 283 import dynamicAddTable from "./dynamicAddTable.vue";
278 import customUpload from "./customUpload.vue"; 284 import customUpload from "./customUpload.vue";
  285 +
  286 +import configureIndicators from "./configureIndicators.vue";
  287 +
279 export default { 288 export default {
280 name: "DynamicForm", 289 name: "DynamicForm",
281 components: { 290 components: {
@@ -284,7 +293,8 @@ export default { @@ -284,7 +293,8 @@ export default {
284 dynamicComponents, 293 dynamicComponents,
285 customColorComponents, 294 customColorComponents,
286 dynamicAddTable, 295 dynamicAddTable,
287 - customUpload 296 + customUpload,
  297 + configureIndicators
288 }, 298 },
289 model: { 299 model: {
290 prop: "value", 300 prop: "value",
  1 +<template>
  2 + <div class="text-bg-div">
  3 + <div :class="['table-level-normal',{'table-level-worse':alarmLevel=='2','table-level-worst':alarmLevel=='3'}]">
  4 + {{levelName}}
  5 + </div>
  6 +
  7 + </div>
  8 +</template>
  9 +
  10 +<script>
  11 +export default {
  12 + name: "textToBg",
  13 + data() {
  14 + return {
  15 + levelName:'一般'
  16 + }
  17 + },
  18 + components: {},
  19 + props: {
  20 + alarmLevel: String,
  21 + },
  22 + computed: {},
  23 + mounted() {
  24 + this.getLeveName();
  25 + },
  26 + methods: {
  27 + getLeveName(){
  28 + if(this.alarmLevel=='1'){
  29 + this.levelName='一般'
  30 + }else if(this.alarmLevel=='2'){
  31 + this.levelName='重要'
  32 + }else if(this.alarmLevel=='3'){
  33 + this.levelName='严重'
  34 + }else{
  35 + this.levelName='一般'
  36 + }
  37 + }
  38 + }
  39 +}
  40 +</script>
  41 +
  42 +<style lang="scss" scoped>
  43 +.text-bg-div{
  44 + width:80%;
  45 +}
  46 +.table-level-normal {
  47 + min-width: 28px;
  48 + line-height: 28px;
  49 + width:100%;
  50 + display: inline-block;
  51 + padding: 0 3px;
  52 + color: #fff;
  53 + background-color: #1e9fff
  54 +}
  55 +.table-level-worse {
  56 + background-color: #FF7E00;
  57 +}
  58 +.table-level-worst {
  59 + background-color: #D81E06;
  60 +}
  61 +</style>
  1 +<template>
  2 + <div>
  3 + <div :class="['small-icon',{'small-icon-wechat':way=='','small-icon-msg':way=='message'}]"></div>
  4 +
  5 + </div>
  6 +</template>
  7 +
  8 +<script>
  9 +export default {
  10 + name: "textToImage",
  11 + data() {
  12 + return {
  13 + }
  14 + },
  15 + components: {},
  16 + props: {
  17 + way: String,
  18 + },
  19 + computed: {},
  20 + mounted() {},
  21 + methods: {}
  22 +}
  23 +</script>
  24 +
  25 +<style lang="scss" scoped>
  26 +
  27 +</style>
@@ -134,6 +134,117 @@ export const monitorDetailTable = { @@ -134,6 +134,117 @@ export const monitorDetailTable = {
134 placeholder: '', 134 placeholder: '',
135 value: '#e6e6e6' 135 value: '#e6e6e6'
136 }, 136 },
  137 +
  138 + [
  139 + {
  140 + name:'下探列表设置',
  141 + list:[
  142 + {
  143 + type: 'el-switch',
  144 + label: '告警设置',
  145 + name: 'alarm_setting',
  146 + required: false,
  147 + placeholder: '',
  148 + value: true
  149 + },
  150 + {
  151 + type: 'el-switch',
  152 + label: '过滤单指标',
  153 + name: 'filter_sheet_indicator',
  154 + required: false,
  155 + placeholder: '',
  156 + value: true
  157 + },
  158 + {
  159 + type: 'el-switch',
  160 + label: '过滤多指标',
  161 + name: 'filter_multiple_indicators',
  162 + required: false,
  163 + placeholder: '',
  164 + value: true
  165 + },
  166 + {
  167 + type: 'el-switch',
  168 + label: '性能趋势',
  169 + name: 'performance_trends',
  170 + required: false,
  171 + placeholder: '',
  172 + value: true
  173 + },
  174 + {
  175 + type: 'el-switch',
  176 + label: '压制次数',
  177 + name: 'pressing_times',
  178 + required: false,
  179 + placeholder: '',
  180 + value: true
  181 + },
  182 + {
  183 + type: 'el-switch',
  184 + label: '纳入容量预测',
  185 + name: 'include_capacity_forecast',
  186 + required: false,
  187 + placeholder: '',
  188 + value: true
  189 + }
  190 + ]
  191 + }
  192 + ],
  193 + {
  194 + type: 'el-switch',
  195 + label: '弹框默认名称',
  196 + name: 'nameDefault',
  197 + required: false,
  198 + placeholder: '',
  199 + value: true
  200 + },
  201 + [
  202 + {
  203 + name: '弹框名称设置',
  204 + list: [
  205 + {
  206 + type: 'el-switch',
  207 + label: '资源类型',
  208 + name: 'nameResType',
  209 + required: false,
  210 + placeholder: '',
  211 + value: false
  212 + },
  213 + {
  214 + type: 'el-switch',
  215 + label: 'IP地址',
  216 + name: 'nameIPAddress',
  217 + required: false,
  218 + placeholder: '',
  219 + value: false
  220 + },
  221 + {
  222 + type: 'el-switch',
  223 + label: '资源名称',
  224 + name: 'nameResName',
  225 + required: false,
  226 + placeholder: '',
  227 + value: false
  228 + },
  229 + {
  230 + type: 'el-switch',
  231 + label: '指标名称',
  232 + name: 'nameKpiName',
  233 + required: false,
  234 + placeholder: '',
  235 + value: false
  236 + },
  237 + {
  238 + type: 'el-switch',
  239 + label: '指标标识',
  240 + name: 'nameKpiFlg',
  241 + required: false,
  242 + placeholder: '',
  243 + value: false
  244 + }
  245 + ],
  246 + }
  247 + ],
137 [ 248 [
138 { 249 {
139 name: '状态范围设置', 250 name: '状态范围设置',
@@ -217,6 +328,14 @@ export const monitorDetailTable = { @@ -217,6 +328,14 @@ export const monitorDetailTable = {
217 value: true, 328 value: true,
218 }, 329 },
219 { 330 {
  331 + type: 'el-switch',
  332 + label: '序号',
  333 + name: 'isSerialNumber',
  334 + required: false,
  335 + placeholder: '',
  336 + value: false,
  337 + },
  338 + {
220 type: 'vue-color', 339 type: 'vue-color',
221 label: '表头颜色', 340 label: '表头颜色',
222 name: 'headColor', 341 name: 'headColor',
@@ -273,17 +392,18 @@ export const monitorDetailTable = { @@ -273,17 +392,18 @@ export const monitorDetailTable = {
273 }, 392 },
274 ], 393 ],
275 { 394 {
276 - type: 'dynamic-add-table', 395 + type: 'dynamic-detail-table',
277 label: '', 396 label: '',
278 name: 'dynamicAddTable', 397 name: 'dynamicAddTable',
279 required: false, 398 required: false,
  399 + chartType:'detail-table',
280 placeholder: '', 400 placeholder: '',
281 value: [ 401 value: [
282 - {name: '文件系统挂载', key: 'fileAddress', width: '50%',kpiIdent:0,isWarning:0},  
283 - {name: '文件系统使用率', key: 'fileUseRate', width: '50%',isWarning:1,kpiIdent:0},  
284 - {name: '文件系统总大小', key: 'fileSize', width: '50%',kpiIdent:1,isWarning:0},  
285 - {name: '文件系统已使用大小', key: 'fileSizeUsed', width: '50%',kpiIdent:1,isWarning:0},  
286 - {name: '卷名称', key: 'fileAddressName', width: '50%',kpiIdent:0,isWarning:0}, 402 + {name: '文件系统挂载', key: 'KPI7AC1664E', width: '50%',isStatic:true,columnSort:0,componentName:1},
  403 + {name: '文件系统使用率', key: 'KPI449F5365', width: '50%',isStatic:true,columnSort:1,componentName:1},
  404 + {name: '文件系统总大小', key: 'KPIA91F44E7', width: '50%',isStatic:true,columnSort:2,componentName:1},
  405 + {name: '文件系统已使用大小', key: 'KPI98306224', width: '50%',isStatic:true,columnSort:3,componentName:1},
  406 + {name: '卷名称', key: 'KPI77C28BBA', width: '50%',isStatic:true,columnSort:4,componentName:1},
287 ] 407 ]
288 } 408 }
289 ], 409 ],
@@ -324,11 +444,102 @@ export const monitorDetailTable = { @@ -324,11 +444,102 @@ export const monitorDetailTable = {
324 relactiveDom: 'dataType', 444 relactiveDom: 'dataType',
325 relactiveDomValue: 'staticData', 445 relactiveDomValue: 'staticData',
326 value: [ 446 value: [
327 - {fileAddress: '/', fileUseRate: '99%', fileSize: '196.74',fileSizeUsed:'184',fileAddressName:'/dev/vda1'},  
328 - {fileAddress: '/dev', fileUseRate: '0%', fileSize: '15.74',fileSizeUsed:'0.00',fileAddressName:'devtmpfs'},  
329 - {fileAddress: '/run', fileUseRate: '1%', fileSize: '15.32',fileSizeUsed:'0.14',fileAddressName:'tmpfs'},  
330 - {fileAddress: '/run/user/0', fileUseRate: '0%', fileSize: '3.74',fileSizeUsed:'10',fileAddressName:'tmpfs'},  
331 - {fileAddress: '/run/user/0001', fileUseRate: '2', fileSize: '3.69',fileSizeUsed:'1.23',fileAddressName:'tmpfs'}, 447 + {
  448 + header: [
  449 + {
  450 + id: "KPI7AC1664E",
  451 + name: "文件系统挂载",
  452 + unit: ""
  453 + }, {
  454 + id: "KPI449F5365",
  455 + name: "文件系统使用率",
  456 + unit: "%"
  457 + }, {
  458 + id: "KPIA91F44E7",
  459 + name: "文件系统总大小",
  460 + unit: ""
  461 + }, {
  462 + id: "KPI98306224",
  463 + name: "文件系统已使用大小",
  464 + unit: ""
  465 + },{
  466 + id: "KPI77C28BBA",
  467 + name: "卷名称",
  468 + unit: ""
  469 + }, {
  470 + id: "KPIF74D9D2B",
  471 + name: "最近采集时间",
  472 + unit: ""
  473 + }
  474 + ],
  475 + content:[
  476 + [
  477 + {
  478 + kpiId: "KPI7AC1664E",
  479 + kpiName: "文件系统挂载",
  480 + flag: "inode-",
  481 + kpiValue: "/ ",
  482 + kpiUnit: "none",
  483 + kpiIdent: "0",
  484 + isWarning: 0,
  485 + isTrend: 0,
  486 + kpiLevel: 0,
  487 + },
  488 + {
  489 + kpiId: "KPI449F5365",
  490 + kpiName: "文件系统使用率",
  491 + flag: "inode-",
  492 + kpiValue: "3%",
  493 + kpiUnit: "percent",
  494 + kpiIdent: "1",
  495 + isWarning: 0,
  496 + isTrend: 0,
  497 + kpiLevel: 0,
  498 + },
  499 + {
  500 + kpiId: "KPIA91F44E7",
  501 + kpiName: "文件系统总大小",
  502 + flag: "inode-",
  503 + kpiValue: "6553600 ",
  504 + kpiUnit: "none",
  505 + kpiIdent: "1",
  506 + isWarning: 0,
  507 + isTrend: 0,
  508 + kpiLevel: 0,
  509 + }, {
  510 + kpiId: "KPI98306224",
  511 + kpiName: "文件系统已使用大小",
  512 + flag: "inode-",
  513 + kpiValue: "81699 ",
  514 + kpiUnit: "none",
  515 + kpiIdent: "1",
  516 + isWarning: 0,
  517 + isTrend: 0,
  518 + kpiLevel: 0,
  519 + }, {
  520 + kpiId: "KPI77C28BBA",
  521 + kpiName: "卷名称",
  522 + flag: "inode-",
  523 + kpiValue: "/dev/vda1 ",
  524 + kpiUnit: "none",
  525 + kpiIdent: "0",
  526 + isWarning: 0,
  527 + isTrend: 0,
  528 + kpiLevel: 0,
  529 + }, {
  530 + kpiId: "KPIF74D9D2B",
  531 + kpiName: "最近采集时间",
  532 + flag: "inode-",
  533 + kpiValue: "2022-01-17 08:51:18 ",
  534 + kpiUnit: "",
  535 + kpiIdent: "0",
  536 + isWarning: 0,
  537 + isTrend: 0,
  538 + kpiLevel: 0,
  539 + }
  540 + ],
  541 + ]
  542 + }
332 543
333 ], 544 ],
334 }, 545 },