NEZ-1740 fix:告警列 最近告警柱形图 根据 告警数量显示不同高度

This commit is contained in:
zhangyu
2022-03-28 10:42:31 +08:00
parent 252f03f59f
commit 5c4b263809
15 changed files with 19 additions and 18 deletions

View File

@@ -48,7 +48,7 @@
<span style="cursor: pointer" @click="$emit('showBottomBox', 'alertMessageTab', scope.row)">
<i :class="scope.row.alertNum ? 'red' : 'green'" class="nz-icon nz-icon-overview-alert vertical-align-top;" @mouseenter="tooltipHover(scope.row,true, $event)" @mouseleave="tooltipHover(scope.row,false, $event)"></i>
<div v-if="scope.row.alertNumtooltipShow" class="alert-days-info-tooltip" :style="{left: scope.row.left + 'px',top:scope.row.top + 'px'}">
<div class="tooltip-title">Alert message (active)</div>
<div class="tooltip-title">{{$t('project.topology.alert')}}({{$t('asset.pingActive')}})</div>
<div class="severity-info" style='justify-content: space-between'>
<div class="severity-name">{{$t('overall.result.total')}}</div>
<div class="severity-value">{{scope.row.alertNum}}</div>
@@ -253,7 +253,7 @@ export default {
label: this.$t('asset.alertNum'),
prop: 'alertNum',
show: true,
minWidth: 140,
minWidth: 170,
sortable: 'custom'
}, {
label: this.$t('asset.endpointNum2'),