|
@@ -273,7 +273,7 @@ export default {
|
|
|
this.startVideoAfterDelay = true;
|
|
|
}, 10 * 1000);
|
|
|
|
|
|
- window._hmt.push(["_trackEvent", "正在考试页面", "进入页面"]);
|
|
|
+ window._hmt.push(["_trackEvent", "答题页面", "进入页面"]);
|
|
|
|
|
|
if (typeof nodeRequire != "undefined") {
|
|
|
try {
|
|
@@ -303,7 +303,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
beforeRouteUpdate(from, to, next) {
|
|
|
- window._hmt.push(["_trackEvent", "正在考试页面", "题目切换"]);
|
|
|
+ window._hmt.push(["_trackEvent", "答题页面", "题目切换"]);
|
|
|
if (process.env.NODE_ENV === "development") {
|
|
|
console.log("beforeRouteUpdate from: " + this.$route.fullPath);
|
|
|
}
|
|
@@ -507,10 +507,6 @@ export default {
|
|
|
// );
|
|
|
this.toggleSnapNow();
|
|
|
}, SNAPSHOT_INTERVAL * 60 * 1000);
|
|
|
- this.logger({
|
|
|
- action: "答题页面",
|
|
|
- detail: "设置抓拍间隔-" + SNAPSHOT_INTERVAL,
|
|
|
- });
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -521,6 +517,16 @@ export default {
|
|
|
|
|
|
exam.freezeTime =
|
|
|
examProp.FREEZE_TIME && JSON.parse(examProp.FREEZE_TIME);
|
|
|
+ this.logger({
|
|
|
+ page: "答题页面",
|
|
|
+ examRecordDataId: this.$route.params.examRecordDataId,
|
|
|
+ faceCheckEnabled: faceCheckEnabled,
|
|
|
+ faceLivenessEnabled: faceLivenessEnabled,
|
|
|
+ WEIXIN_ANSWER_ENABLED: exam.WEIXIN_ANSWER_ENABLED,
|
|
|
+ SNAPSHOT_INTERVAL: examProp.SNAPSHOT_INTERVAL,
|
|
|
+ PRACTICE_TYPE: examProp.PRACTICE_TYPE,
|
|
|
+ FREEZE_TIME: examProp.FREEZE_TIME,
|
|
|
+ });
|
|
|
|
|
|
// parentQuestionBody
|
|
|
// questionUnitWrapperList
|
|
@@ -709,7 +715,7 @@ export default {
|
|
|
if (initFaceLivenessResult === false) {
|
|
|
window._hmt.push([
|
|
|
"_trackEvent",
|
|
|
- "正在考试页面",
|
|
|
+ "答题页面",
|
|
|
"活检接口再次获取失败-退出",
|
|
|
]);
|
|
|
this.$Message.error({
|
|
@@ -754,7 +760,7 @@ export default {
|
|
|
});
|
|
|
window._hmt.push([
|
|
|
"_trackEvent",
|
|
|
- "正在考试页面",
|
|
|
+ "答题页面",
|
|
|
"提交答案失败",
|
|
|
error.message +
|
|
|
" |||| " +
|
|
@@ -911,13 +917,8 @@ export default {
|
|
|
);
|
|
|
},
|
|
|
reloadPage() {
|
|
|
- window._hmt.push([
|
|
|
- "_trackEvent",
|
|
|
- "正在考试页面",
|
|
|
- "页面加载失败",
|
|
|
- "reload",
|
|
|
- ]);
|
|
|
- this.logger({ page: "正在考试页面", action: "页面加载失败" });
|
|
|
+ window._hmt.push(["_trackEvent", "答题页面", "页面加载失败", "reload"]);
|
|
|
+ this.logger({ page: "答题页面", action: "页面加载失败" });
|
|
|
window.location.reload();
|
|
|
},
|
|
|
},
|