feat(scheduling): enrich history records with customer/dept/manager + drill-in to swap plan
Each row in 调度记录 now shows 业务部门(简)/业务负责人/客户 beneath the plate line, and is clickable to open the reusable SwapPreview showing the full replacement plan (current mileage, 考核目标, 替换后预测). Drill-in is only enabled when the suggestion is still in the active scheduling view; the user can still 取消干预 from the preview. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -532,6 +532,7 @@ export default function SchedulingModule() {
|
||||
onClose={() => setShowHistory(false)}
|
||||
onChange={loadData}
|
||||
recentOnly={historyRecentOnly}
|
||||
suggestions={data?.suggestions}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user