mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
--fix bug
This commit is contained in:
@@ -2630,22 +2630,7 @@ export default {
|
||||
item.courseId;
|
||||
}
|
||||
if (item.type == 2) {
|
||||
// let date1 = new Date(item.endTime).getTime();
|
||||
// let date2 = new Date().getTime();
|
||||
// if (date1 < date2) return message.warning("当前面授课已结束");
|
||||
// if (item.taskStatus == 1 || item.taskStatus == 2)
|
||||
// return message.error("该任务无法学习,请联系管理员进行替换。");
|
||||
|
||||
// codeUrl =
|
||||
// window.location.protocol +
|
||||
// process.env.VUE_APP_H5 +
|
||||
// "/faceteach?type=2&courseId=" +
|
||||
// item.courseId +
|
||||
// "&id=" +
|
||||
// item.id; pathmappage?routerId=513&chapterId=730&isStudy=true
|
||||
|
||||
// codeUrl = window.location.protocol + process.env.VUE_APP_H5 + "/pathdetails?routerId=" + state.routerId;
|
||||
codeUrl = window.location.protocol + process.env.VUE_APP_H5 + "/pathmappage?routerId=" + state.routerId + "&chapterId=" + item.chapterId + "&isStudy=true";
|
||||
codeUrl = `${window.location.protocol + process.env.VUE_APP_H5}/FaceTeachCourseList?courseId=${item.courseId}&type=2&taskId=${item.id}`;
|
||||
}
|
||||
if (item.type == 3) return message.error("请在pc端完成");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user