[alert,webapp] 告警中心条件查询与搜索支持,支持批量已读未读

This commit is contained in:
tomsun28
2021-12-19 21:49:19 +08:00
parent 9b2638c233
commit d7a7c11ed9
11 changed files with 238 additions and 13 deletions

View File

@@ -3,7 +3,9 @@ export class Alert {
target!: string;
monitorId!: number;
monitorName!: string;
// 告警级别 0:高-emergency-紧急告警-红色 1:中-critical-严重告警-橙色 2:低-warning-警告告警-黄色
priority: number = 2;
// 告警状态: 0-正常告警(未读) 3-已读已知
status!: number;
content!: string;
times!: number;