diff --git a/ruoyi-ui/src/api/MonthlyEquipment/index.js b/ruoyi-ui/src/api/MonthlyEquipment/index.js index f1a14095..e7c06df5 100644 --- a/ruoyi-ui/src/api/MonthlyEquipment/index.js +++ b/ruoyi-ui/src/api/MonthlyEquipment/index.js @@ -55,10 +55,17 @@ export function getSystemStatusExport(query) { } // 拖拽排序 - export function getStatusRule(rule) { return request({ url: "/system/status/rule?rule=" + rule, method: "get", }); } + +// 拖拽排序 +export function getStatusSection() { + return request({ + url: "/system/status/section", + method: "get", + }); +} diff --git a/ruoyi-ui/src/api/perception/meteorologyCheck.js b/ruoyi-ui/src/api/perception/meteorologyCheck.js index 3bc24c6f..59101ae2 100644 --- a/ruoyi-ui/src/api/perception/meteorologyCheck.js +++ b/ruoyi-ui/src/api/perception/meteorologyCheck.js @@ -55,3 +55,11 @@ export function getIdDevices(id) { method: "get", }); } + +// 查询气象预警筛选类别 +export function getListVisibility() { + return request({ + url: "/dc/system/meteorologicalDetector/listVisibility", + method: "get", + }); +} diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/WarningList.vue b/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/WarningList.vue index a34ae34c..4b6bff56 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/WarningList.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/WarningList.vue @@ -6,12 +6,12 @@
- +
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/TemperatureTrend/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/TemperatureTrend/index.vue index f3c1a32b..194beca0 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/TemperatureTrend/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/TemperatureTrend/index.vue @@ -30,10 +30,13 @@ export default { data: { handler(data) { let newData = []; + // let xData = []; data.forEach((item) => { - newData.push(item.avgVisibility); + newData.push(item.avgTemperature); + // xData.push(item.timeSlot); }); temperatureCharts.series[0].data = newData; + // temperatureCharts.xAxis.data = newData; this.myChart.setOption(temperatureCharts); }, deep: true, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/visibilityTrends/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/visibilityTrends/assets/charts.js index 2e6bf6dd..4c35fec9 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/visibilityTrends/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/visibilityTrends/assets/charts.js @@ -5,7 +5,7 @@ var options = { show: true, trigger: "axis", valueFormatter: function (value) { - return value + " M"; + return value + " km"; }, }, grid: { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/visibilityTrends/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/visibilityTrends/index.vue index 15769caa..d264d44a 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/visibilityTrends/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/visibilityTrends/index.vue @@ -26,7 +26,7 @@ export default { handler(data) { let newData = []; data.forEach((item) => { - newData.push(item.avgTemperature); + newData.push(item.avgVisibility); }); visibilityCharts.series[0].data = newData; this.myChart.setOption(visibilityCharts); diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/weaterData/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/weaterData/index.vue index 4a61f985..427e1797 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/weaterData/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/weaterData/index.vue @@ -28,11 +28,17 @@ }}
- 能见度: + 能见度等级: {{ data.visibilityType ? data.visibilityType + "级" : "-" }}
+
+ 能见度: + {{ + data.visibility ? data.visibility + "km" : "-" + }} +
+
+ 下雨类型: + {{ + data.rainfall == 0 + ? "无降" + : data.rainfall == 1 + ? "雨" + : data.rainfall == 2 + ? "雪" + : data.rainfall == 3 + ? "毛毛雨" + : "雨夹雪" + }} +
降雨量: {{ data.rainfall ? data.rainfall + "mm" : "-" }}
+
+ 路面状态: + {{ + data.remoteRoadSurfaceStatus == "00" + ? "干燥" + : data.rainfall == "01" + ? "潮湿" + : data.rainfall == "02" + ? "积水" + : data.rainfall == "03" + ? "结冰" + : data.rainfall == "04" + ? "积雪" + : data.rainfall == "05" + ? "冰水混合物" + : "泥泞" + }} +
路面温度: {{ @@ -63,6 +101,12 @@ data.atmosphericPressure ? data.atmosphericPressure + "Pa" : "-" }}
+
+ 水膜厚度: + {{ + data.waterFilmlceSnowValue ? data.waterFilmlceSnowValue + "mm" : "-" + }} +
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherWarning/components/infowWarningList/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherWarning/components/infowWarningList/index.vue index daa74c2f..407a1058 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherWarning/components/infowWarningList/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherWarning/components/infowWarningList/index.vue @@ -1,116 +1,75 @@ - + - - - \ No newline at end of file diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/index.vue index e2d9baf0..48dc6739 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/topology/index.vue @@ -1,29 +1,39 @@ - diff --git a/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js b/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js index 750f6db8..2e9f6390 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js +++ b/ruoyi-ui/src/views/JiHeExpressway/utils/enum.js @@ -162,11 +162,28 @@ export const InfoWarningSource = { 6: { text: "非机预警", }, - 7: { - text: "气象监测器", - }, + // 7: { + // text: "气象监测器", + // }, }; +export const warningSourceMapping = { + 1: '视频AI', + 2: '雷达识别', + 3: '锥桶', + 4: '护栏碰撞', + 5: '扫码报警', + 6: '非机预警', + // 7: '气象监测器' +} + +export const warningStateMapping = { + 1: '上报', + 2: '已完成', + 3: '已终止', + 4: '自动结束' +} + // 感知事件主类 warningType export const WarningType = { 1: "交通拥堵",