NEZ-972 fix: 支持 配置 snmp trap 告警规则

This commit is contained in:
@changcode
2021-09-06 18:58:35 +08:00
parent f5b746d026
commit 9a4c09de8d
3 changed files with 97 additions and 42 deletions

View File

@@ -49,7 +49,7 @@
<template v-else-if="item.prop === 'type'">
<span v-if="scope.row[item.prop] === 1">{{ $t('project.metrics.metrics') }}</span>
<span v-else-if="scope.row[item.prop] === 2">{{ $t('overall.logs') }}</span>
<span v-else-if="scope.row[item.prop] === 3">SNMP TRAP</span>
<span v-else-if="scope.row[item.prop] === 3">SNMP trap</span>
<span v-else>-</span>
</template>
<template v-else-if="item.prop === 'threshold'">{{formatThreshold(scope.row[item.prop], scope.row.unit)}}</template>