From de1a27b74cead93a9818ed0573251edb6fe7d8d1 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 13 Dec 2021 14:38:16 +0800
Subject: [PATCH] +

---
 src/views/exam/startexam.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/exam/startexam.vue b/src/views/exam/startexam.vue
index 825dc53..6270b1d 100644
--- a/src/views/exam/startexam.vue
+++ b/src/views/exam/startexam.vue
@@ -2,7 +2,7 @@
  * @Author: Morpheus
  * @Date: 2021-07-31 16:31:54
  * @Last Modified by: liu
- * @Last Modified time: 2021-12-13 11:48:44
+ * @Last Modified time: 2021-12-13 14:37:49
  * menu-name 考试管理
  */
 <template>
@@ -86,6 +86,7 @@
   },
   data() {
     return {
+      scoreId: "",
       //继续考试时间
       currentTime: 0,
       startTime: 0,
@@ -144,7 +145,8 @@
     startExam() {
       var that = this;
       if (that.option.data[0].isExam == 3) {
-        // console.log(that.resData);
+        that.resData["examScoreId"] = that.scoreId;
+        console.log(that.resData);
         that.$router.push({
           path: `/startexam/${that.resData.scoreId}`,
           query: that.resData,
@@ -312,6 +314,7 @@
             }
             // console.log(data, 123456);
             if (data.isExam == 3) {
+              this.scoreId = data.scoreId;
               setData({ color: "success", subtext: "继续考试", isExam: 3 });
               const currentTimeSTART = moment(data.examStartTime);
               const currentSTART = currentTimeSTART.valueOf();

--
Gitblit v1.9.3