feat: support filter of alarmType and faultLevel
This commit is contained in:
5
src/enums/alarm-type.ts
Normal file
5
src/enums/alarm-type.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const AlarmType: Record<string, string> = {
|
||||
1: '设备告警',
|
||||
2: '环境告警',
|
||||
3: '性能告警',
|
||||
};
|
||||
6
src/enums/fault-level.ts
Normal file
6
src/enums/fault-level.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export const FaultLevel: Record<string, string> = {
|
||||
1: '严重',
|
||||
2: '重要',
|
||||
3: '一般',
|
||||
4: '提示',
|
||||
};
|
||||
Reference in New Issue
Block a user