feat(scheduling): show department and manager in list items and detail card
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
kkfluous
2026-04-16 23:02:03 +08:00
parent c3de4ebaf5
commit 8664317852
2 changed files with 9 additions and 4 deletions

View File

@@ -101,8 +101,11 @@ export default function SuggestionDetail({ suggestion: s, onClose, onNotifySucce
{fmtRate(v.completionRate)}
</span>
</div>
{/* Customer info */}
<div className="px-3 pb-1.5 flex items-center gap-2 text-[10px] text-slate-500">
{/* Customer + dept/manager info */}
<div className="px-3 pb-1.5 flex items-center gap-2 text-[10px] text-slate-500 flex-wrap">
{v.department && <span><b className="text-slate-700">{v.department}</b></span>}
{v.manager && <span><b className="text-slate-700">{v.manager}</b></span>}
{(v.department || v.manager) && <span className="text-slate-200">|</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>
</div>