Merge branch 'master' of http://113.200.75.45:82/monitor_v3/hg-monitor-web
Showing
6 changed files
with
7 additions
and
7 deletions
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | <el-tooltip | 6 | <el-tooltip |
7 | placement="top-start"> | 7 | placement="top-start"> |
8 | <template #content> | 8 | <template #content> |
9 | - 展示每个场景的拨测结果,颜色代表拨测结果 <br/> | 9 | + 每个场景的拨测结果,通过颜色区分展示 <br/> |
10 | 红色:拨测结果 < 70%; 橙色:70% <= 拨测结果 < 90% ; 蓝色:90% <= 拨测结果 < 100% ; 绿色:拨测结果 = 100% | 10 | 红色:拨测结果 < 70%; 橙色:70% <= 拨测结果 < 90% ; 蓝色:90% <= 拨测结果 < 100% ; 绿色:拨测结果 = 100% |
11 | </template> | 11 | </template> |
12 | <i class="iconfont icon-tishi" /> | 12 | <i class="iconfont icon-tishi" /> |
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | <el-tooltip | 7 | <el-tooltip |
8 | placement="top-start"> | 8 | placement="top-start"> |
9 | <template #content> | 9 | <template #content> |
10 | - 以图标方式展示每个资源类型的告警结果,颜色代表告警结果 <br/> | 10 | + 每个资源类型的告警结果,通过颜色区分展示 <br/> |
11 | 红色:存在严重告警; 黄色:存在重要告警; 橙色:存在一般告警; 绿色:无告警 | 11 | 红色:存在严重告警; 黄色:存在重要告警; 橙色:存在一般告警; 绿色:无告警 |
12 | </template> | 12 | </template> |
13 | <i class="iconfont icon-tishi" /> | 13 | <i class="iconfont icon-tishi" /> |
@@ -41,7 +41,7 @@ | @@ -41,7 +41,7 @@ | ||
41 | <div style="width: 200px;margin-left: 20px;display: flex;align-self: center;color: red;align-items: center;"> | 41 | <div style="width: 200px;margin-left: 20px;display: flex;align-self: center;color: red;align-items: center;"> |
42 | <img src="../src/style/img/fault/base/alarm.png" style="width:22px;height: 22px;"> | 42 | <img src="../src/style/img/fault/base/alarm.png" style="width:22px;height: 22px;"> |
43 | <span style="margin: 0px 6px 0px 6px;width: 105px;font-size: 16px;"> 告警</span> | 43 | <span style="margin: 0px 6px 0px 6px;width: 105px;font-size: 16px;"> 告警</span> |
44 | - <h style="font-size: 24px" class="text-link" @click="openAlarm()">{{getFaultItemValue(cardList,'abnormal')}}</h> | 44 | + <h style="font-size: 24px" class="text-link" @click="openAlarm()">{{getFaultItemValue(cardList,'alarm')}}</h> |
45 | </div> | 45 | </div> |
46 | </div> | 46 | </div> |
47 | </div> | 47 | </div> |
@@ -129,7 +129,7 @@ export default { | @@ -129,7 +129,7 @@ export default { | ||
129 | } | 129 | } |
130 | //诊断指标 | 130 | //诊断指标 |
131 | const openKpiList = () => { | 131 | const openKpiList = () => { |
132 | - service.sendEventDiagnoseKpiList(props.parentEmit, faultNo,targetType); | 132 | + service.sendEventDiagnoseKpiList(props.parentEmit, faultNo,targetType,resClass); |
133 | } | 133 | } |
134 | 134 | ||
135 | //诊断项(正常、异常) | 135 | //诊断项(正常、异常) |
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | <el-tooltip | 6 | <el-tooltip |
7 | placement="top-start"> | 7 | placement="top-start"> |
8 | <template #content> | 8 | <template #content> |
9 | - 展示每个链路节点数的监控结果,指标值颜色代表结果 <br/> | 9 | + 每个链路节点数的监控结果,通过颜色区分展示 <br/> |
10 | 红色:监控结果 < 70%; 橙色:70% <= 监控结果 < 90% ; 蓝色:90% <= 监控结果 < 100% ; 绿色:监控结果:=100% | 10 | 红色:监控结果 < 70%; 橙色:70% <= 监控结果 < 90% ; 蓝色:90% <= 监控结果 < 100% ; 绿色:监控结果:=100% |
11 | </template> | 11 | </template> |
12 | <i class="iconfont icon-tishi" /> | 12 | <i class="iconfont icon-tishi" /> |
@@ -479,7 +479,7 @@ const faultEvent = () => { | @@ -479,7 +479,7 @@ const faultEvent = () => { | ||
479 | * @param targetType 诊断类型 | 479 | * @param targetType 诊断类型 |
480 | * @param columns 数组,表格列对象 | 480 | * @param columns 数组,表格列对象 |
481 | */ | 481 | */ |
482 | - const sendEventDiagnoseKpiList = (emit, faultNo, targetType) => { | 482 | + const sendEventDiagnoseKpiList = (emit, faultNo, targetType,resClass) => { |
483 | 483 | ||
484 | var obj = { | 484 | var obj = { |
485 | title: '诊断指标', | 485 | title: '诊断指标', |
@@ -507,7 +507,7 @@ const faultEvent = () => { | @@ -507,7 +507,7 @@ const faultEvent = () => { | ||
507 | data: '', | 507 | data: '', |
508 | } | 508 | } |
509 | 509 | ||
510 | - store.dispatch('getFaultKpiList', {faultNo: faultNo, targetType: targetType}).then((res) => { | 510 | + store.dispatch('getFaultKpiList', {faultNo: faultNo, targetType: targetType,resClass:resClass}).then((res) => { |
511 | if (res && res.success) { | 511 | if (res && res.success) { |
512 | obj.data = res.data; | 512 | obj.data = res.data; |
513 | emit('openDialog', 'more', {}, obj); | 513 | emit('openDialog', 'more', {}, obj); |
-
Please register or login to post a comment