mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
提交跳转修改
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user