|
@@ -333,10 +333,7 @@ export default {
|
|
isClient: false,
|
|
isClient: false,
|
|
isCurrent: false,
|
|
isCurrent: false,
|
|
isManual: false,
|
|
isManual: false,
|
|
- collectConfig:
|
|
|
|
- item.examNumber === examNumber
|
|
|
|
- ? this.getCurCollectConfig()
|
|
|
|
- : null
|
|
|
|
|
|
+ collectConfig: null
|
|
};
|
|
};
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
@@ -383,6 +380,7 @@ export default {
|
|
});
|
|
});
|
|
|
|
|
|
if (result) {
|
|
if (result) {
|
|
|
|
+ this.curCollectConfig = {};
|
|
logger.info(
|
|
logger.info(
|
|
`04保存试卷成功:${this.curStudent.examNumber} - ${this.curStudent.name}`
|
|
`04保存试卷成功:${this.curStudent.examNumber} - ${this.curStudent.name}`
|
|
);
|
|
);
|
|
@@ -463,8 +461,8 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
getCurCollectConfig() {
|
|
getCurCollectConfig() {
|
|
- return this.curStudent && this.curStudent.collectConfig
|
|
|
|
- ? this.curStudent.collectConfig
|
|
|
|
|
|
+ return this.curCollectConfig.codeArea
|
|
|
|
+ ? this.curCollectConfig
|
|
: this.curSubject.collectConfig;
|
|
: this.curSubject.collectConfig;
|
|
},
|
|
},
|
|
scrollTaskList() {
|
|
scrollTaskList() {
|
|
@@ -505,7 +503,7 @@ export default {
|
|
},
|
|
},
|
|
studentConfigChange(setting) {
|
|
studentConfigChange(setting) {
|
|
// console.log(setting);
|
|
// console.log(setting);
|
|
- this.curStudent.collectConfig = setting;
|
|
|
|
|
|
+ this.curCollectConfig = setting;
|
|
this.startDecodeTask(setting.codeArea);
|
|
this.startDecodeTask(setting.codeArea);
|
|
},
|
|
},
|
|
// toreset
|
|
// toreset
|