Browse Source

桥梁监测事件接入

develop
lau572 2 weeks ago
parent
commit
5a65ff4a1d
  1. 2
      ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue
  2. 8
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js
  3. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/statistics/data.js
  4. 4
      ruoyi-ui/src/views/JiHeExpressway/utils/enum.js
  5. 4
      ruoyi-ui/src/views/JiHeExpressway/utils/enum_event/PresetFormItems.js

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

@ -126,6 +126,8 @@ export default {
return require(`@screen/images/device/气象监测器B.png`) return require(`@screen/images/device/气象监测器B.png`)
} else if(warningSource ===8){ } else if(warningSource ===8){
return require(`@screen/images/device/边坡.png`) return require(`@screen/images/device/边坡.png`)
} else if(warningSource ===9){
return require(`@screen/images/layer/路网设施/桥梁.svg`)
} else { } else {
return require(`@screen/images/device/view.png`) return require(`@screen/images/device/view.png`)
} }

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

@ -97,6 +97,10 @@ export const gjSearchFormList = [
key: "8", key: "8",
label: "边坡监测", label: "边坡监测",
}, },
{
key: "9",
label: "桥梁监测",
},
], ],
}, },
}, },
@ -276,6 +280,10 @@ export const gzSearchFormList = [
key: "14", key: "14",
label: "边坡监测", label: "边坡监测",
}, },
{
key: "15",
label: "桥梁监测",
},
], ],
}, },
}, },

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

@ -143,6 +143,10 @@ export const searchFormList = [
key: "8", key: "8",
label: "边坡监测", label: "边坡监测",
}, },
{
key: "9",
label: "桥梁监测",
},
], ],
}, },
}, },

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

@ -908,6 +908,9 @@ export const InfoWarningSource = {
8: { 8: {
text: "边坡监测", text: "边坡监测",
}, },
9: {
text: "桥梁监测",
},
}; };
export const warningSourceMapping = { export const warningSourceMapping = {
@ -919,6 +922,7 @@ export const warningSourceMapping = {
6: "非机预警", 6: "非机预警",
7: '气象检测器', 7: '气象检测器',
8: '边坡监测', 8: '边坡监测',
9: '桥梁监测',
}; };
export const warningStateMapping = { export const warningStateMapping = {

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

@ -88,6 +88,10 @@ export const source = {
key: 14, key: 14,
label: "边坡监测", label: "边坡监测",
}, },
{
key: 15,
label: "桥梁监测",
},
], ],
}, },
}; };

Loading…
Cancel
Save