From 9ddada15a8ababb621bca0125c3abeae96260451 Mon Sep 17 00:00:00 2001 From: freedakgmail Date: Sun, 14 Jun 2026 09:52:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=80=E5=94=AE=E5=88=97=E8=A1=A8=E7=B2=BE?= =?UTF-8?q?=E7=AE=80=E5=88=97(=E5=8E=BB=E6=89=BF=E6=8E=A5=E5=BB=BA?= =?UTF-8?q?=E8=AE=AE/=E6=9C=80=E8=BF=91=E5=A4=84=E7=90=86)=EF=BC=8C?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E5=AE=A1=E6=89=B9=E8=BF=9B=E5=BA=A6=E6=92=91?= =?UTF-8?q?=E5=AE=BD=E5=AF=BC=E8=87=B4=E6=93=8D=E4=BD=9C=E5=88=97=E8=A2=AB?= =?UTF-8?q?=E6=8C=A4=E5=87=BA=E5=8F=AF=E8=A7=81=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/Dashboard.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/src/pages/Dashboard.tsx b/web/src/pages/Dashboard.tsx index 8dd4124..77d204f 100644 --- a/web/src/pages/Dashboard.tsx +++ b/web/src/pages/Dashboard.tsx @@ -350,7 +350,13 @@ export function Dashboard(): JSX.Element { ); }, }; - const historyColumns = isSales ? [...columns.slice(0, -1), approvalProgressCol, columns[columns.length - 1]!] : columns; + // 销售视图:去掉与「审批进度」重复的列(承接建议/最近处理),插入审批进度,保留操作列。 + const historyColumns = isSales + ? (() => { + const base = columns.filter((col) => col.key !== 'recommendation' && col.key !== 'latest'); + return [...base.slice(0, -1), approvalProgressCol, base[base.length - 1]!]; + })() + : columns; const summaryItems = [ { label: isSales ? '我的评估' : '全部评估', value: summary.total, tone: colorVar('color.brand.primary') }, { label: isSales ? '被驳回(待处理)' : '我的待办', value: todoCount, tone: colorVar('color.risk.high') },