|
@@ -399,6 +399,7 @@ export default {
|
|
exams: [],
|
|
exams: [],
|
|
subjects: [],
|
|
subjects: [],
|
|
pageType: "0",
|
|
pageType: "0",
|
|
|
|
+ cachePaperType: "",
|
|
dataList: [],
|
|
dataList: [],
|
|
examRooms: [],
|
|
examRooms: [],
|
|
videoSourceStatusParams: {
|
|
videoSourceStatusParams: {
|
|
@@ -669,6 +670,7 @@ export default {
|
|
beforeRouteEnter(to, from, next) {
|
|
beforeRouteEnter(to, from, next) {
|
|
next((vm) => {
|
|
next((vm) => {
|
|
if (["WarningDetail", "VideoCommunication"].includes(from.name)) {
|
|
if (["WarningDetail", "VideoCommunication"].includes(from.name)) {
|
|
|
|
+ vm.pageType = vm.cachePaperType;
|
|
if (vm.curExamBatch.isExaming) {
|
|
if (vm.curExamBatch.isExaming) {
|
|
vm.loopRunning = true;
|
|
vm.loopRunning = true;
|
|
vm.timerUpdatePage();
|
|
vm.timerUpdatePage();
|
|
@@ -677,6 +679,8 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
beforeRouteLeave(to, from, next) {
|
|
beforeRouteLeave(to, from, next) {
|
|
|
|
+ this.cachePaperType = this.pageType;
|
|
|
|
+ this.pageType = "0";
|
|
this.loopRunning = false;
|
|
this.loopRunning = false;
|
|
this.clearLoopSetTs();
|
|
this.clearLoopSetTs();
|
|
delete window.inviligateWarning;
|
|
delete window.inviligateWarning;
|