fix(scheduling): remove duplicate mileage text, keep only metrics row
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -97,21 +97,15 @@ export default function SuggestionDetail({ suggestion: s, onClose, onNotifySucce
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="text-[10px] text-slate-500 space-y-0.5">
|
<div className="flex items-center gap-2 text-[10px] text-slate-500 flex-wrap">
|
||||||
<div className="flex items-center gap-2 flex-wrap">
|
|
||||||
<span className="text-slate-400">{v.targetName}</span>
|
<span className="text-slate-400">{v.targetName}</span>
|
||||||
<span className="text-slate-200">|</span>
|
|
||||||
<span>已跑 <b className="text-slate-700">{fmtKm(v.currentYearMileage)}</b></span>
|
|
||||||
<span>考核 <b className="text-slate-700">{fmtKm(v.yearTarget)}</b> km</span>
|
|
||||||
<span className="flex items-center gap-0.5"><MapPin size={9} /> {v.region}</span>
|
<span className="flex items-center gap-0.5"><MapPin size={9} /> {v.region}</span>
|
||||||
</div>
|
<span className="text-slate-200">|</span>
|
||||||
<div className="flex items-center gap-2">
|
|
||||||
<span>客户 <b className="text-slate-700"><Blur>{v.customer || '-'}</Blur></b></span>
|
<span>客户 <b className="text-slate-700"><Blur>{v.customer || '-'}</Blur></b></span>
|
||||||
<span>日均 <b className="text-slate-700">{Math.round(v.customerAvgDaily)}</b> km</span>
|
<span>日均 <b className="text-slate-700">{Math.round(v.customerAvgDaily)}</b> km</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Metrics row — same style as candidates */}
|
{/* Metrics row */}
|
||||||
<div className="mt-2.5">
|
<div className="mt-2.5">
|
||||||
<div className="flex text-[10px] bg-white rounded-lg overflow-hidden divide-x divide-slate-200 border border-slate-200">
|
<div className="flex text-[10px] bg-white rounded-lg overflow-hidden divide-x divide-slate-200 border border-slate-200">
|
||||||
<div className="flex-1 py-1.5 px-2 text-center">
|
<div className="flex-1 py-1.5 px-2 text-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user