智慧保安考试系统
+
liuyg
2021-12-13 de1a27b74cead93a9818ed0573251edb6fe7d8d1
+
1 files modified
7 ■■■■ changed files
src/views/exam/startexam.vue 7 ●●●● patch | view | raw | blame | history
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();