详情表格组件配置表头功能,页面嵌入到iframe中的弹框优化
Showing
5 changed files
with
3720 additions
and
39 deletions
@@ -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 | +} |
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 | + type="text" | ||
19 | + size="small" | ||
20 | + @click="handleDeleteClick(scope.$index, scope.row)" | ||
21 | + >删除</el-button | ||
22 | + > | ||
23 | + </div> | ||
24 | + </template> | ||
25 | + </el-table-column> | ||
26 | + </el-table>--> | ||
27 | + | ||
28 | + <el-dialog | ||
29 | + title="性能指标" | ||
30 | + :visible.sync="dialogVisible" | ||
31 | + width="60%" | ||
32 | + :before-close="handleClose" | ||
33 | + > | ||
34 | + <div class="table-search"> | ||
35 | + <el-input v-model="keyword" placeholder="请输入指标名称" clearable /> | ||
36 | + <el-button @click="searchKpi" class="search-btn" type="primary">搜索</el-button> | ||
37 | + </div> | ||
38 | + <el-table :data="tableData" height="350" style="width: 100%" ref="multipleTableRef" @selection-change="handleSelectionChange" | ||
39 | + :row-key="(row) => { return row.kpiId }" | ||
40 | + > | ||
41 | + <el-table-column type="selection" width="55" :reserve-selection="true" /> | ||
42 | + <el-table-column prop="kpiName" label="指标名称" width="180" /> | ||
43 | + <el-table-column prop="kpiId" label="指标ID" width="180" /> | ||
44 | + <el-table-column prop="kpiCategory" label="指标分类" > | ||
45 | + <template #default="scope">{{ scope.row.kpiCategory==0?'基本指标':'性能指标' }}</template> | ||
46 | + </el-table-column> | ||
47 | + <el-table-column prop="kpiUnit" label="指标单位" width="180" /> | ||
48 | + <el-table-column prop="kpiPower" label="指标权限" width="180" > | ||
49 | + <template #default="scope">{{ scope.row.kpiPower=='hard'?'硬件':scope.row.kpiPower=='soft'?'系统':'公共' }}</template> | ||
50 | + </el-table-column> | ||
51 | + <el-table-column prop="policyNum" label="告警策略" width="180" > | ||
52 | + <template #default="scope">{{ scope.row.policyNum>0?'':'暂无' }}</template> | ||
53 | + </el-table-column> | ||
54 | + </el-table> | ||
55 | + <!-- 分页 --> | ||
56 | + <div style='text-align: left;background-color: white'> | ||
57 | + <el-pagination | ||
58 | + v-if="currentPage" | ||
59 | + @size-change="handleSizeChange" | ||
60 | + @prev-click="prePage" | ||
61 | + @next-click="nextPage" | ||
62 | + @current-change="handleCurrentChange" | ||
63 | + :current-page="currentPage" | ||
64 | + :page-sizes="pageSizes" | ||
65 | + :page-size="pageSize" | ||
66 | + :total="total"> | ||
67 | + </el-pagination> | ||
68 | + </div> | ||
69 | + <span slot="footer" class="dialog-footer"> | ||
70 | + <el-button size="mini" @click="dialogVisible = false">取 消</el-button> | ||
71 | + <el-button size="mini" type="primary" @click="handleSaveClick" | ||
72 | + >确 定</el-button | ||
73 | + > | ||
74 | + </span> | ||
75 | + </el-dialog> | ||
76 | + </div> | ||
77 | +</template> | ||
78 | +<script> | ||
79 | +import {getKpiPage} from "@/api/platform"; | ||
80 | +import {formatDate} from "../../../../../filter"; | ||
81 | +export default { | ||
82 | + model: { | ||
83 | + prop: "formData", | ||
84 | + event: "input" | ||
85 | + }, | ||
86 | + props: { | ||
87 | + formData: Array | ||
88 | + }, | ||
89 | + data() { | ||
90 | + return { | ||
91 | + keyword:'', | ||
92 | + currentPage:1, | ||
93 | + pageSize:10, | ||
94 | + pageSizes:[10,50,100, 200, 300, 400], | ||
95 | + total:0, | ||
96 | + layout:false, | ||
97 | + dialogVisible: false, | ||
98 | + rowFormData: { | ||
99 | + name: "", | ||
100 | + key: "", | ||
101 | + width: "" | ||
102 | + }, | ||
103 | + flag: true, // true 新增, false 编辑 | ||
104 | + indexEditor: -1, // 编辑第几个数据 | ||
105 | + tableData: [], | ||
106 | + multipleSelection:[] | ||
107 | + }; | ||
108 | + }, | ||
109 | + methods: { | ||
110 | + //搜索指标 | ||
111 | + searchKpi(){ | ||
112 | + this.getKpi(); | ||
113 | + }, | ||
114 | + //获取性能指标列表 | ||
115 | + getKpi(){ | ||
116 | + let datas=getKpiPage(); | ||
117 | + if(datas.success){ | ||
118 | + this.tableData=datas.data; | ||
119 | + | ||
120 | + } | ||
121 | + }, | ||
122 | + //回显数据 | ||
123 | + setCheckedData(){ | ||
124 | + if(this.multipleSelection && this.multipleSelection.length>0){ | ||
125 | + this.tableData.map(item=>{ | ||
126 | + this.multipleSelection.map(v=>{ | ||
127 | + if(item.kpiId==v.kpiId){ | ||
128 | + setTimeout(()=>{ | ||
129 | + this.$refs.multipleTableRef.toggleRowSelection(item) | ||
130 | + },300) | ||
131 | + } | ||
132 | + }) | ||
133 | + }) | ||
134 | + } | ||
135 | + }, | ||
136 | + //多选操作 | ||
137 | + handleSelectionChange(val) { | ||
138 | + this.multipleSelection = val | ||
139 | + }, | ||
140 | + // 每页展示多少条 | ||
141 | + handleSizeChange(val){ | ||
142 | + // 切换页码重置初始页 | ||
143 | + this.currentPage = 1 | ||
144 | + // console.log(`每页 ${val} 条`) | ||
145 | + //props.pageSize = val; | ||
146 | + this.pageSize = val; | ||
147 | + this.getKpi(); | ||
148 | + }, | ||
149 | + | ||
150 | + // 切换页码 | ||
151 | + handleCurrentChange(val){ | ||
152 | + // console.log(`当前页: ${val}`) | ||
153 | + //props.currentPage = val; | ||
154 | + this.currentPage = val; | ||
155 | + this.getKpi(); | ||
156 | + }, | ||
157 | + // 切换页码 | ||
158 | + prePage(val) { | ||
159 | + // console.log(`当前页: ${val}`) | ||
160 | + // props.currentPage = val - 1; | ||
161 | + this.currentPage = val-1; | ||
162 | + this.getKpi(); | ||
163 | + }, | ||
164 | + | ||
165 | + // 切换页码 | ||
166 | + nextPage(val){ | ||
167 | + // console.log(`当前页: ${val}`) | ||
168 | + // props.currentPage = val + 1; | ||
169 | + this.currentPage = val+1; | ||
170 | + this.getKpi(); | ||
171 | + }, | ||
172 | + // 配置性能指标 | ||
173 | + handleAddClick() { | ||
174 | + this.rowFormData = {}; | ||
175 | + this.flag = true; | ||
176 | + this.dialogVisible = true; | ||
177 | + this.getKpi(); | ||
178 | + | ||
179 | + }, | ||
180 | + // 编辑 | ||
181 | + handleEditorClick(index, row) { | ||
182 | + this.flag = false; | ||
183 | + this.rowFormData = this.deepClone(row); | ||
184 | + this.indexEditor = index; | ||
185 | + this.dialogVisible = true; | ||
186 | + }, | ||
187 | + // 关闭 | ||
188 | + handleClose() { | ||
189 | + this.dialogVisible = false; | ||
190 | + }, | ||
191 | + // 保存 | ||
192 | + handleSaveClick() { | ||
193 | + if (this.flag) { | ||
194 | + // 新增 | ||
195 | + // this.formData.push(this.rowFormData); | ||
196 | + let arr=[] | ||
197 | + this.multipleSelection.map(item=>{ | ||
198 | + arr.push({name:item.kpiName,key:item.kpiId,width:'50%'}) | ||
199 | + }) | ||
200 | + this.formData=arr; | ||
201 | + console.log("formadata",this.formData) | ||
202 | + this.dialogVisible = false; | ||
203 | + } else { | ||
204 | + // 编辑 | ||
205 | + this.formData[this.indexEditor] = this.rowFormData; | ||
206 | + this.$set(this.formData, this.indexEditor, this.rowFormData); | ||
207 | + this.dialogVisible = false; | ||
208 | + } | ||
209 | + this.$emit("input", this.formData); | ||
210 | + this.$emit("change", this.formData); | ||
211 | + }, | ||
212 | + // 删除 | ||
213 | + handleDeleteClick(index,row) { | ||
214 | + this.formData.splice(index, 1); | ||
215 | + this.setTableChecked(row.key); | ||
216 | + this.$emit("input", this.formData); | ||
217 | + this.$emit("change", this.formData); | ||
218 | + }, | ||
219 | + //设置表格选中状态 | ||
220 | + setTableChecked(kpiId){ | ||
221 | + let indexId=''; | ||
222 | + this.multipleSelection.map((item,index)=>{ | ||
223 | + if(kpiId==item.kpiId){ | ||
224 | + indexId=index; | ||
225 | + } | ||
226 | + }) | ||
227 | + this.multipleSelection.splice(indexId, 1); | ||
228 | + console.log("*/*/*",this.multipleSelection) | ||
229 | + this.tableData.map(item=>{ | ||
230 | + if(item.kpiId==kpiId){ | ||
231 | + setTimeout(()=>{ | ||
232 | + this.$refs.multipleTableRef.toggleRowSelection(item) | ||
233 | + },300) | ||
234 | + } | ||
235 | + }) | ||
236 | + } | ||
237 | + } | ||
238 | +}; | ||
239 | +</script> | ||
240 | +<style lang="scss" scoped> | ||
241 | +/deep/::-webkit-scrollbar-track-piece { | ||
242 | + background-color: transparent; | ||
243 | +} | ||
244 | +/deep/ .el-table__body-wrapper::-webkit-scrollbar { | ||
245 | + width: 0; // 横向滚动条 | ||
246 | + height: 8px; // 纵向滚动条 必写 | ||
247 | +} | ||
248 | +// 滚动条的滑块 | ||
249 | +/deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb { | ||
250 | + border-radius: 5px; | ||
251 | + background-color: rgba(144, 146, 152, 0.3); | ||
252 | +} | ||
253 | +/deep/.el-table, | ||
254 | +/deep/.el-table__expanded-cell, | ||
255 | +/deep/.el-table th, | ||
256 | +/deep/.el-table tr { | ||
257 | + background-color: transparent !important; | ||
258 | + color: #859094 !important; | ||
259 | + font-size: 12px !important; | ||
260 | +} | ||
261 | +/deep/.el-table td, | ||
262 | +/deep/.el-table th.is-leaf { | ||
263 | + border-bottom: none; | ||
264 | + line-height: 26px; | ||
265 | +} | ||
266 | +/deep/.el-table tbody tr:hover { | ||
267 | + background-color: #263445 !important; | ||
268 | +} | ||
269 | +/deep/.el-table tbody tr:hover > td { | ||
270 | + background-color: #263445 !important; | ||
271 | +} | ||
272 | +/deep/.el-table::before { | ||
273 | + height: 0; | ||
274 | +} | ||
275 | +.button-group .el-button { | ||
276 | + padding: 0; | ||
277 | +} | ||
278 | +.table-search{ | ||
279 | + display: flex; | ||
280 | + align-items: center; | ||
281 | + .search-btn{ | ||
282 | + margin-left: 10px; | ||
283 | + | ||
284 | + } | ||
285 | +} | ||
286 | +</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", |
@@ -273,17 +273,18 @@ export const monitorDetailTable = { | @@ -273,17 +273,18 @@ export const monitorDetailTable = { | ||
273 | }, | 273 | }, |
274 | ], | 274 | ], |
275 | { | 275 | { |
276 | - type: 'dynamic-add-table', | 276 | + type: 'dynamic-detail-table', |
277 | label: '', | 277 | label: '', |
278 | name: 'dynamicAddTable', | 278 | name: 'dynamicAddTable', |
279 | required: false, | 279 | required: false, |
280 | + chartType:'detail-table', | ||
280 | placeholder: '', | 281 | placeholder: '', |
281 | value: [ | 282 | 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}, | 283 | + {name: '文件系统挂载', key: 'KPI7AC1664E', width: '50%',isStatic:true}, |
284 | + {name: '文件系统使用率', key: 'KPI449F5365', width: '50%',isStatic:true}, | ||
285 | + {name: '文件系统总大小', key: 'KPIA91F44E7', width: '50%',isStatic:true}, | ||
286 | + {name: '文件系统已使用大小', key: 'KPI98306224', width: '50%',isStatic:true}, | ||
287 | + {name: '卷名称', key: 'KPI77C28BBA', width: '50%',isStatic:true}, | ||
287 | ] | 288 | ] |
288 | } | 289 | } |
289 | ], | 290 | ], |
@@ -324,11 +325,102 @@ export const monitorDetailTable = { | @@ -324,11 +325,102 @@ export const monitorDetailTable = { | ||
324 | relactiveDom: 'dataType', | 325 | relactiveDom: 'dataType', |
325 | relactiveDomValue: 'staticData', | 326 | relactiveDomValue: 'staticData', |
326 | value: [ | 327 | 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'}, | 328 | + { |
329 | + header: [ | ||
330 | + { | ||
331 | + id: "KPI7AC1664E", | ||
332 | + name: "文件系统挂载", | ||
333 | + unit: "" | ||
334 | + }, { | ||
335 | + id: "KPI449F5365", | ||
336 | + name: "文件系统使用率", | ||
337 | + unit: "%" | ||
338 | + }, { | ||
339 | + id: "KPIA91F44E7", | ||
340 | + name: "文件系统总大小", | ||
341 | + unit: "" | ||
342 | + }, { | ||
343 | + id: "KPI98306224", | ||
344 | + name: "文件系统已使用大小", | ||
345 | + unit: "" | ||
346 | + },{ | ||
347 | + id: "KPI77C28BBA", | ||
348 | + name: "卷名称", | ||
349 | + unit: "" | ||
350 | + }, { | ||
351 | + id: "KPIF74D9D2B", | ||
352 | + name: "最近采集时间", | ||
353 | + unit: "" | ||
354 | + } | ||
355 | + ], | ||
356 | + content:[ | ||
357 | + [ | ||
358 | + { | ||
359 | + kpiId: "KPI7AC1664E", | ||
360 | + kpiName: "文件系统挂载", | ||
361 | + flag: "inode-", | ||
362 | + kpiValue: "/ ", | ||
363 | + kpiUnit: "none", | ||
364 | + kpiIdent: "0", | ||
365 | + isWarning: 0, | ||
366 | + isTrend: 0, | ||
367 | + kpiLevel: 0, | ||
368 | + }, | ||
369 | + { | ||
370 | + kpiId: "KPI449F5365", | ||
371 | + kpiName: "文件系统使用率", | ||
372 | + flag: "inode-", | ||
373 | + kpiValue: "3%", | ||
374 | + kpiUnit: "percent", | ||
375 | + kpiIdent: "1", | ||
376 | + isWarning: 0, | ||
377 | + isTrend: 0, | ||
378 | + kpiLevel: 0, | ||
379 | + }, | ||
380 | + { | ||
381 | + kpiId: "KPIA91F44E7", | ||
382 | + kpiName: "文件系统总大小", | ||
383 | + flag: "inode-", | ||
384 | + kpiValue: "6553600 ", | ||
385 | + kpiUnit: "none", | ||
386 | + kpiIdent: "1", | ||
387 | + isWarning: 0, | ||
388 | + isTrend: 0, | ||
389 | + kpiLevel: 0, | ||
390 | + }, { | ||
391 | + kpiId: "KPI98306224", | ||
392 | + kpiName: "文件系统已使用大小", | ||
393 | + flag: "inode-", | ||
394 | + kpiValue: "81699 ", | ||
395 | + kpiUnit: "none", | ||
396 | + kpiIdent: "1", | ||
397 | + isWarning: 0, | ||
398 | + isTrend: 0, | ||
399 | + kpiLevel: 0, | ||
400 | + }, { | ||
401 | + kpiId: "KPI77C28BBA", | ||
402 | + kpiName: "卷名称", | ||
403 | + flag: "inode-", | ||
404 | + kpiValue: "/dev/vda1 ", | ||
405 | + kpiUnit: "none", | ||
406 | + kpiIdent: "0", | ||
407 | + isWarning: 0, | ||
408 | + isTrend: 0, | ||
409 | + kpiLevel: 0, | ||
410 | + }, { | ||
411 | + kpiId: "KPIF74D9D2B", | ||
412 | + kpiName: "最近采集时间", | ||
413 | + flag: "inode-", | ||
414 | + kpiValue: "2022-01-17 08:51:18 ", | ||
415 | + kpiUnit: "", | ||
416 | + kpiIdent: "0", | ||
417 | + isWarning: 0, | ||
418 | + isTrend: 0, | ||
419 | + kpiLevel: 0, | ||
420 | + } | ||
421 | + ], | ||
422 | + ] | ||
423 | + } | ||
332 | 424 | ||
333 | ], | 425 | ], |
334 | }, | 426 | }, |
@@ -28,9 +28,9 @@ | @@ -28,9 +28,9 @@ | ||
28 | :style="[bodyTableStyle, bodyTable(index),tableFiledWidth(idx),tableRowHeight()]" | 28 | :style="[bodyTableStyle, bodyTable(index),tableFiledWidth(idx),tableRowHeight()]" |
29 | > | 29 | > |
30 | <span @click="clickListName(item[itemChild.key])" :style="colorStyle(item[itemChild.key].kpiValue)" | 30 | <span @click="clickListName(item[itemChild.key])" :style="colorStyle(item[itemChild.key].kpiValue)" |
31 | - :class="['listName',{'listName-link':item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1}]"> | 31 | + :class="['listName',{'listName-link':item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)}]"> |
32 | {{ item[itemChild.key].kpiValue}} </span> | 32 | {{ item[itemChild.key].kpiValue}} </span> |
33 | - <div class="basic-img" v-if="item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1"> | 33 | + <div class="basic-img" v-if="item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)"> |
34 | <el-popover ref="popoverMenu" placement="right" trigger="click" :auto-close="200"> | 34 | <el-popover ref="popoverMenu" placement="right" trigger="click" :auto-close="200"> |
35 | <template #reference> | 35 | <template #reference> |
36 | <img class="info-img" src="@/assets/images/healthStatus/icon_row_menu.png" alt="" @click.stop="pressingTimes(index,idx)"> | 36 | <img class="info-img" src="@/assets/images/healthStatus/icon_row_menu.png" alt="" @click.stop="pressingTimes(index,idx)"> |
@@ -84,9 +84,10 @@ | @@ -84,9 +84,10 @@ | ||
84 | :key="idx" | 84 | :key="idx" |
85 | :style="[bodyTableStyle, bodyTable(index),tableFiledWidth(idx),tableRowHeight()]" | 85 | :style="[bodyTableStyle, bodyTable(index),tableFiledWidth(idx),tableRowHeight()]" |
86 | > | 86 | > |
87 | - <span @click="clickListName(item[itemChild.key])" :style="colorStyle(item[itemChild.key].kpiValue)" :class="['listName',{'listName-link':item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1}]"> | ||
88 | - {{ item[itemChild.key].kpiValue }}</span> | ||
89 | - <div class="basic-img" v-if="item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1"> | 87 | + <span @click="clickListName(item[itemChild.key])" :style="colorStyle(item[itemChild.key].kpiValue)" |
88 | + :class="['listName',{'listName-link':item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)}]"> | ||
89 | + {{ item[itemChild.key]?item[itemChild.key].kpiValue:'' }}</span> | ||
90 | + <div class="basic-img" v-if="item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)"> | ||
90 | <el-popover ref="popoverMenu" placement="right" trigger="click" :auto-close="200"> | 91 | <el-popover ref="popoverMenu" placement="right" trigger="click" :auto-close="200"> |
91 | <template #reference> | 92 | <template #reference> |
92 | <img class="info-img" src="@/assets/images/healthStatus/icon_row_menu.png" alt="" @click.stop="pressingTimes(index,idx)"> | 93 | <img class="info-img" src="@/assets/images/healthStatus/icon_row_menu.png" alt="" @click.stop="pressingTimes(index,idx)"> |
@@ -136,7 +137,6 @@ | @@ -136,7 +137,6 @@ | ||
136 | > | 137 | > |
137 | </div> | 138 | </div> |
138 | </div> | 139 | </div> |
139 | - | ||
140 | </div> | 140 | </div> |
141 | 141 | ||
142 | <!-- <template #footer> | 142 | <!-- <template #footer> |
@@ -300,7 +300,7 @@ export default { | @@ -300,7 +300,7 @@ export default { | ||
300 | this.handlerHead(); | 300 | this.handlerHead(); |
301 | this.handlerData(); | 301 | this.handlerData(); |
302 | this.visConfig(); | 302 | this.visConfig(); |
303 | - this.handlerDetailData(); | 303 | + // this.handlerDetailData(); |
304 | window.addEventListener("scroll", this.handleScroll, true); //监听滚动事件 | 304 | window.addEventListener("scroll", this.handleScroll, true); //监听滚动事件 |
305 | }, | 305 | }, |
306 | visConfig(){ | 306 | visConfig(){ |
@@ -325,7 +325,6 @@ export default { | @@ -325,7 +325,6 @@ export default { | ||
325 | let ybNum=rollSet.ybNum?rollSet.ybNum:80; | 325 | let ybNum=rollSet.ybNum?rollSet.ybNum:80; |
326 | let zyNum=rollSet.zyNum?rollSet.zyNum:85; | 326 | let zyNum=rollSet.zyNum?rollSet.zyNum:85; |
327 | let yzNum=rollSet.yzNum?rollSet.yzNum:95; | 327 | let yzNum=rollSet.yzNum?rollSet.yzNum:95; |
328 | - console.log("color",ybNum,rollSet.zcColor) | ||
329 | if(val){ | 328 | if(val){ |
330 | let value=val.split("%") | 329 | let value=val.split("%") |
331 | if(value && value.length>1){ | 330 | if(value && value.length>1){ |
@@ -364,22 +363,34 @@ export default { | @@ -364,22 +363,34 @@ export default { | ||
364 | this.selectNum = 1; | 363 | this.selectNum = 1; |
365 | 364 | ||
366 | } | 365 | } |
367 | - let scroll=window.pageYOffset; | 366 | + // let scroll=window.pageYOffset; |
367 | + let scroll=document.documentElement.scrollTop; | ||
368 | let documentHeight=document.documentElement.clientHeight; | 368 | let documentHeight=document.documentElement.clientHeight; |
369 | - console.log("123",documentHeight,scroll) | ||
370 | - this.heightStyle="height:"+(documentHeight+scroll)+'px;'; | ||
371 | - this.marginStyle+="margin-top:"+(scroll+30)+'px;'; | 369 | + // let documentHeight=document.body.scrollHeight; |
370 | + if (self != top) { | ||
371 | + //嵌入到监控系统iframe中弹框位置样式 | ||
372 | + this.heightStyle="height:"+(documentHeight+210)+'px;top:'+scroll+'px'; | ||
373 | + if(scroll<600){ | ||
374 | + this.marginStyle+="margin-top:"+(110)+'px;'; | ||
375 | + | ||
376 | + }else{ | ||
377 | + this.marginStyle+="margin-top:"+(210)+'px;'; | ||
372 | 378 | ||
379 | + } | ||
380 | + }else{ | ||
381 | + //ajreport中弹框位置样式 | ||
382 | + this.heightStyle="height:"+(documentHeight+scroll)+'px;'; | ||
383 | + this.marginStyle+="margin-top:"+(scroll+100)+'px;'; | ||
384 | + } | ||
373 | }, | 385 | }, |
374 | 386 | ||
375 | handleHeadContent(headTable,flg){ | 387 | handleHeadContent(headTable,flg){ |
376 | - let data = headTable.data[0]; | 388 | + let data = headTable; |
377 | let head = data.header; | 389 | let head = data.header; |
378 | let content = data.content; | 390 | let content = data.content; |
379 | let colArr = []; | 391 | let colArr = []; |
380 | let fisttd = ""; | 392 | let fisttd = ""; |
381 | let datas=[]; | 393 | let datas=[]; |
382 | - | ||
383 | head.map((v) => { | 394 | head.map((v) => { |
384 | fisttd = v.id; | 395 | fisttd = v.id; |
385 | let columnObj = { | 396 | let columnObj = { |
@@ -394,13 +405,17 @@ export default { | @@ -394,13 +405,17 @@ export default { | ||
394 | if (ccv.kpiValue || ccv.kpiValue === 0) { | 405 | if (ccv.kpiValue || ccv.kpiValue === 0) { |
395 | kpi[ccv.kpiId] = ccv; | 406 | kpi[ccv.kpiId] = ccv; |
396 | } else { | 407 | } else { |
397 | - kpi[ccv.kpiId] = {}; | 408 | + kpi[ccv.kpiId] = { |
409 | + kpiValue: "", | ||
410 | + kpiUnit: "", | ||
411 | + kpiIdent: "0", | ||
412 | + isWarning: 0, | ||
413 | + }; | ||
398 | } | 414 | } |
399 | 415 | ||
400 | }) | 416 | }) |
401 | datas.push(kpi); | 417 | datas.push(kpi); |
402 | }) | 418 | }) |
403 | - console.log("col",colArr) | ||
404 | if(flg=='all'){ | 419 | if(flg=='all'){ |
405 | this.headerAll=colArr; | 420 | this.headerAll=colArr; |
406 | this.listAll=datas; | 421 | this.listAll=datas; |
@@ -408,25 +423,45 @@ export default { | @@ -408,25 +423,45 @@ export default { | ||
408 | this.list=datas; | 423 | this.list=datas; |
409 | this.header=colArr; | 424 | this.header=colArr; |
410 | } | 425 | } |
411 | - console.log("datas",datas) | ||
412 | - | ||
413 | }, | 426 | }, |
414 | - handlerDetailData(){ | ||
415 | - let headTable = getDetailTableData(); | 427 | + handlerDetailData(valData){ |
428 | + let kpiArr=[] | ||
429 | + let kpiIdStr=''; | ||
430 | + if(this.header && this.header.length>0){ | ||
431 | + this.header.map(item=>{ | ||
432 | + if(item.isStatic){ | ||
433 | + | ||
434 | + }else{ | ||
435 | + kpiArr.push(item.key) | ||
436 | + } | ||
437 | + }) | ||
438 | + } | ||
439 | + if(kpiArr && kpiArr.length>0){ | ||
440 | + kpiIdStr=kpiArr.join(','); | ||
441 | + } | ||
442 | + let param={ | ||
443 | + kpiId:kpiIdStr | ||
444 | + } | ||
445 | + let headTable = valData; | ||
446 | + if(kpiIdStr){ | ||
447 | + //根据kpiId集合获取表格数据 | ||
448 | + let tableData=getDetailTableData(param); | ||
449 | + headTable=tableData.data[0]; | ||
450 | + } | ||
451 | + | ||
416 | this.handleHeadContent(headTable) | 452 | this.handleHeadContent(headTable) |
417 | 453 | ||
418 | }, | 454 | }, |
419 | //打开更多表格 | 455 | //打开更多表格 |
420 | handlerDetailDataNoPage(){ | 456 | handlerDetailDataNoPage(){ |
421 | let headTable =getDetailTableDataNoPage(); | 457 | let headTable =getDetailTableDataNoPage(); |
422 | - this.handleHeadContent(headTable,'all'); | 458 | + this.handleHeadContent(headTable.data[0],'all'); |
423 | this.widthStyle=''; | 459 | this.widthStyle=''; |
424 | // this.setDialog('table'); | 460 | // this.setDialog('table'); |
425 | this.tableVisible=true; | 461 | this.tableVisible=true; |
426 | }, | 462 | }, |
427 | //打开弹框 | 463 | //打开弹框 |
428 | setDialog(name,flg){ | 464 | setDialog(name,flg){ |
429 | - console.log("123",name,flg) | ||
430 | /* if(flg=='dialog'){ | 465 | /* if(flg=='dialog'){ |
431 | this.tableVisible=true; | 466 | this.tableVisible=true; |
432 | 467 | ||
@@ -440,7 +475,6 @@ export default { | @@ -440,7 +475,6 @@ export default { | ||
440 | }, | 475 | }, |
441 | //点击表格内容名称事件 | 476 | //点击表格内容名称事件 |
442 | clickListName(obj){ | 477 | clickListName(obj){ |
443 | - console.log("obj",obj) | ||
444 | let trendsParams=obj; | 478 | let trendsParams=obj; |
445 | // this.trendSrc='http://127.0.0.1:8088/vue3/index.html#/vue3/pieDetailLine?resId=08586dba3a5b4a01ad88e8878eed6d53&kpiId=KPI7054BC34&flag=cpu&ident=1&trend=1&name=CPU%E4%BD%BF%E7%94%A8%E7%8E%87x&access_token=6e14ca48-4d05-42cf-b232-97981035824f' | 479 | // this.trendSrc='http://127.0.0.1:8088/vue3/index.html#/vue3/pieDetailLine?resId=08586dba3a5b4a01ad88e8878eed6d53&kpiId=KPI7054BC34&flag=cpu&ident=1&trend=1&name=CPU%E4%BD%BF%E7%94%A8%E7%8E%87x&access_token=6e14ca48-4d05-42cf-b232-97981035824f' |
446 | this.trendSrc='https://192.168.0.69:8088/#/user/login/redirect=%2F'; | 480 | this.trendSrc='https://192.168.0.69:8088/#/user/login/redirect=%2F'; |
@@ -451,6 +485,7 @@ export default { | @@ -451,6 +485,7 @@ export default { | ||
451 | handlerHead() { | 485 | handlerHead() { |
452 | const head = this.optionsSetUp.dynamicAddTable; | 486 | const head = this.optionsSetUp.dynamicAddTable; |
453 | this.header = head; | 487 | this.header = head; |
488 | + // this.headerAll=head; | ||
454 | }, | 489 | }, |
455 | handlerData() { | 490 | handlerData() { |
456 | const tableData = this.optionsData; | 491 | const tableData = this.optionsData; |
@@ -458,8 +493,12 @@ export default { | @@ -458,8 +493,12 @@ export default { | ||
458 | ? this.handlerStaticData(tableData.staticData) | 493 | ? this.handlerStaticData(tableData.staticData) |
459 | : this.handlerDynamicData(tableData.dynamicData, tableData.refreshTime); | 494 | : this.handlerDynamicData(tableData.dynamicData, tableData.refreshTime); |
460 | }, | 495 | }, |
461 | - handlerStaticData(data) { | ||
462 | - this.list = data; | 496 | + handlerStaticData(headTable) { |
497 | + | ||
498 | + this.handlerDetailData(headTable[0]); | ||
499 | + | ||
500 | + // this.handleHeadContent(headTable[0]) | ||
501 | + // this.list = data; | ||
463 | }, | 502 | }, |
464 | handlerDynamicData(data, refreshTime) { | 503 | handlerDynamicData(data, refreshTime) { |
465 | if (!data) return; | 504 | if (!data) return; |
-
Please register or login to post a comment