提交 59a10da2 编写于 作者: guangjun.yang's avatar guangjun.yang

跳转到课程

上级 e543cc39
......@@ -202,16 +202,15 @@ export default {
// 跳转到课程
gotoCourse(courseId) {
let _this = this;
let param = {
token: _this.token,
token: this.token,
setEntry: true
};
this.GET("campaign/admin/task/checkToken", param).then(res => {
if (res.code !== "000000") {
Toast('登陆后可学习课程');
} else {
jumpToCourse(courseId);
this.jumpToCourse(courseId);
}
});
},
......@@ -225,6 +224,7 @@ export default {
let jumpUrl = getWebPageUrl(`profexam/#/course-detail?courseId=${courseId}&projectId=${this.projectId}&token=${this.token}`);
window.location.href = jumpUrl;
},
// 跳转到考试
gotoExam: function(examId) {
Toast('请前往云鹊医APP参加考试');
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册