Browse Source

边坡监测事件

develop
lau572 4 weeks ago
parent
commit
1b2a1347dd
  1. 2
      ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue
  2. BIN
      ruoyi-ui/src/views/JiHeExpressway/images/device/边坡.png
  3. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/PresetFormItems.js
  4. 8
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js
  5. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/statistics/data.js
  6. 6
      ruoyi-ui/src/views/JiHeExpressway/utils/enum.js
  7. 4
      ruoyi-ui/src/views/JiHeExpressway/utils/enum_event/PresetFormItems.js

2
ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue

@ -124,6 +124,8 @@ export default {
return require(`@screen/images/device/扫码报警B.png`) return require(`@screen/images/device/扫码报警B.png`)
} else if(warningSource ===7){ } else if(warningSource ===7){
return require(`@screen/images/device/气象监测器B.png`) return require(`@screen/images/device/气象监测器B.png`)
} else if(warningSource ===8){
return require(`@screen/images/device/边坡.png`)
} else { } else {
return require(`@screen/images/device/view.png`) return require(`@screen/images/device/view.png`)
} }

BIN
ruoyi-ui/src/views/JiHeExpressway/images/device/边坡.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

4
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/PresetFormItems.js

@ -319,6 +319,10 @@ export const eventSources = {
key: "13", key: "13",
label: "气象检测器", label: "气象检测器",
}, },
{
key: "14",
label: "边坡监测",
},
], ],
}, },
}; };

8
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js

@ -93,6 +93,10 @@ export const gjSearchFormList = [
key: "7", key: "7",
label: "气象检测器", label: "气象检测器",
}, },
{
key: "8",
label: "边坡监测",
},
], ],
}, },
}, },
@ -268,6 +272,10 @@ export const gzSearchFormList = [
key: "13", key: "13",
label: "气象检测器", label: "气象检测器",
}, },
{
key: "14",
label: "边坡监测",
},
], ],
}, },
}, },

4
ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/statistics/data.js

@ -139,6 +139,10 @@ export const searchFormList = [
key: "7", key: "7",
label: "气象检测器", label: "气象检测器",
}, },
{
key: "8",
label: "边坡监测",
},
], ],
}, },
}, },

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

@ -905,6 +905,9 @@ export const InfoWarningSource = {
7: { 7: {
text: "气象检测器", text: "气象检测器",
}, },
8: {
text: "边坡监测",
},
}; };
export const warningSourceMapping = { export const warningSourceMapping = {
@ -914,7 +917,8 @@ export const warningSourceMapping = {
4: "护栏碰撞", 4: "护栏碰撞",
5: "扫码报警", 5: "扫码报警",
6: "非机预警", 6: "非机预警",
7: '气象检测器' 7: '气象检测器',
8: '边坡监测',
}; };
export const warningStateMapping = { export const warningStateMapping = {

4
ruoyi-ui/src/views/JiHeExpressway/utils/enum_event/PresetFormItems.js

@ -84,6 +84,10 @@ export const source = {
key: 13, key: 13,
label: "气象检测器", label: "气象检测器",
}, },
{
key: 14,
label: "边坡监测",
},
], ],
}, },
}; };

Loading…
Cancel
Save