Browse Source

更新 enum 枚举

wangqin
qingzhengli 11 months ago
parent
commit
86b6710ae9
  1. 29
      ruoyi-ui/src/views/JiHeExpressway/utils/enum.js

29
ruoyi-ui/src/views/JiHeExpressway/utils/enum.js

@ -82,6 +82,7 @@ export const CameraControlTypeEnum = {
}, },
}; };
//交通事件类型
export const EventTopics = { export const EventTopics = {
交通事故: 1, 交通事故: 1,
车辆故障: 2, 车辆故障: 2,
@ -134,20 +135,20 @@ export const InfoWarningSource = {
}, },
}; };
// 事件主类 warningType // 感知事件主类 warningType
export const WarningType = { export const WarningType = {
1: '交通拥堵', 1: "交通拥堵",
2: '行人', 2: "行人",
3: '非机动车', 3: "非机动车",
4: '停车', 4: "停车",
5: '违规驾驶', 5: "违规驾驶",
6: '路障', 6: "路障",
7: '道路施工', 7: "道路施工",
8: '异常天气', 8: "异常天气",
9: '护栏碰撞', 9: "护栏碰撞",
10: '交通事故', 10: "交通事故",
11: '车辆故障', 11: "车辆故障",
99: '其他事件', 99: "其他事件",
}; };
export const WarningTypeList = Object.keys(WarningType).map((key) => { export const WarningTypeList = Object.keys(WarningType).map((key) => {
@ -157,7 +158,7 @@ export const WarningTypeList = Object.keys(WarningType).map((key) => {
}; };
}); });
// 事件主类的子类(上方) warningSubclass // 感知事件主类的子类(上方) warningSubclass
export const WarningSubclass = { export const WarningSubclass = {
1: { 1: {
"1-1": "拥堵", "1-1": "拥堵",

Loading…
Cancel
Save