From 750ce8d8eb55a6f89391d901876abe281d1c5752 Mon Sep 17 00:00:00 2001 From: v6ole Date: Sun, 12 Jul 2026 16:25:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BA=AE=E7=81=AF=E8=A1=A8=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=AE=A2=E6=88=B7=E7=BB=8F=E7=90=86=E6=8C=87=E6=A0=87?= =?UTF-8?q?=E6=96=87=E5=AD=97=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 每个客户经理折叠栏新增一行指标摘要: 「已拜访X · 临期X · 未拜访X · 完成率X%」 数字加粗,完成率按阈值着色(>=80%绿 >=50%金 <50%红) Co-Authored-By: Claude --- frontend/src/views/desktop/LightBoard.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/views/desktop/LightBoard.vue b/frontend/src/views/desktop/LightBoard.vue index eabf611..47e9c32 100644 --- a/frontend/src/views/desktop/LightBoard.vue +++ b/frontend/src/views/desktop/LightBoard.vue @@ -141,6 +141,12 @@ const statusLabel: Record = { green: '近30天已拜访', yellow {{ expandedManagers.has(m.manager_id) ? '▼' : '▶' }} {{ m.manager_name }} {{ m.total_customers }} 个客户 + + 已拜访{{ m.visited_this_month }} · + 临期{{ m.visited_last_month_only }} · + 未拜访{{ m.not_visited_2months }} · + 完成率{{ (m.coverage_rate * 100).toFixed(0) }}% +
{{ m.visited_this_month }} @@ -304,6 +310,8 @@ const statusLabel: Record = { green: '近30天已拜访', yellow .manager-name { font-family: var(--font-heading); font-size: 15px; color: var(--ink); letter-spacing: 0.04em; cursor: pointer; } .manager-name:hover { color: var(--gold); } .manager-count { font-family: var(--font-body); font-size: 12px; color: var(--warm-gray); } +.manager-metrics { font-family: var(--font-body); font-size: 12px; color: var(--warm-gray); white-space: nowrap; } +.manager-metrics strong { font-weight: 600; color: var(--ink); margin: 0 1px; } .manager-lights { display: flex; gap: 6px; } .light-dot { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; border-radius: 4px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; cursor: help; } .light-dot--green { background: #EDF2EC; color: var(--sage); }