feat:结束考试日志添加
This commit is contained in:
parent
cb86c2b903
commit
3b013f451c
@ -294,7 +294,7 @@ export default class Judge {
|
|||||||
//处理评判过程回调
|
//处理评判过程回调
|
||||||
handleRealExam = async (strData, callBack) => {
|
handleRealExam = async (strData, callBack) => {
|
||||||
let examData: EXAMDATA = JSON.parse(strData);
|
let examData: EXAMDATA = JSON.parse(strData);
|
||||||
const {getDqxmStr,getKfStr,goJudgeVoice,setMndg,avPlayer,judgeUI} = this;
|
const {getDqxmStr,getKfStr,goJudgeVoice,setMndg,avPlayer,fileLog,judgeUI} = this;
|
||||||
const {carzt,xmks,kf,event,xmjs,xmqx,ksjs,sound,mndg,lane} = examData
|
const {carzt,xmks,kf,event,xmjs,xmqx,ksjs,sound,mndg,lane} = examData
|
||||||
const param512 = (judgeUI.judgeConfigObj['512'] || '').split(',');
|
const param512 = (judgeUI.judgeConfigObj['512'] || '').split(',');
|
||||||
//获取项目结束、项目开始代码
|
//获取项目结束、项目开始代码
|
||||||
@ -379,6 +379,9 @@ export default class Judge {
|
|||||||
//考试结束
|
//考试结束
|
||||||
case 5:
|
case 5:
|
||||||
this.ksjs = ksjs;
|
this.ksjs = ksjs;
|
||||||
|
await fileLog.setExamJudgeData({
|
||||||
|
method: 'examjudgeEndExam',
|
||||||
|
})
|
||||||
break;
|
break;
|
||||||
|
|
||||||
//项目取消
|
//项目取消
|
||||||
@ -756,7 +759,8 @@ export default class Judge {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 校验考试是否结束
|
// 校验考试是否结束
|
||||||
checkExamIsEnd = async (isManual?: boolean) => {
|
checkExamIsEnd =
|
||||||
|
async (isManual?: boolean) => {
|
||||||
const {judgeUI,avPlayer,isExamEnd,isEndTip} = this;
|
const {judgeUI,avPlayer,isExamEnd,isEndTip} = this;
|
||||||
const {isAllProjectsEnd,examSubject,singlePlay,totalScore,judgeConfigObj,passingScore} = judgeUI;
|
const {isAllProjectsEnd,examSubject,singlePlay,totalScore,judgeConfigObj,passingScore} = judgeUI;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user