From f342961887581c1a837acee2382f6ace793a29d0 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 14 Jan 2026 14:18:42 +0800 Subject: [PATCH] =?UTF-8?q?debug:=20=E6=B7=BB=E5=8A=A0=E5=AD=90=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1deadline=E8=B0=83=E8=AF=95=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/TaskHall.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frontend/src/views/TaskHall.vue b/frontend/src/views/TaskHall.vue index b7c64ff..97a5150 100644 --- a/frontend/src/views/TaskHall.vue +++ b/frontend/src/views/TaskHall.vue @@ -4953,6 +4953,12 @@ const handleViewTaskDetail = async (task: Task) => { console.log('startTime字段:', task.startTime) console.log('isPipeline:', task.isPipeline) console.log('subTasks:', task.subTasks) + // 输出每个子任务的deadline + if (task.subTasks && task.subTasks.length > 0) { + task.subTasks.forEach((st: any, i: number) => { + console.log(`子任务${i+1} - id:${st.id}, status:${st.status}, deadline:${st.deadline}, receiverName:${st.receiverName}`) + }) + } console.log('estimatedHours:', task.estimatedHours) console.log('getTaskDeadline结果:', getTaskDeadline(task)) console.log('====================') @@ -4976,6 +4982,12 @@ const handleTaskClick = async (task: TaskOrSubTask) => { console.log('startTime字段:', (task as any).startTime) console.log('isPipeline:', (task as any).isPipeline) console.log('subTasks:', (task as any).subTasks) + // 输出每个子任务的deadline + if ((task as any).subTasks && (task as any).subTasks.length > 0) { + (task as any).subTasks.forEach((st: any, i: number) => { + console.log(`子任务${i+1} - id:${st.id}, status:${st.status}, deadline:${st.deadline}, receiverName:${st.receiverName}`) + }) + } console.log('estimatedHours:', task.estimatedHours) console.log('getTaskDeadline结果:', getTaskDeadline(task)) console.log('====================')