mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
feat:修改外部考试
This commit is contained in:
@@ -2595,13 +2595,10 @@ export default {
|
||||
if (item.type == 1) {
|
||||
if (item.taskStatus == 1 || item.taskStatus == 2)
|
||||
return message.error("该任务无法学习,请联系管理员进行替换。");
|
||||
window.open(
|
||||
codeUrl =
|
||||
window.location.protocol +
|
||||
import.meta.env.VUE_APP_BOE_API_URL +
|
||||
"/mobile/pages/study/courseStudy?id=" +
|
||||
item.targetId,
|
||||
"_top"
|
||||
);
|
||||
process.env.VUE_APP_ONLINE_CLASS_URL +
|
||||
item.targetId;
|
||||
}
|
||||
if (item.type == 2) {
|
||||
let date1 = new Date(item.endTime).getTime();
|
||||
@@ -2642,6 +2639,11 @@ export default {
|
||||
process.env.VUE_APP_H5 +
|
||||
"/externalexam?courseId=" +
|
||||
item.courseId;
|
||||
} else {
|
||||
codeUrl =
|
||||
window.location.protocol +
|
||||
process.env.VUE_APP_EXAM_DETAIL_URL +
|
||||
item.targetId;
|
||||
}
|
||||
}
|
||||
// 直播结束时间
|
||||
|
||||
Reference in New Issue
Block a user