From 6bec0b82ce9512981222e923f155358b1dfad392 Mon Sep 17 00:00:00 2001
From: fanluyan <754122931@qq.com>
Date: Tue, 26 Nov 2024 11:17:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BE=AE=E6=B0=94=E8=B1=A1?=
=?UTF-8?q?=E5=9B=BE=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/iceWeather/icing/index.vue | 42 +++++-
src/views/iceWeather/weather/index.vue | 169 ++++++++++++++++++++-----
src/views/otherCommon/index.vue | 6 +-
src/views/waterMark/index.vue | 10 +-
4 files changed, 179 insertions(+), 48 deletions(-)
diff --git a/src/views/iceWeather/icing/index.vue b/src/views/iceWeather/icing/index.vue
index 20e659a..5950e40 100644
--- a/src/views/iceWeather/icing/index.vue
+++ b/src/views/iceWeather/icing/index.vue
@@ -228,7 +228,12 @@
-
+
{{
scope.row.lastLeadPulls.minwindWind.toFixed(2)
}}
-
+
{{
scope.row.lastLeadPulls.minwindTilt.toFixed(2)
}}
-
+
{{
scope.row.lastLeadPulls.minwindPull.toFixed(2)
}}
-
+
{{ scope.row.minwindWind.toFixed(2) }}
-
@@ -427,7 +447,12 @@
>
-
+
{{ scope.row.minwindTilt.toFixed(2) }}
-
@@ -441,7 +466,12 @@
>
-
+
{{ scope.row.minwindPull.toFixed(2) }}
-
diff --git a/src/views/iceWeather/weather/index.vue b/src/views/iceWeather/weather/index.vue
index e91a190..cfdff53 100644
--- a/src/views/iceWeather/weather/index.vue
+++ b/src/views/iceWeather/weather/index.vue
@@ -38,7 +38,12 @@
+ >
{{ scope.row.lastWeathers.humidity.toFixed(1) }} -
@@ -67,17 +72,25 @@
- {{
- scope.row.lastWeathers.precipitation.toFixed(1)
- }}
+ {{ scope.row.lastWeathers.precipitation.toFixed(1) }}
-
- {{
- scope.row.lastWeathers.airPressure.toFixed(1)
- }}
+ {{ scope.row.lastWeathers.airPressure.toFixed(1) }}
-
@@ -85,7 +98,10 @@
{{
scope.row.lastWeathers.radiationIntensity.toFixed(0)
@@ -204,39 +220,85 @@
-
-
+
+
+ {{ scope.row.airTemperature.toFixed(1) }}
+ -
+
+
-
- {{ scope.row.humidity.toFixed(1) }}{{ scope.row.humidity.toFixed(1) }}
-
- {{ scope.row.maxWindSpeed.toFixed(1) }}
+ {{ scope.row.maxWindSpeed.toFixed(1) }}
+ -
-
-
-
+
+
+ {{ scope.row.windDirection.toFixed(1) }}
+ -
+
+
+
+
+ {{ scope.row.precipitation.toFixed(1) }}
+ -
+
+
+
+
+ {{ scope.row.airPressure.toFixed(1) }}
+ -
+
+
-
- {{ scope.row.radiationIntensity.toFixed(0) }}{{ scope.row.radiationIntensity.toFixed(1) }}
-
@@ -248,7 +310,18 @@
+ >
+
+ {{ scope.row.avgWindSpeed1min.toFixed(1) }}
+ -
+
+
- this.$moment(item.updateTime * 1000).format("HH:mm:ss")
+ this.$moment(item.updateTime * 1000).format("YYYY-MM-DD HH:mm:ss")
);
yData = wd.map((item) => item.airTemperature);
let option = {
@@ -580,7 +653,7 @@ export default {
grid: {
//left: "6%", //图表距离容器左侧多少距离
//right: "6%", //图表距离容器右侧侧多少距离
- bottom: "6%", //图表距离容器上面多少距离
+ bottom: "15%", //图表距离容器上面多少距离
//top: "2%", //图表距离容器下面多少距离
},
title: {
@@ -602,6 +675,20 @@ export default {
saveAsImage: {},
},
},
+ dataZoom: [
+ {
+ show: true,
+ realtime: true,
+ start: 0,
+ end: 100,
+ },
+ {
+ type: "inside",
+ realtime: true,
+ start: 0,
+ end: 100,
+ },
+ ],
xAxis: {
name: "时间", // 坐标轴名称
type: "category",
@@ -640,7 +727,7 @@ export default {
var xData = [];
var yData = [];
xData = sd.map((item) =>
- this.$moment(item.updateTime * 1000).format("HH:mm:ss")
+ this.$moment(item.updateTime * 1000).format("YYYY-MM-DD HH:mm:ss")
);
yData = sd.map((item) => item.humidity);
let option = {
@@ -650,7 +737,7 @@ export default {
grid: {
//left: "6%", //图表距离容器左侧多少距离
//right: "6%", //图表距离容器右侧侧多少距离
- bottom: "6%", //图表距离容器上面多少距离
+ bottom: "15%", //图表距离容器上面多少距离
//top: "2%", //图表距离容器下面多少距离
},
title: {
@@ -672,6 +759,20 @@ export default {
saveAsImage: {},
},
},
+ dataZoom: [
+ {
+ show: true,
+ realtime: true,
+ start: 0,
+ end: 100,
+ },
+ {
+ type: "inside",
+ realtime: true,
+ start: 0,
+ end: 100,
+ },
+ ],
xAxis: {
name: "时间", // 坐标轴名称
type: "category",
diff --git a/src/views/otherCommon/index.vue b/src/views/otherCommon/index.vue
index d25c13c..9ff23bf 100644
--- a/src/views/otherCommon/index.vue
+++ b/src/views/otherCommon/index.vue
@@ -7,7 +7,7 @@
装置编号
@@ -17,7 +17,7 @@
新装置编号
@@ -42,7 +42,7 @@
装置编号
diff --git a/src/views/waterMark/index.vue b/src/views/waterMark/index.vue
index 6f70c67..e0de9c8 100644
--- a/src/views/waterMark/index.vue
+++ b/src/views/waterMark/index.vue
@@ -22,7 +22,7 @@
装置编号
@@ -32,7 +32,7 @@
左侧水印
@@ -42,7 +42,7 @@
右侧水印
@@ -152,7 +152,7 @@ export default {
for (let j = 0; j < this.checkList.length; j++) {
for (let i = 0; i < this.cmdidArr.length; i++) {
var command =
- "./bin/xympadmn.exe --server=61.169.135.150 --port=6891 --act=osd --cmdid=" +
+ ".\\bin\\xympadmn.exe --server=61.169.135.150 --port=6891 --act=osd --cmdid=" +
this.cmdidArr[i] +
" --flag=1 --channel=" +
this.checkList[j] +
@@ -164,7 +164,7 @@ export default {
"
" +
"sleep 1;" +
"
" +
- "./bin/xympadmn.exe --server=61.169.135.150 --port=6891 --act=capture --cmdid=" +
+ ".\\bin\\xympadmn.exe --server=61.169.135.150 --port=6891 --act=capture --cmdid=" +
this.cmdidArr[i] +
" --channel=" +
this.checkList[j] +