refactor(scheduling): rewrite terminology to match core business logic
Core story: 里程高的车换下来,里程少的车换上去。 - Summary cards: "里程高·需换下" / "里程低·需换走" / "替换建议" - List tags: "换下" (amber) / "换走" (blue) with matching color bars - Detail modal title: "里程高·换下此车" / "里程低·换走此车" - Candidate section: explains WHY these vehicles are recommended - 换下: "以下车辆里程缺口大,换到该高里程客户处可加速达标" - 换走: "以下车辆里程已充足,可调给当前客户,将此车换走给高里程客户冲刺" - Reason text: states current situation + clear action recommendation with specific numbers (已跑, 缺口, 日均, 完成率) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -183,12 +183,12 @@ export default function SchedulingModule() {
|
||||
: 'bg-amber-50 border border-amber-100'
|
||||
}`}
|
||||
>
|
||||
<div className="text-[10px] font-bold text-amber-700 mb-1">已达标车辆</div>
|
||||
<div className="text-[10px] font-bold text-amber-700 mb-1">里程高·需换下</div>
|
||||
<div className="text-2xl font-black text-amber-800">
|
||||
{loading && !data ? '-' : summary?.qualifiedCount ?? 0}
|
||||
<span className="text-xs font-normal text-amber-600 ml-1">台</span>
|
||||
</div>
|
||||
<div className="text-[9px] text-amber-600 mt-1">本年完成率 ≥ 120%</div>
|
||||
<div className="text-[9px] text-amber-600 mt-1">已达标,换上里程少的车</div>
|
||||
</button>
|
||||
|
||||
<button
|
||||
@@ -199,12 +199,12 @@ export default function SchedulingModule() {
|
||||
: 'bg-blue-50 border border-blue-100'
|
||||
}`}
|
||||
>
|
||||
<div className="text-[10px] font-bold text-blue-700 mb-1">无望达标</div>
|
||||
<div className="text-[10px] font-bold text-blue-700 mb-1">里程低·需换走</div>
|
||||
<div className="text-2xl font-black text-blue-800">
|
||||
{loading && !data ? '-' : summary?.hopelessCount ?? 0}
|
||||
<span className="text-xs font-normal text-blue-600 ml-1">台</span>
|
||||
</div>
|
||||
<div className="text-[9px] text-blue-600 mt-1">本年完成率 < 60%</div>
|
||||
<div className="text-[9px] text-blue-600 mt-1">无法达标,调给高里程客户</div>
|
||||
</button>
|
||||
|
||||
<button
|
||||
@@ -215,13 +215,13 @@ export default function SchedulingModule() {
|
||||
: 'bg-emerald-50 border border-emerald-100'
|
||||
}`}
|
||||
>
|
||||
<div className="text-[10px] font-bold text-emerald-700 mb-1">可干预建议</div>
|
||||
<div className="text-[10px] font-bold text-emerald-700 mb-1">替换建议</div>
|
||||
<div className="text-2xl font-black text-emerald-800">
|
||||
{loading && !data ? '-' : summary?.suggestionCount ?? 0}
|
||||
<span className="text-xs font-normal text-emerald-600 ml-1">条</span>
|
||||
</div>
|
||||
<div className="text-[9px] text-emerald-600 mt-1">
|
||||
预计 +{summary?.estimatedGain ?? 0} 台可达标
|
||||
预计 +{summary?.estimatedGain ?? 0} 台可新增达标
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user