From d05dd9448a6d7dbc81ddaf9752adc2734b48a5d0 Mon Sep 17 00:00:00 2001 From: wangyu <823267011@qq.com> Date: Fri, 3 Jul 2026 15:04:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AE=BE=E5=AE=9A=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../micro/pages/acid/components/ActualPerformance.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/klp-ui/src/views/micro/pages/acid/components/ActualPerformance.vue b/klp-ui/src/views/micro/pages/acid/components/ActualPerformance.vue index f421d9969..9fdce0e97 100644 --- a/klp-ui/src/views/micro/pages/acid/components/ActualPerformance.vue +++ b/klp-ui/src/views/micro/pages/acid/components/ActualPerformance.vue @@ -663,8 +663,17 @@ export default { if (v == null || rv == null || rv === 0) return null return parseFloat(v.toFixed(3)) }) - const chartTitle = title + // 设定值(绝对厚度 mm):取首个非空 REF,写入标题 + let refVal = null + for (const r of rows) { + const rv = getRowVal(r, refCol) + if (rv != null && rv !== 0) { refVal = rv; break } + } + const chartTitle = refVal != null ? `${title} - 设定值: ${refVal.toFixed(3)}[mm]` : title + const extras = [] + // 设定基准线恒为 0 + extras.push({ name: '设定值(0)', data: yData.map(v => v == null ? null : 0), color: '#909399', dash: false }) // TOPLIMIT/BOTLIMIT 是冷轧机出口厚度的 AGC 公差带(逐行变化, // 头尾加减速段约 ±2.5%、稳态段收紧到约 ±1%),只约束出口厚度。