[webapp] 通知红标,近期未处理告警展示

This commit is contained in:
tomsun28
2021-12-20 17:10:06 +08:00
parent 64112c0a15
commit b21662cb1b
13 changed files with 91 additions and 155 deletions

View File

@@ -5,7 +5,7 @@ export class Alert {
monitorName!: string;
// 告警级别 0:高-emergency-紧急告警-红色 1:中-critical-严重告警-橙色 2:低-warning-警告告警-黄色
priority: number = 2;
// 告警状态: 0-正常告警(未读) 3-已读已知
// 告警状态: 0-正常告警(待处理) 1-阈值触发但未达到告警次数 2-恢复告警 3-已处理
status!: number;
content!: string;
times!: number;