提交跳转修改

This commit is contained in:
daihh
2022-12-13 20:24:11 +08:00
parent 3a5a6217fc
commit 2c225015c9

View File

@@ -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&params='+params);
}else if(item.type==40){ //学习项目
let params=encodeURIComponent('projectId='+courseId);
this.$router.push('/forward?to=/fe-student/projectdetails&params='+params);
}
} else {
if (item.type == 10) {
//return this.webBaseUrl + "/course/studyindex?id=" + item.id;