|
@@ -108,6 +108,12 @@ export default {
|
|
"/api/ecs_oe_student/examControl/checkExamInProgress"
|
|
"/api/ecs_oe_student/examControl/checkExamInProgress"
|
|
)).data;
|
|
)).data;
|
|
if (examingRes) {
|
|
if (examingRes) {
|
|
|
|
+ window._hmt.push([
|
|
|
|
+ "_trackEvent",
|
|
|
|
+ "在线考试列表页面",
|
|
|
|
+ "断点续考",
|
|
|
|
+ "概览页返回"
|
|
|
|
+ ]);
|
|
this.$Spin.show({
|
|
this.$Spin.show({
|
|
render: () => {
|
|
render: () => {
|
|
return <div style="font-size: 24px">正在进入断点续考...</div>;
|
|
return <div style="font-size: 24px">正在进入断点续考...</div>;
|
|
@@ -141,6 +147,7 @@ export default {
|
|
)).data;
|
|
)).data;
|
|
// sleep function: await new Promise(resolve => setTimeout(() => resolve(), 3000));
|
|
// sleep function: await new Promise(resolve => setTimeout(() => resolve(), 3000));
|
|
if (ipLimit.limited) {
|
|
if (ipLimit.limited) {
|
|
|
|
+ window._hmt.push(["_trackEvent", "在线考试列表页面", "IP受限"]);
|
|
this.spinShow = false;
|
|
this.spinShow = false;
|
|
this.$Message.error("IP受限,请到中心指定地点进行考试!");
|
|
this.$Message.error("IP受限,请到中心指定地点进行考试!");
|
|
return;
|
|
return;
|
|
@@ -155,6 +162,7 @@ export default {
|
|
// if 人脸检测 && 没有底照,提示,并返回
|
|
// if 人脸检测 && 没有底照,提示,并返回
|
|
if (!this.user.photoPath) {
|
|
if (!this.user.photoPath) {
|
|
this.spinShow = false;
|
|
this.spinShow = false;
|
|
|
|
+ window._hmt.push(["_trackEvent", "在线考试列表页面", "无底照"]);
|
|
this.$Message.info(
|
|
this.$Message.info(
|
|
"本场考试需要进行人脸检测,但是您没有上传底照,请联系老师!"
|
|
"本场考试需要进行人脸检测,但是您没有上传底照,请联系老师!"
|
|
);
|
|
);
|
|
@@ -201,9 +209,21 @@ export default {
|
|
// if 人脸识别失败 && 考试未开启强制人脸识别
|
|
// if 人脸识别失败 && 考试未开启强制人脸识别
|
|
// 让学生手动确认进入考试,若取消,则返回
|
|
// 让学生手动确认进入考试,若取消,则返回
|
|
this.selectedCourse = course;
|
|
this.selectedCourse = course;
|
|
|
|
+ window._hmt.push([
|
|
|
|
+ "_trackEvent",
|
|
|
|
+ "在线考试列表页面",
|
|
|
|
+ "人脸识别框",
|
|
|
|
+ "弹出框"
|
|
|
|
+ ]);
|
|
this.toggleFaceCheckModal(true);
|
|
this.toggleFaceCheckModal(true);
|
|
} else {
|
|
} else {
|
|
this.spinShow = false;
|
|
this.spinShow = false;
|
|
|
|
+ window._hmt.push([
|
|
|
|
+ "_trackEvent",
|
|
|
|
+ "在线考试列表页面",
|
|
|
|
+ "进入考试",
|
|
|
|
+ "无人脸检测"
|
|
|
|
+ ]);
|
|
this.$router.push(
|
|
this.$router.push(
|
|
`/online-exam/exam/${course.examId}/overview?examStudentId=${
|
|
`/online-exam/exam/${course.examId}/overview?examStudentId=${
|
|
course.examStudentId
|
|
course.examStudentId
|