fix:修改告警级别颜色显示不对的问题

This commit is contained in:
zhangyu
2021-06-16 22:08:01 -04:00
parent 630e117573
commit f9279496f5

View File

@@ -59,8 +59,8 @@
<template v-if="scope.row[item.prop]">{{scope.row[item.prop]}}</template>
<span v-else>-</span>
</template>
<span v-else-if="item.prop === 'severityId'&&scope.row[item.prop]" class="severity">
<i class="nz-icon nz-icon-circle" :style="{color:scope.row[item.prop].color,'font-size':'12px','margin-right':'5px'}"></i> {{scope.row['severity'].name}}
<span v-else-if="item.prop === 'severityId'&&scope.row['severity']" class="severity">
<i class="nz-icon nz-icon-circle" :style="{color:scope.row['severity'].color,'font-size':'12px','margin-right':'5px'}"></i> {{scope.row['severity'].name}}
</span>
<span v-else-if="item.prop === 'startAt'">{{utcTimeToTimezoneStr(scope.row.startAt)}}</span>
<template v-else-if="item.prop === 'duration'">