1. 线上 BUG 4

This commit is contained in:
gengxin
2025-03-19 18:42:42 +08:00
parent 3920d049b9
commit 7c8f01d95e

View File

@@ -3940,6 +3940,8 @@ function onFocusEnd(){
}] }]
state.changeName = true state.changeName = true
state.xjkkinputV3 = [moment().format('YYYY-MM-DD HH:mm'),''] state.xjkkinputV3 = [moment().format('YYYY-MM-DD HH:mm'),'']
state.examInfo = {};
//清除缓存 //清除缓存
state.cstm_hs = true; state.cstm_hs = true;
}; };
@@ -4028,7 +4030,7 @@ function onFocusEnd(){
// teacher: state.member.name, // teacher: state.member.name,
offteachers: state.offteachers, offteachers: state.offteachers,
workInfo: state.workInfo, //提交的作业信息 workInfo: state.workInfo, //提交的作业信息
examInfo: !state.kk_eidt?{}:state.examInfo, //提交的考试信息 examInfo: state.examInfo, //提交的考试信息
beforeStart: state.beforeValue, //考勤 开始前 beforeStart: state.beforeValue, //考勤 开始前
afterStart: state.afterStartValue, //考勤 开始后 afterStart: state.afterStartValue, //考勤 开始后
score: state.scoreParams, score: state.scoreParams,
@@ -4118,18 +4120,13 @@ function onFocusEnd(){
if (item.homeWorkId) { if (item.homeWorkId) {
queryWorkDetailById({ workId: item.homeWorkId }).then( queryWorkDetailById({ workId: item.homeWorkId }).then(
(res) => {state.workInfo = res.data.data} (res) => (state.workInfo = res.data.data)
); );
} }
if (item.testId) { if (item.testId) {
console.log("queryExaminationDetailById res.data.data",item.testId);
queryExaminationDetailById({ examinationId: item.testId }).then( queryExaminationDetailById({ examinationId: item.testId }).then(
(res) => { (res) => (state.examInfo = res.data.data)
console.log("queryExaminationDetailById res.data.data",res.data.data)
state.examInfo = res.data.data
console.log("queryExaminationDetailById state.examInfo",state.examInfo)
}
); );
} }
// if(item.evalFlag){ // if(item.evalFlag){