From f15a9f94f8f65bd27284fdd34a21c595c4aae050 Mon Sep 17 00:00:00 2001
From: 86156 <823267011@qq.com>
Date: Fri, 31 Oct 2025 19:10:08 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=95=80=E9=94=8C=E7=BA=BFui?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../hand-factory/components/lines/acidity.vue | 25 +-
apps/hand-factory/components/lines/paint.vue | 717 ++++++++++++----
apps/hand-factory/components/lines/zinc1.vue | 800 +++++++++++-------
apps/hand-factory/components/lines/zinc2.vue | 769 +++++++++++------
apps/hand-factory/components/lines/zinc3.vue | 769 +++++++++++------
5 files changed, 2061 insertions(+), 1019 deletions(-)
diff --git a/apps/hand-factory/components/lines/acidity.vue b/apps/hand-factory/components/lines/acidity.vue
index a19cfcf..75d6783 100644
--- a/apps/hand-factory/components/lines/acidity.vue
+++ b/apps/hand-factory/components/lines/acidity.vue
@@ -171,19 +171,36 @@ export default {
color: ["#0066cc", "#409eff", "#66b1ff"],
padding: [15, 15, 0, 15],
enableScroll: false,
- legend: {},
+ legend: {
+ show: true,
+ position: "top",
+ fontSize: 10,
+ lineHeight: 14,
+ itemGap: 6
+ },
+ dataLabel: false, // 隐藏数据标签
+ dataPointShape: false, // 隐藏数据点
xAxis: {
disableGrid: true,
- rotateLabel: true, // 启用标签旋转
- itemCount: 6, // 只显示6个标签,避免密集
- labelCount: 6 // 标签数量
+ rotateLabel: true,
+ itemCount: 5, // 减少标签数量
+ labelCount: 5,
+ fontSize: 10
},
yAxis: {
gridType: "dash",
dashLength: 4,
gridColor: "#e4e7ed",
showTitle: true,
+ fontSize: 10,
data: [{ min: 0, title: "温度(°C)" }]
+ },
+ extra: {
+ line: {
+ type: "curve",
+ width: 2,
+ activeType: "hollow"
+ }
}
},
plantStateDefines: [] // 缓存所有的状态定义
diff --git a/apps/hand-factory/components/lines/paint.vue b/apps/hand-factory/components/lines/paint.vue
index b97bbfb..6fd60bc 100644
--- a/apps/hand-factory/components/lines/paint.vue
+++ b/apps/hand-factory/components/lines/paint.vue
@@ -1,267 +1,632 @@
-
+
+
+
+
+ {{ item.text }}
+
+
+
+
+
+
+ ⟳
+
+
+
+
+
+
+ 网络状态
+ {{ webStatus[0].value }}
+
+
+
+ 当前班组
+ {{ webStatus[1].value }}
+
+
+
+ 更新时间
+ {{ lastUpdateTime }}
+
+
-
+
+
+ 涂装速度监控
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
+
+
+
+
+
+
+ 烘干温度趋势
+
+
+
+
+
+
+
+ 活套运行状态
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
+
+
+
+
+
+
+ 工艺参数
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
+
+
+
+
+
+
+ 拉矫参数
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
+
+
+
+
+
+
-
+
-
+
diff --git a/apps/hand-factory/components/lines/zinc1.vue b/apps/hand-factory/components/lines/zinc1.vue
index 84e8a73..37b7b3a 100644
--- a/apps/hand-factory/components/lines/zinc1.vue
+++ b/apps/hand-factory/components/lines/zinc1.vue
@@ -1,5 +1,5 @@
-
+
-
-
-
-
-
-
- 正常
-
-
- 网络状态
-
+
+
+ ⟳
-
-
-
- 乙 / 中
+
+
+
+
+ 网络状态
+ {{ webStatus[0].value }}
-
- 当前班组
+
+
+ 当前班组
+ {{ webStatus[1].value }}
-
+
+
+ 更新时间
+ {{ lastUpdateTime }}
-
-
-
-
+
+
+ 轧机速度监控
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 设备编号:
- M-001
-
-
- 运行状态:
- 正常
-
-
-
-
-
- 当前产量:
- 2580 件
-
-
- 合格率:
- 98.5%
-
+
+
+ 机架压下率
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
-
-
-
-
-
-
-
-
-
-
- 9.9
-
-
- 工艺缎带钢线速度
-
-
-
-
-
-
- 126.0
-
-
- 轧机出口带钢线速度
-
-
-
-
-
+
-
+
-
+
\ No newline at end of file
+
+.metric-unit {
+ display: block;
+ font-size: 22rpx;
+ color: #909399;
+}
+
+/* 图表容器 */
+.chart-box {
+ background: #fff;
+ border: 1rpx solid #e4e7ed;
+ border-radius: 8rpx;
+ padding: 24rpx 16rpx;
+}
+
diff --git a/apps/hand-factory/components/lines/zinc2.vue b/apps/hand-factory/components/lines/zinc2.vue
index 213c517..84d7d11 100644
--- a/apps/hand-factory/components/lines/zinc2.vue
+++ b/apps/hand-factory/components/lines/zinc2.vue
@@ -1,5 +1,5 @@
-
+
-
-
-
-
-
-
- 正常
-
-
- 网络状态
-
-
+
+
+ ⟳
+
+
+
+
+
+
+ 网络状态
+ {{ webStatus[0].value }}
+
+
+
+ 当前班组
+ {{ webStatus[1].value }}
+
+
+
+ 更新时间
+ {{ lastUpdateTime }}
+
+
-
-
-
- 乙 / 中
-
-
- 当前班组
-
+
+
+ 轧机速度监控
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 轧机
- 6390000
-
-
-
-
- 圆剪盘
- 6390000
-
-
-
-
- 设备编号:
- M-001
-
-
- 运行状态:
- 正常
-
-
-
-
-
- 当前产量:
- 2580 件
-
-
- 合格率:
- 98.5%
-
-
-
-
-
-
- 酸洗
- 6390000
-
-
-
-
- 入口活套
- 6390000
-
-
-
-
- 设备编号:
- M-001
-
-
- 运行状态:
- 正常
-
-
-
-
-
- 当前产量:
- 2580 件
-
-
- 合格率:
- 98.5%
-
-
-
-
+
+
+ 机架压下率
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
-
+
-
-
-
-
-
-
- 9.9
-
-
- 工艺缎带钢线速度
-
-
+
+
+ 轧制力趋势
+
+
+
+
-
-
-
- 126.0
-
-
- 轧机出口带钢线速度
-
-
+
+
+ 带钢张力监控
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
-
+
+
+
+
+
+ 机架功率百分比
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
+
+
-
+
-
+
-
+
\ No newline at end of file
+
diff --git a/apps/hand-factory/components/lines/zinc3.vue b/apps/hand-factory/components/lines/zinc3.vue
index 213c517..ea0e18d 100644
--- a/apps/hand-factory/components/lines/zinc3.vue
+++ b/apps/hand-factory/components/lines/zinc3.vue
@@ -1,5 +1,5 @@
-
+
-
-
-
-
-
-
- 正常
-
-
- 网络状态
-
+
+
+ ⟳
-
-
-
- 乙 / 中
+
+
+
+
+ 网络状态
+ {{ webStatus[0].value }}
-
- 当前班组
+
+
+ 当前班组
+ {{ webStatus[1].value }}
-
+
+
+ 更新时间
+ {{ lastUpdateTime }}
-
-
-
-
+
+
+ 轧机速度监控
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
+
+
+
+
+
+
+ 机架压下率
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
+
+
+
+
+
+
+ 轧制力趋势
+
+
+
+
+
+
+
+ 带钢张力监控
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
+
+
-
-
-
-
-
-
-
-
-
-
- 轧机
- 6390000
-
-
-
-
- 圆剪盘
- 6390000
-
-
-
-
- 设备编号:
- M-001
-
-
- 运行状态:
- 正常
-
-
-
-
-
- 当前产量:
- 2580 件
-
-
- 合格率:
- 98.5%
-
-
+
+
+ 机架功率百分比
+
+
+ {{ item.label }}
+ {{ item.value }}
+ {{ item.unit }}
-
-
- 酸洗
- 6390000
-
-
-
-
- 入口活套
- 6390000
-
-
-
-
- 设备编号:
- M-001
-
-
- 运行状态:
- 正常
-
-
-
-
-
- 当前产量:
- 2580 件
-
-
- 合格率:
- 98.5%
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 9.9
-
-
- 工艺缎带钢线速度
-
-
-
-
-
-
- 126.0
-
-
- 轧机出口带钢线速度
-
-
-
-
-
+
-
+
-
+
\ No newline at end of file
+