diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 903fc4f..5ce8b5a 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -561,6 +561,13 @@ export default { this.minutes = `${m > 9 ? m : `0${m}`}`; this.seconds = `${s > 9 ? s : `0${s}`}`; } else { + this.$alert('考核结束,已自动交卷', '提示', { + confirmButtonText: '确定', + callback: action => { + + } + }); + this.Submit() this.day = '00'; this.hour = '00'; this.minutes = '00'; diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 23a3074..d2258a7 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -33,8 +33,13 @@ export default { }) }, exit(){ - let cid = sessionStorage.getItem('cid') - window.location = 'http://39.108.250.202/student/#/station/preview?courseId='+cid+'&curriculumName=银行项目' + let stopTime = sessionStorage.getItem('timestamp') + if (stopTime){ + window.location = 'http://39.108.250.202/student/#/ass/list' + }else{ + let cid = sessionStorage.getItem('cid') + window.location = 'http://39.108.250.202/student/#/station/preview?courseId='+cid+'&curriculumName=银行项目' + } }, }, }; diff --git a/src/pages/lobbyManager/list/index.vue b/src/pages/lobbyManager/list/index.vue index 7a52ec3..6521c90 100644 --- a/src/pages/lobbyManager/list/index.vue +++ b/src/pages/lobbyManager/list/index.vue @@ -1,7 +1,7 @@