From 98678cc043785fad28b18b22ea97fa98aa4fa2b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Sat, 3 Jan 2026 13:37:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0PDF=E5=92=8C=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E7=94=9F=E6=88=90=E5=BA=93=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refactor(FurCurrent): 重构参数显示逻辑,优化闪烁效果 style(FurnaceHistoryPanel): 调整表格列宽和溢出处理 feat(LabelPrint): 使用dom-to-image提升打印质量 feat(QualityCertificate): 添加生产过程曲线图表 feat: 新增ParamEcharts组件用于统一图表渲染 refactor(line): 使用ParamEcharts重构监控图表组件 --- package.json | 3 + src/views/l2/pdo/components/LabelPrint.vue | 89 ++-- src/views/l2/pdo/components/ParamEcharts.vue | 454 +++++++++++++++++ .../l2/pdo/components/QualityCertificate.vue | 182 ++++--- src/views/l2/pdo/components/line.vue | 463 +----------------- .../send/components/FurnaceHistoryPanel.vue | 4 +- src/views/l2/track/components/FurCurrent.vue | 70 ++- 7 files changed, 685 insertions(+), 580 deletions(-) create mode 100644 src/views/l2/pdo/components/ParamEcharts.vue diff --git a/package.json b/package.json index 3e02a3a..8bb4c69 100644 --- a/package.json +++ b/package.json @@ -30,14 +30,17 @@ "clipboard": "2.0.8", "core-js": "3.37.1", "dayjs": "^1.11.18", + "dom-to-image": "^2.6.0", "echarts": "5.4.0", "element-ui": "2.15.14", "file-saver": "2.0.5", "fuse.js": "6.4.3", "highlight.js": "9.18.5", + "html2canvas": "^1.4.1", "js-beautify": "1.13.0", "js-cookie": "3.0.1", "jsencrypt": "3.0.0-rc.1", + "jspdf": "^2.5.2", "konva": "^10.0.2", "nprogress": "0.2.0", "print-js": "^1.6.0", diff --git a/src/views/l2/pdo/components/LabelPrint.vue b/src/views/l2/pdo/components/LabelPrint.vue index 7e2f4ff..59edadc 100644 --- a/src/views/l2/pdo/components/LabelPrint.vue +++ b/src/views/l2/pdo/components/LabelPrint.vue @@ -14,60 +14,54 @@
Coil ID
- - + +
Hot Coil ID
- - + +
Specification
- +
Material
- - + +
Net Weight
- - + +
Production Shift
- - + +
Product Name
- - + +
Production Date
- + placeholder="Production Date"> +
@@ -87,6 +81,8 @@ + + \ No newline at end of file diff --git a/src/views/l2/pdo/components/QualityCertificate.vue b/src/views/l2/pdo/components/QualityCertificate.vue index 0121832..2d831e3 100644 --- a/src/views/l2/pdo/components/QualityCertificate.vue +++ b/src/views/l2/pdo/components/QualityCertificate.vue @@ -17,7 +17,7 @@ - +
@@ -192,6 +192,23 @@
+
+
Production Process Curves
+ +
+ +
+
Strip Speed (m/s)
+ +
+ +
+
Pay-off Tension 1# (N)
+ +
+
+
+