From 2c225015c916ac4436b601f69dcd060082dfe08c Mon Sep 17 00:00:00 2001 From: daihh Date: Tue, 13 Dec 2022 20:24:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=B7=B3=E8=BD=AC=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/course/Index.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index 2685a5e0..256e02da 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -553,6 +553,15 @@ export default { this.$router.push('/course/boeframe?id='+courseId+'&type='+item.type); //此处使用window.open有问题 //window.open(`${this.webBaseUrl}/course/boeframe?id=${item.id}&type=${item.type}`); + }else if(item.source == 3){ + //跳转到管理系统的页面 + if (item.type == 30){ //线下课,面授课 + let params=encodeURIComponent('courseId='+courseId); + this.$router.push('/forward?to=/fe-student/faceteach¶ms='+params); + }else if(item.type==40){ //学习项目 + let params=encodeURIComponent('projectId='+courseId); + this.$router.push('/forward?to=/fe-student/projectdetails¶ms='+params); + } } else { if (item.type == 10) { //return this.webBaseUrl + "/course/studyindex?id=" + item.id;