From 911146848de64fe181c5cc077acb3d54ef3edcfb Mon Sep 17 00:00:00 2001 From: Pengxiansen <2422914688@qq.com> Date: Mon, 17 Feb 2025 11:25:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/growth/growthList.vue | 4 ++-- src/views/growth/growthRoadmap.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/growth/growthList.vue b/src/views/growth/growthList.vue index 4074ff2..b5cd5a4 100644 --- a/src/views/growth/growthList.vue +++ b/src/views/growth/growthList.vue @@ -581,9 +581,9 @@ async function toFinish(d) { path: TASK_TYPES.path[d.courseType], query: { id: d.id, - type: GROWTH, + type: d.courseType === "11" ? "5" : GROWTH, projectId: d.courseId, - infoId: selectGrowth.value.id, + infoId: d.courseType === "11" ? d.taskId : selectGrowth.value.id, courseId: d.courseId ? d.courseId : d.info.id, pName: selectGrowth.value.growthName, sName: d.taskName, diff --git a/src/views/growth/growthRoadmap.vue b/src/views/growth/growthRoadmap.vue index f7cad30..c83e0b4 100644 --- a/src/views/growth/growthRoadmap.vue +++ b/src/views/growth/growthRoadmap.vue @@ -734,9 +734,9 @@ async function toFinish(d) { path: TASK_TYPES.path[d.courseType], query: { id: d.id, - type: GROWTH, + type: d.courseType === "11" ? "5" : GROWTH, projectId: d.courseId, - infoId: selectGrowth.value.id, + infoId: d.courseType === "11" ? d.taskId : selectGrowth.value.id, courseId: d.courseId ? d.courseId : d.info.id, pName: selectGrowth.value.growthName, sName: d.taskName,