feat: 宏观状态动态从主干任务获取+任务树assignee中文姓名映射(后端+前端)
This commit is contained in:
@ -413,6 +413,7 @@ export default function AdminTasksPage() {
|
||||
tasks={tree.task_tree}
|
||||
onAction={setModalTarget}
|
||||
currentUser={currentUser}
|
||||
assigneeNames={tree.assignee_names}
|
||||
/>
|
||||
) : (
|
||||
<div className="flex flex-col items-center justify-center py-12 text-gray-400">
|
||||
|
||||
@ -99,4 +99,6 @@ export interface ProductScanResponse {
|
||||
top_level_tasks: TaskSummary[];
|
||||
/** 完整递归任务树 — 供十字矩阵树状图渲染 */
|
||||
task_tree: TaskResponse[];
|
||||
/** 🔧 username→中文姓名映射 */
|
||||
assignee_names: Record<string, string>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user