From 2d44bbfb2c61de594801b7f669912d8e2ed9cbf6 Mon Sep 17 00:00:00 2001 From: wangyu <823267011@qq.com> Date: Mon, 29 Jun 2026 17:08:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(cert):=20=E5=8E=BB=E6=8E=89=E5=8F=98?= =?UTF-8?q?=E9=A2=91=E5=99=A8=E9=A2=91=E7=8E=87/=E7=94=B5=E5=AF=BC?= =?UTF-8?q?=E7=8E=87/=E5=BB=B6=E4=BC=B8=E7=8E=87/=E8=BE=8A=E7=BC=9D?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=EF=BC=8C=E6=8A=98=E7=BA=BF=E6=94=B9=E7=9B=B4?= =?UTF-8?q?=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- frontend/src/views/Production.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/Production.vue b/frontend/src/views/Production.vue index c5cd503..1dabc78 100644 --- a/frontend/src/views/Production.vue +++ b/frontend/src/views/Production.vue @@ -332,8 +332,10 @@ export default { certCharts() { const pd = this.certRow && this.certRow.process_data if (!pd || !Array.isArray(pd.items) || !pd.items.length) return [] + const EXCLUDE = /变频器频率|电导率|延伸率|辊缝/ const groups = {} pd.items.forEach(it => { + if (EXCLUDE.test(it.label || '')) return const v = parseFloat(it.value) if (isNaN(v)) return const u = it.unit || '其他' @@ -349,7 +351,7 @@ export default { series = { type: 'bar', data, itemStyle: { color, borderRadius: [3, 3, 0, 0] }, barMaxWidth: 18 } } else { series = { - type: 'line', data, smooth: true, symbol: 'circle', symbolSize: 6, + type: 'line', data, smooth: false, symbol: 'circle', symbolSize: 6, itemStyle: { color }, lineStyle: { color, width: 2 }, areaStyle: kind === 'area' ? { color, opacity: 0.12 } : undefined, }