From 48652171fd1dea6074cc52867acb058bf6c1c431 Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Tue, 30 Nov 2021 18:53:41 +0800 Subject: [PATCH] bug --- src/components/case/index.vue | 7 +++++++ src/layouts/header/index.vue | 9 +++++++-- src/pages/lobbyManager/list/index.vue | 19 ++++++++++++++++--- 3 files changed, 30 insertions(+), 5 deletions(-) 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 @@