Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ee6e08f3d |
@@ -10,6 +10,7 @@ export const ALERT_TYPE_OPTIONS = [
|
||||
{ label: '车辆违停', value: 'illegal_parking' },
|
||||
{ label: '车辆拥堵', value: 'vehicle_congestion' },
|
||||
{ label: '非机动车违停', value: 'non_motor_vehicle_parking' },
|
||||
{ label: '垃圾检测', value: 'garbage' },
|
||||
];
|
||||
|
||||
/** 告警状态选项 */
|
||||
|
||||
@@ -69,6 +69,7 @@ function getAlertTypeColor(type?: string) {
|
||||
illegal_parking: 'blue',
|
||||
vehicle_congestion: 'geekblue',
|
||||
non_motor_vehicle_parking: 'green',
|
||||
garbage: 'lime',
|
||||
};
|
||||
return type ? colorMap[type] || 'default' : 'default';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user