From 0dcdd14298a599234171c1de3d1e9e8a02d5253d Mon Sep 17 00:00:00 2001 From: lixg Date: Fri, 17 Mar 2023 11:52:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/learningpath/LevelAdd.vue | 20 +++++++++++++++++--- src/views/projectcenter/TaskPage.vue | 20 +++++++++++++++++--- 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue index 33db8056..ce4771f4 100644 --- a/src/views/learningpath/LevelAdd.vue +++ b/src/views/learningpath/LevelAdd.vue @@ -2686,7 +2686,11 @@ export default { "/homeworkpage?courseId=" + item.courseId + "&type=2&id=" + - item.id; + item.id + + "&chapterOrStageId=" + + item.chapterId + + "&infoId=" + + state.routerId; } // 考试 停用 if (item.type == 5) { @@ -2698,7 +2702,13 @@ export default { window.location.protocol + process.env.VUE_APP_H5 + "/externalexam?type=2&courseId=" + - item.courseId; + item.courseId + + "&id=" + + item.id + + "&chapterOrStageId=" + + item.chapterId + + "&infoId=" + + state.routerId; } else { codeUrl = window.location.protocol + @@ -2717,7 +2727,11 @@ export default { "/liveboradcast?courseId=" + item.courseId + "&type=2&id=" + - item.id; + item.id + + "&chapterOrStageId=" + + item.chapterId + + "&infoId=" + + state.routerId; } // 外链 if (item.type == 7) { diff --git a/src/views/projectcenter/TaskPage.vue b/src/views/projectcenter/TaskPage.vue index 6957976e..50462ca9 100644 --- a/src/views/projectcenter/TaskPage.vue +++ b/src/views/projectcenter/TaskPage.vue @@ -4638,7 +4638,11 @@ export default { "/homeworkpage?courseId=" + item.courseId + "&type=1&id=" + - item.id; + item.id + + "&chapterOrStageId=" + + item.stageId + + "&infoId=" + + state.projectId; } // 考试 停用 if (item.type == 5) { @@ -4650,7 +4654,13 @@ export default { window.location.protocol + process.env.VUE_APP_H5 + "/externalexam?type=1&courseId=" + - item.courseId; + item.courseId + + "&id=" + + item.id + + "&chapterOrStageId=" + + item.stageId + + "&infoId=" + + state.projectId; } else { codeUrl = window.location.protocol + @@ -4669,7 +4679,11 @@ export default { "/liveboradcast?courseId=" + item.courseId + "&type=1&id=" + - item.id; + item.id + + "&chapterOrStageId=" + + item.stageId + + "&infoId=" + + state.projectId; } // 外链 if (item.type == 7) {