|
|
|
@ -930,7 +930,8 @@ export default { |
|
|
|
|
async toSub () { |
|
|
|
|
// 理论试卷 |
|
|
|
|
if (this.isTheory) { |
|
|
|
|
window.open(this.$router.resolve(`/theoryExam?paperId=${this.curPaper}&cid=${this.courseId}&mallId=${this.mallId}&curriculumName=${encodeURIComponent(this.curriculumName)}`).href) |
|
|
|
|
sessionStorage.removeItem('theorySubmit') |
|
|
|
|
window.open(this.$router.resolve(`/theoryExam?paperId=${this.curPaper}&cid=${this.courseId}&mallId=${this.mallId}&curriculumName=${encodeURIComponent(this.curriculumName)}`).href, 'theory') |
|
|
|
|
} else { |
|
|
|
|
// 实训 |
|
|
|
|
let curProject = this.projects.find(e => e.projectId == this.curProject) |
|
|
|
@ -949,7 +950,7 @@ export default { |
|
|
|
|
window.open(`http://${Setting.zcPath}?systemId=${systemId}&courseId=${this.courseId}&projectId=${this.curProject}&token=${token}&userId=${this.userId}&classId=1&mallId=${this.mallId}${Setting.isTest ? '&beta=1' : ''}`); |
|
|
|
|
} else if (systemId == 19) { |
|
|
|
|
// 沙盘 |
|
|
|
|
location.href = `${Setting.sandPath}/#/?curriculumName=${this.curriculumName}&token=${token}&cid=${this.courseId}&mallId=${this.mallId}&systemId=${this.systemIds}&projectId=${this.curProject}&assessmentId=&classId=&stopTime=&referrer=${encodeURIComponent(location.href)}` |
|
|
|
|
window.open(`${Setting.sandPath}/#/?curriculumName=${this.curriculumName}&token=${token}&cid=${this.courseId}&mallId=${this.mallId}&systemId=${this.systemIds}&projectId=${this.curProject}&assessmentId=&classId=&stopTime=&referrer=${encodeURIComponent(location.href)}`, 'sand') |
|
|
|
|
} else { |
|
|
|
|
// python系统 |
|
|
|
|
this.toPython(this.curProject) |
|
|
|
|