From 718cbdcf67440cf5190213c9f099be3fd6e9a946 Mon Sep 17 00:00:00 2001
From: zhangzhang <1747194829@qq.com>
Date: Mon, 1 Apr 2024 16:32:15 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E6=B0=94=E8=B1=A1=E6=95=B0=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../JiHeExpressway/components/Card1/index.vue | 56 ++--
.../components/ModifyDutyInformationTable.vue | 11 +-
.../event/event/EventDetailDialog/index.vue | 2 +-
.../components/railwayDay/assets/charts.js | 2 +-
.../TemperatureTrend/assets/charts.js | 5 +-
.../components/TemperatureTrend/index.vue | 157 +++++----
.../visibilityTrends/assets/charts.js | 5 +-
.../components/visibilityTrends/index.vue | 152 +++++----
.../components/weaterData/index.vue | 297 +++++++++---------
.../components/weatherInfoQuery/index.vue | 64 +++-
10 files changed, 419 insertions(+), 332 deletions(-)
diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Card1/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Card1/index.vue
index d8b9148d..f218b3fc 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/components/Card1/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/components/Card1/index.vue
@@ -1,32 +1,34 @@
-
- {{ item.label }}:
-
-
+ {{ item.label }}:
+
+
{{ item.name }}
@@ -46,7 +46,7 @@{{ item.name }}
@@ -139,7 +139,7 @@ export default { }, set(bool) { //关闭弹窗组件,清空数据 - if(!bool) { + if (!bool) { this.dayShift = []; this.graveyardShift = []; this.peopleList = []; @@ -184,7 +184,7 @@ export default { this[this.active].push(item); }, removeDutyPerson(item, activeCheck) { - if(activeCheck != this.active) return; + if (activeCheck != this.active) return; const index = this[this.active].findIndex( (_item) => _item.id === item.id @@ -393,7 +393,8 @@ export default { - \ No newline at end of file +} +.charts { + height: 200px; + width: 100%; +} + 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 f44f97da..2e6bf6dd 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 @@ -107,10 +107,7 @@ var options = { showSymbol: false, smooth: true, // 是否曲线 name: "实时数据", // 图例对应类别 - data: [ - 12, 12, 23, 23, 30, 12, 26, 28, 31, 23, 25, 12, 18, 18, 18, 18, 23, 21, - 20, 20, 20, 20, 20, 22, 22, 12, 12, 12, - ], // 纵坐标数据 + data: [], // 纵坐标数据 lineStyle: { color: "#0783FA", }, 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 c7c0cd00..15769caa 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 @@ -1,74 +1,94 @@ -