From c400e5c9435f15f0a49dcd374479132fa7336451 Mon Sep 17 00:00:00 2001 From: wangyu <823267011@qq.com> Date: Fri, 26 Jun 2026 14:30:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(material):=20=E5=9C=A8=E7=BA=BF=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E5=88=97=E5=85=A5=20ready+online=20+=20=E8=B7=9F?= =?UTF-8?q?=E8=B8=AA=E8=A1=A8/=E5=AE=9E=E6=97=B6=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=AF=94=E4=BE=8B=E6=94=B9=201:3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - onlinePlans 同时显示 status=ready 与 status=online,避免老数据看不到 - split-row 列宽 1.05fr:1fr → 1fr:3fr,把空间让给实时数据 Co-Authored-By: Claude Opus 4.7 --- frontend/src/views/Material.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/Material.vue b/frontend/src/views/Material.vue index c2cb055..3e79cc9 100644 --- a/frontend/src/views/Material.vue +++ b/frontend/src/views/Material.vue @@ -428,7 +428,7 @@ export default { } }, computed: { - onlinePlans() { return this.plans.filter(p => p.status === 'online') }, + onlinePlans() { return this.plans.filter(p => p.status === 'online' || p.status === 'ready') }, producingPlan() { return this.plans.find(p => p.status === 'producing') || null }, equipments() { const n = EQUIPMENTS.length @@ -696,7 +696,7 @@ export default { .line-body { padding: 6px 10px 10px; background: #0a1218; } .line-svg { width: 100%; height: 305px; display: block; } -.split-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 10px; align-items: stretch; } +.split-row { display: grid; grid-template-columns: 1fr 3fr; gap: 10px; align-items: stretch; } .split-left, .split-right { display: flex; flex-direction: column; min-height: 540px; } .split-right .card-body { flex: 1; overflow-y: auto; }