mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
feat:修改外部考试
This commit is contained in:
4
.env
4
.env
@@ -27,10 +27,10 @@ VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673963663229.xlsx
|
|||||||
VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=外部考试学员成绩导入模板-1676551319283.xlsx
|
VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=外部考试学员成绩导入模板-1676551319283.xlsx
|
||||||
|
|
||||||
#在线
|
#在线
|
||||||
VITE_BOE_ONLINE_CLASS_URL=//u-pre.boe.com/pc/course/studyindex?id=
|
VUE_APP_ONLINE_CLASS_URL=//u-pre.boe.com/mobile/pages/study/courseStudy?id=
|
||||||
#案例
|
#案例
|
||||||
VITE_BOE_CASS_DETAIL_URL=//u-pre.boe.com/pc/case/detail?id=
|
VITE_BOE_CASS_DETAIL_URL=//u-pre.boe.com/pc/case/detail?id=
|
||||||
#考试
|
#考试
|
||||||
VITE_BOE_EXAM_DETAIL_URL=//u-pre.boe.com/pc/exam/test?id=
|
VUE_APP_EXAM_DETAIL_URL=//u-pre.boe.com/mobile/pages/exam/exam?id=
|
||||||
#h5的基本url
|
#h5的基本url
|
||||||
VUE_APP_H5=//u-pre.boe.com/student-h5
|
VUE_APP_H5=//u-pre.boe.com/student-h5
|
||||||
|
|||||||
4
.env.boe
4
.env.boe
@@ -11,6 +11,6 @@ VUE_APP_UP_LOAD_STUDENT_TEMPLATE=coursefile/导入学员模版-1677140876274.xls
|
|||||||
# 外部考试导入成绩模板
|
# 外部考试导入成绩模板
|
||||||
VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=coursefile/外部考试学员成绩导入模板-1677055614438.xlsx
|
VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=coursefile/外部考试学员成绩导入模板-1677055614438.xlsx
|
||||||
#在线
|
#在线
|
||||||
VITE_BOE_ONLINE_CLASS_URL=//u-pre.boe.com/pc/course/studyindex?id=
|
VUE_APP_ONLINE_CLASS_URL=//u-pre.boe.com/mobile/pages/study/courseStudy?id=
|
||||||
VITE_BOE_CASS_DETAIL_URL=//u-pre.boe.com/pc/case/detail?id=
|
VITE_BOE_CASS_DETAIL_URL=//u-pre.boe.com/pc/case/detail?id=
|
||||||
VITE_BOE_EXAM_DETAIL_URL=//u-pre.boe.com/pc/exam/test?id=
|
VUE_APP_EXAM_DETAIL_URL=//u-pre.boe.com/mobile/pages/exam/exam?id=
|
||||||
@@ -17,6 +17,6 @@ VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673963663229.xlsx
|
|||||||
# 外部考试导入成绩模板
|
# 外部考试导入成绩模板
|
||||||
VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=外部考试学员成绩导入模板-1676551319283.xlsx
|
VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=外部考试学员成绩导入模板-1676551319283.xlsx
|
||||||
|
|
||||||
VITE_BOE_ONLINE_CLASS_URL=//u.boe.com/pc/course/studyindex?id=
|
VUE_APP_ONLINE_CLASS_URL=//u.boe.com/mobile/pages/study/courseStudy?id=
|
||||||
VITE_BOE_CASS_DETAIL_URL=//u.boe.com/pc/case/detail?id=
|
VITE_BOE_CASS_DETAIL_URL=//u.boe.com/pc/case/detail?id=
|
||||||
VITE_BOE_EXAM_DETAIL_URL=//u.boe.com/pc/exam/test?id=
|
VUE_APP_EXAM_DETAIL_URL=//u.boe.com/mobile/pages/exam/exam?id=
|
||||||
@@ -16,6 +16,6 @@ VUE_APP_COURSE_STUDY=//u.boe.com/pc-release/course/studyindex?id=
|
|||||||
VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673963663229.xlsx
|
VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673963663229.xlsx
|
||||||
# 外部考试导入成绩模板
|
# 外部考试导入成绩模板
|
||||||
VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=外部考试学员成绩导入模板-1676551319283.xlsx
|
VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=外部考试学员成绩导入模板-1676551319283.xlsx
|
||||||
VITE_BOE_ONLINE_CLASS_URL=//u.boe.com/pc-release/course/studyindex?id=
|
VUE_APP_ONLINE_CLASS_URL=//u.boe.com/mobile/pages/study/courseStudy?id=
|
||||||
VITE_BOE_CASS_DETAIL_URL=//u.boe.com/pc-release/case/detail?id=
|
VITE_BOE_CASS_DETAIL_URL=//u.boe.com/pc-release/case/detail?id=
|
||||||
VITE_BOE_EXAM_DETAIL_URL=//u.boe.com/pc-release/exam/test?id=
|
VUE_APP_EXAM_DETAIL_URL=//u.boe.com/mobile/pages/exam/exam?id=
|
||||||
@@ -2595,13 +2595,10 @@ export default {
|
|||||||
if (item.type == 1) {
|
if (item.type == 1) {
|
||||||
if (item.taskStatus == 1 || item.taskStatus == 2)
|
if (item.taskStatus == 1 || item.taskStatus == 2)
|
||||||
return message.error("该任务无法学习,请联系管理员进行替换。");
|
return message.error("该任务无法学习,请联系管理员进行替换。");
|
||||||
window.open(
|
codeUrl =
|
||||||
window.location.protocol +
|
window.location.protocol +
|
||||||
import.meta.env.VUE_APP_BOE_API_URL +
|
process.env.VUE_APP_ONLINE_CLASS_URL +
|
||||||
"/mobile/pages/study/courseStudy?id=" +
|
item.targetId;
|
||||||
item.targetId,
|
|
||||||
"_top"
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
if (item.type == 2) {
|
if (item.type == 2) {
|
||||||
let date1 = new Date(item.endTime).getTime();
|
let date1 = new Date(item.endTime).getTime();
|
||||||
@@ -2642,6 +2639,11 @@ export default {
|
|||||||
process.env.VUE_APP_H5 +
|
process.env.VUE_APP_H5 +
|
||||||
"/externalexam?courseId=" +
|
"/externalexam?courseId=" +
|
||||||
item.courseId;
|
item.courseId;
|
||||||
|
} else {
|
||||||
|
codeUrl =
|
||||||
|
window.location.protocol +
|
||||||
|
process.env.VUE_APP_EXAM_DETAIL_URL +
|
||||||
|
item.targetId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 直播结束时间
|
// 直播结束时间
|
||||||
|
|||||||
@@ -4498,13 +4498,10 @@ export default {
|
|||||||
if (item.type == 1) {
|
if (item.type == 1) {
|
||||||
if (item.taskStatus == 1 || item.taskStatus == 2)
|
if (item.taskStatus == 1 || item.taskStatus == 2)
|
||||||
return message.error("该任务无法学习,请联系管理员进行替换。");
|
return message.error("该任务无法学习,请联系管理员进行替换。");
|
||||||
window.open(
|
codeUrl =
|
||||||
window.location.protocol +
|
window.location.protocol +
|
||||||
import.meta.env.VUE_APP_BOE_API_URL +
|
process.env.VUE_APP_ONLINE_CLASS_URL +
|
||||||
"/mobile/pages/study/courseStudy?id=" +
|
item.targetId;
|
||||||
item.targetId,
|
|
||||||
"_top"
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
if (item.type == 2) {
|
if (item.type == 2) {
|
||||||
let date1 = new Date(item.endTime).getTime();
|
let date1 = new Date(item.endTime).getTime();
|
||||||
@@ -4544,6 +4541,11 @@ export default {
|
|||||||
process.env.VUE_APP_H5 +
|
process.env.VUE_APP_H5 +
|
||||||
"/externalexam?courseId=" +
|
"/externalexam?courseId=" +
|
||||||
item.courseId;
|
item.courseId;
|
||||||
|
} else {
|
||||||
|
codeUrl =
|
||||||
|
window.location.protocol +
|
||||||
|
process.env.VUE_APP_EXAM_DETAIL_URL +
|
||||||
|
item.targetId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 直播结束时间
|
// 直播结束时间
|
||||||
|
|||||||
Reference in New Issue
Block a user