2026-04-17 17:20:41 +08:00
|
|
|
|
2026-05-15 15:56:00 +08:00
|
|
|
export const orderTypeConfig = {
|
|
|
|
|
1: '巡检',
|
|
|
|
|
2: '检修',
|
|
|
|
|
3: '清洗',
|
|
|
|
|
4: '维修',
|
|
|
|
|
5: '运维'
|
|
|
|
|
};
|
2026-04-17 17:20:41 +08:00
|
|
|
|
2026-05-15 15:56:00 +08:00
|
|
|
export const sourceTypeMap = {
|
|
|
|
|
1: 'AI',
|
|
|
|
|
2: '无人机',
|
|
|
|
|
3: '清洗',
|
|
|
|
|
4: '视频',
|
|
|
|
|
5: '装备',
|
|
|
|
|
6: '人工',
|
|
|
|
|
7: '告警'
|
|
|
|
|
};
|
2026-05-18 09:35:44 +08:00
|
|
|
|
|
|
|
|
export const alarmTypeMap = {
|
2026-07-20 13:56:10 +08:00
|
|
|
'UAV_FAULT': '无人机故障',
|
|
|
|
|
'MOWER_FAULT': '割草机故障',
|
|
|
|
|
'OTHER_DEVICE_FAULT': '其他设备故障',
|
|
|
|
|
'SERVER_FAILURE': '服务器故障',
|
|
|
|
|
'SYSTEM_ERROR': '系统错误'
|
2026-05-18 09:35:44 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const alarmLevelConfig = {
|
|
|
|
|
1: { description: '严重', color: '#FF4D4F' },
|
|
|
|
|
2: { description: '重要', color: '#FA8C16' },
|
|
|
|
|
3: { description: '一般', color: '#FADB14' },
|
|
|
|
|
4: { description: '提示', color: '#1890FF' }
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const handleStatusMap = {
|
|
|
|
|
1: '待处理',
|
2026-07-24 19:35:56 +08:00
|
|
|
2: '已关闭',
|
2026-05-18 09:35:44 +08:00
|
|
|
};
|
|
|
|
|
|