feat: support filter of alarmType and faultLevel

This commit is contained in:
yangsy
2025-09-10 15:43:40 +08:00
parent 15ee4c2614
commit 27e71fa797
4 changed files with 141 additions and 12 deletions

5
src/enums/alarm-type.ts Normal file
View File

@@ -0,0 +1,5 @@
export const AlarmType: Record<string, string> = {
1: '设备告警',
2: '环境告警',
3: '性能告警',
};

6
src/enums/fault-level.ts Normal file
View File

@@ -0,0 +1,6 @@
export const FaultLevel: Record<string, string> = {
1: '严重',
2: '重要',
3: '一般',
4: '提示',
};