mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -29,7 +29,7 @@ import portalFooter from "@/components/PortalFooter.vue";
|
|||||||
params=encodeURIComponent(params);
|
params=encodeURIComponent(params);
|
||||||
|
|
||||||
//console.log(urlPre,'urlPre');
|
//console.log(urlPre,'urlPre');
|
||||||
if(this.type == 20 || this.type=='online-course') {//在线课
|
if(this.type == 20 || this.type=='online-course') {// 在线课
|
||||||
this.url= `${urlPre}/web/onlineClass?detailId=${this.id}&inner=1`
|
this.url= `${urlPre}/web/onlineClass?detailId=${this.id}&inner=1`
|
||||||
} else if(this.type == 30 || this.type=='face-course') {// 面授课
|
} else if(this.type == 30 || this.type=='face-course') {// 面授课
|
||||||
this.url = `${urlPre}/web/f2fClass?detailId=${this.id}&inner=1`
|
this.url = `${urlPre}/web/f2fClass?detailId=${this.id}&inner=1`
|
||||||
@@ -37,9 +37,10 @@ import portalFooter from "@/components/PortalFooter.vue";
|
|||||||
this.url = `${urlPre}/web/learningProject?detailId=${this.id}&inner=1`
|
this.url = `${urlPre}/web/learningProject?detailId=${this.id}&inner=1`
|
||||||
} else if(this.type == 'quizsummary'){
|
} else if(this.type == 'quizsummary'){
|
||||||
this.url = `${urlPre}/web/quizsummary?detailId=${this.id}&inner=1`
|
this.url = `${urlPre}/web/quizsummary?detailId=${this.id}&inner=1`
|
||||||
}else {// 如果没有type,学习任务页面
|
}else if(this.type==3) {// 如果没有type,学习任务页面
|
||||||
this.url = `${urlPre}/web/todo/detail?id=${this.id}&inner=1`
|
this.url = `${urlPre}/web/todo/detail?id=${this.cmtask_id}&inner=1`
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
|
||||||
|
|||||||
@@ -139,6 +139,9 @@ export default {
|
|||||||
}else if(item.cmtask_type==2){ //学习项目
|
}else if(item.cmtask_type==2){ //学习项目
|
||||||
let params=encodeURIComponent('projectId='+item.cmtask_id);
|
let params=encodeURIComponent('projectId='+item.cmtask_id);
|
||||||
this.$router.push('/forward?to='+studentPath+'/projectdetails¶ms='+params);
|
this.$router.push('/forward?to='+studentPath+'/projectdetails¶ms='+params);
|
||||||
|
}else if(item.cmtask_type==3){
|
||||||
|
let pushUrl=`${this.webBaseUrl}/course/boeframe?id=${item.cmtask_id}&type=3`;
|
||||||
|
this.$router.push(pushUrl);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user