进入理论考试改成弹出页

dev_202412
yujialong 2 months ago
parent 16a1b014c7
commit b7142db102
  1. 2
      src/pages/ass/list/index.vue
  2. 2
      src/pages/match/details/index.vue
  3. 2
      src/pages/match/list/index.vue
  4. 5
      src/pages/station/preview/index.vue
  5. 2
      src/pages/touristMatch/list/index.vue

@ -390,7 +390,7 @@ export default {
//
if (paperId) {
window.open(this.$router.resolve(`/theoryExam?paperId=${paperId}&assessmentId=${this.assessmentId}&classId=${classId}&cid=${this.cid}&mallId=${mallId}&curriculumName=${row.sysName}`).href)
window.open(this.$router.resolve(`/theoryExam?paperId=${paperId}&assessmentId=${this.assessmentId}&classId=${classId}&cid=${this.cid}&mallId=${mallId}&curriculumName=${row.sysName}`).href, 'theory')
} else {
//
Util.cookies.set("token", token)

@ -1799,7 +1799,7 @@ export default {
mallId = mallId || ''
//
if (method === 1) {
window.open(this.$router.resolve(`/theoryExam?competitionId=${form.id}&stageId=${stageId}&teamId=${teamId}`).href)
window.open(this.$router.resolve(`/theoryExam?competitionId=${form.id}&stageId=${stageId}&teamId=${teamId}`).href, 'theory')
} else {
let token = Util.local.get(Setting.tokenKey);
if (systemId == 11) {

@ -1118,7 +1118,7 @@ export default {
mallId = mallId || ''
//
if (method === 1) {
window.open(this.$router.resolve(`/theoryExam?competitionId=${form.id}&stageId=${stageId}&teamId=${teamId}`).href)
window.open(this.$router.resolve(`/theoryExam?competitionId=${form.id}&stageId=${stageId}&teamId=${teamId}`).href, 'theory')
this.choosing = false
} else {
let token = Util.local.get(Setting.tokenKey)

@ -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)

@ -838,7 +838,7 @@ export default {
//
if (method === 1) {
window.open(this.$router.resolve(`/theoryExam?competitionId=${form.id}&stageId=${stageId}&teamId=${teamId}`).href)
window.open(this.$router.resolve(`/theoryExam?competitionId=${form.id}&stageId=${stageId}&teamId=${teamId}`).href, 'theory')
this.choosing = false
} else {
let token = Util.local.get(Setting.tokenKey)

Loading…
Cancel
Save