20240205
e 3 years ago
parent 72c15afb8b
commit 48652171fd
  1. 7
      src/components/case/index.vue
  2. 5
      src/layouts/header/index.vue
  3. 19
      src/pages/lobbyManager/list/index.vue

@ -561,6 +561,13 @@ export default {
this.minutes = `${m > 9 ? m : `0${m}`}`; this.minutes = `${m > 9 ? m : `0${m}`}`;
this.seconds = `${s > 9 ? s : `0${s}`}`; this.seconds = `${s > 9 ? s : `0${s}`}`;
} else { } else {
this.$alert('考核结束,已自动交卷', '提示', {
confirmButtonText: '确定',
callback: action => {
}
});
this.Submit()
this.day = '00'; this.day = '00';
this.hour = '00'; this.hour = '00';
this.minutes = '00'; this.minutes = '00';

@ -33,8 +33,13 @@ export default {
}) })
}, },
exit(){ exit(){
let stopTime = sessionStorage.getItem('timestamp')
if (stopTime){
window.location = 'http://39.108.250.202/student/#/ass/list'
}else{
let cid = sessionStorage.getItem('cid') let cid = sessionStorage.getItem('cid')
window.location = 'http://39.108.250.202/student/#/station/preview?courseId='+cid+'&curriculumName=银行项目' window.location = 'http://39.108.250.202/student/#/station/preview?courseId='+cid+'&curriculumName=银行项目'
}
}, },
}, },
}; };

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap"> <div class="wrap">
<img class="sth manager" src="@/assets/img/manager.png" alt=""> <img class="sth manager" src="@/assets/img/manager.png" alt="">
<div class="sth guide" @click="toPart('../index/list')" alt=""> <div class="sth guide" @click="toPart" alt="">
返回 返回
</div> </div>
<div class="actions"> <div class="actions">
@ -170,8 +170,21 @@ export default {
this.takeVisible = false this.takeVisible = false
this.takeResultVisible = true this.takeResultVisible = true
}, },
toPart(path){ toPart(){
this.$router.push(path) let token = sessionStorage.getItem('token')
let cid = sessionStorage.getItem('cid')
let systemId = sessionStorage.getItem('systemId')
let projectId = sessionStorage.getItem('projectId')
let assessmentId = sessionStorage.getItem('assessmentId')
let classId = sessionStorage.getItem('classId')
if (projectId){
location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId+'&projectId='+projectId+'&assessmentId='+assessmentId+'&classId='+classId
// location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId+'&projectId='+projectId+'&assessmentId='+assessmentId+'&classId='+classId
}else{
location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId
// location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId
}
}, },
showData(){ showData(){
this.dataVisible = true this.dataVisible = true

Loading…
Cancel
Save