|
|
@ -220,6 +220,12 @@ export default { |
|
|
|
e.retResult = '' // 返回结果(1为正确 0为错误) |
|
|
|
e.retResult = '' // 返回结果(1为正确 0为错误) |
|
|
|
curReq.push(e.judgmentId) |
|
|
|
curReq.push(e.judgmentId) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
if (this.projectPermissions) { |
|
|
|
|
|
|
|
this.projectList = [{ |
|
|
|
|
|
|
|
projectId: projectId, |
|
|
|
|
|
|
|
projectName: project.projectName |
|
|
|
|
|
|
|
}] |
|
|
|
|
|
|
|
} |
|
|
|
this.curReq = curReq // 实验要求默认全部展开,通过judgmentId来选中item |
|
|
|
this.curReq = curReq // 实验要求默认全部展开,通过judgmentId来选中item |
|
|
|
this.points = points |
|
|
|
this.points = points |
|
|
|
this.taskList = points // 实验任务 |
|
|
|
this.taskList = points // 实验任务 |
|
|
@ -256,6 +262,7 @@ export default { |
|
|
|
const classId = this.classId |
|
|
|
const classId = this.classId |
|
|
|
// 匹配到该考核,并且已经提交过(有reportId则说明有实验记录),并且classId跟当前用户的classId相同,就提示提交了考核然后返回上一页 |
|
|
|
// 匹配到该考核,并且已经提交过(有reportId则说明有实验记录),并且classId跟当前用户的classId相同,就提示提交了考核然后返回上一页 |
|
|
|
if (list.find(e => e.assessmentId == assessmentId && e.reportId && e.classId == classId)) { |
|
|
|
if (list.find(e => e.assessmentId == assessmentId && e.reportId && e.classId == classId)) { |
|
|
|
|
|
|
|
console.log(33) |
|
|
|
done = true |
|
|
|
done = true |
|
|
|
this.isSubmit = true |
|
|
|
this.isSubmit = true |
|
|
|
newmain.$emit('isSubmit', this.isSubmit) |
|
|
|
newmain.$emit('isSubmit', this.isSubmit) |
|
|
|