From 72dcbfdd82008d64a825d01de4fcc36ec1826d60 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Wed, 11 Sep 2024 09:52:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/miniClass/classInfo.vue | 4 ++-- pages/miniClass/classInfoWork.vue | 10 ++++++++-- pages/miniClass/components/sutdent_score_list.vue | 6 +++--- pages/miniClass/test.vue | 6 ++---- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/pages/miniClass/classInfo.vue b/pages/miniClass/classInfo.vue index f904b6b..c0aef5d 100644 --- a/pages/miniClass/classInfo.vue +++ b/pages/miniClass/classInfo.vue @@ -662,8 +662,8 @@ // paperData = await this.getlocaltestInfo('paperEndTime') var historyPaper = await this.getingPaper() this.ingPaper = historyPaper - console.log('对比----------------', historyPaper.classId, this.classId); - if (historyPaper && historyPaper.classId == this.classId) { + // console.log('对比----------------', historyPaper.classId, this.classId); + if (historyPaper&& historyPaper != null && historyPaper.classId == this.classId) { paperEndTime = this.hourUp(historyPaper.startTime, 1) // 结束的时间戳 this.examId = historyPaper.id } else { diff --git a/pages/miniClass/classInfoWork.vue b/pages/miniClass/classInfoWork.vue index e4ba5f2..25b586e 100644 --- a/pages/miniClass/classInfoWork.vue +++ b/pages/miniClass/classInfoWork.vue @@ -55,7 +55,7 @@ 国学VIP - @@ -70,7 +70,7 @@ 不合格: 20 人 - + --> - 共 + 共 {{students.length}} 名学员 - + diff --git a/pages/miniClass/test.vue b/pages/miniClass/test.vue index 331da18..7fd55fd 100644 --- a/pages/miniClass/test.vue +++ b/pages/miniClass/test.vue @@ -151,9 +151,7 @@ // this.examId = e.id if (this.testPaper.length <= 0) { this.getTestPage() - } - - + } // this.questIndexList = await this.getNowList('add') }, onHide() { @@ -165,7 +163,7 @@ }, beforeDestroy() { if (!this.isOvertime) { // 如果中途退出 - this.giveZero() + // this.giveZero() } },