fix(scheduling): shorten department name by removing 业务 prefix
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
kkfluous
2026-04-16 23:05:40 +08:00
parent 9f781c766a
commit 2f11afc25f

View File

@@ -102,7 +102,7 @@ export default function SuggestionList({ suggestions, onSelect }: Props) {
<span className="text-[9px] text-slate-400">{v.region}</span> <span className="text-[9px] text-slate-400">{v.region}</span>
</div> </div>
<div className="flex items-center gap-2 mt-0.5 text-[10px] text-slate-400 overflow-hidden"> <div className="flex items-center gap-2 mt-0.5 text-[10px] text-slate-400 overflow-hidden">
{v.department && <span className="flex-shrink-0 text-slate-500">{v.department}</span>} {v.department && <span className="flex-shrink-0 text-slate-500">{v.department.replace('业务', '')}</span>}
{v.manager && <span className="flex-shrink-0 text-slate-500">{v.manager}</span>} {v.manager && <span className="flex-shrink-0 text-slate-500">{v.manager}</span>}
<span className="truncate max-w-[35%] flex-shrink"><Blur>{v.customer || '-'}</Blur></span> <span className="truncate max-w-[35%] flex-shrink"><Blur>{v.customer || '-'}</Blur></span>
<span className="flex-shrink-0"> <span className="text-slate-600 font-medium">{Math.round(v.customerAvgDaily)}</span></span> <span className="flex-shrink-0"> <span className="text-slate-600 font-medium">{Math.round(v.customerAvgDaily)}</span></span>