NEZ-1218 fix: alert message 查看按钮 增加判断条件 当 rule_type 未logs时禁用
This commit is contained in:
@@ -453,7 +453,11 @@ export default {
|
||||
}
|
||||
this.$get('/alert/rule/' + row.alertRule.id).then(res => {
|
||||
this.currentMsg = { ...row, alertRule: { ...res.data } }
|
||||
this.graphShow = true
|
||||
if (row.alertRule.type !== 1) {
|
||||
this.graphShow = false
|
||||
} else {
|
||||
this.graphShow = true
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.searchTimeDialog = [bus.computeTimezoneTime(new Date().getTime() - 1 * 60 * 60 * 1000), bus.computeTimezoneTime(new Date().getTime())]
|
||||
this.queryDate()
|
||||
|
||||
Reference in New Issue
Block a user