pref:project endpoint 图表优化 & asset 列表,pingStatus调整

1.图表legend 调整为metric{label=value}形式
2.不跳legend 位置调整
3.图表y轴数字格式化
4.asset列表,pingStatus样式调整
This commit is contained in:
wangwenrui
2020-02-07 20:14:00 +08:00
parent f7432df7d3
commit 634f21ad42
2 changed files with 91 additions and 7 deletions

View File

@@ -91,7 +91,7 @@
placement="right"
width="200"
trigger="hover"
:content="scope.row.pingLastUpdate+'['+scope.row.pingRtt+']'">
:content="scope.row.pingLastUpdate+'['+(scope.row.pingRtt ? scope.row.pingRtt:'unreachable')+']'">
<div slot="reference" style="width: 20px">
<div :class="{'active-icon green':scope.row.pingState == 1,'active-icon red':scope.row.pingState == 0}"></div>
</div>