From 474edded1752d1ada003936622bea8ed53b916f8 Mon Sep 17 00:00:00 2001 From: zhangzhang <1747194829@qq.com> Date: Tue, 7 May 2024 15:35:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E6=B0=94=E9=A2=84=E6=8A=A5api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/router/routerCreater.js | 2 +- .../components/sortFaceForecast/index.vue | 9 +- .../components/weatherForecast/index.vue | 142 ++++++++++++------ .../components/weaterData/index.vue | 4 +- .../components/infoWarning/index.vue | 1 - .../components/infowWarningList/index.vue | 1 - .../components/AddNEditDialog.vue | 2 - .../components/Card.vue | 9 +- 8 files changed, 105 insertions(+), 65 deletions(-) diff --git a/ruoyi-ui/src/router/routerCreater.js b/ruoyi-ui/src/router/routerCreater.js index 132a42d4..b8f03c60 100644 --- a/ruoyi-ui/src/router/routerCreater.js +++ b/ruoyi-ui/src/router/routerCreater.js @@ -44,7 +44,7 @@ function processNode(node) { if (!item.component) { temp.component = compX; } else { - console.log(item.component); + // console.log(item.component); temp.component = (resolve) => require(["@/views/JiHeExpressway/pages/" + item.component], resolve); //views/visualization/pages/${item.component} } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/sortFaceForecast/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/sortFaceForecast/index.vue index 39990f7f..7a7ae814 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/sortFaceForecast/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/sortFaceForecast/index.vue @@ -50,8 +50,8 @@ {{ item.precip || "--" }}mm
- 能见度等级: - {{ item.vis || "--" }}级 + 能见度: + {{ item.vis || "--" }}km
- {{ weaterType }} + {{ cityWeather.text ? cityWeather.text : "-" }}
-
{{ weaterNum }}°
+
+ {{ cityWeather.temp ? cityWeather.temp : "-" }}° +
- {{ weaterMaxMin }} + {{ cityWeather.windDir ? cityWeather.windDir : "-" + }}{{ cityWeather.windScale ? cityWeather.windScale : "-" }}级
-
+
- {{ city }} + + + +
-
+
+
+ 体感温度 +
+
+ {{ cityWeather.feelsLike ? cityWeather.feelsLike : "-" }}℃ +
+
+
+
+ 湿度 +
+
+ {{ cityWeather.humidity ? cityWeather.humidity : "-" }}% +
+
+
- {{ it.text }} + 降雨量
- {{ it.value }} + {{ cityWeather.precip ? cityWeather.precip : "-" }}mm +
+
+
+
+ 能见度 +
+
+ {{ cityWeather.vis ? cityWeather.vis : "-" }}km +
+
+
+
+ 压力 +
+
+ {{ cityWeather.pressure ? cityWeather.pressure : "-" }}hPa
@@ -45,6 +92,10 @@