[测评系统]--前端(用户答题页面)
linzhijie
2021-07-19 51d8b24da3de576138868d026dcd8ff69e27d70e
src/views/exam/paper/job.vue
@@ -77,7 +77,6 @@
        titleItems: null,
        answerItems: [],
        verifyStatus: 2,
        finish: 0,
        questionOrder: []
      },
      timer: null,
@@ -210,6 +209,7 @@
      this.answer.questionOrder = this.form.questionOrder
      let titleItemArray = this.form.titleItems
      this.answer.titleItems = this.form.titleItems
      this.submitDisable = true
      for (let tIndex in titleItemArray) {
        let questionArray = titleItemArray[tIndex].questionItems
        // titleItem 是一段一段的题目
@@ -295,6 +295,9 @@
      }
      if (jumpNextFlag) {
        _this.nextSubject()
        this.submitDisable = false
      } else {
        this.submitDisable = true
      }
    },
    submitForm () {
@@ -306,7 +309,9 @@
      for (let i = 0; i < _this.answer.answerItems.length; i++) {
        if (_this.answer.answerItems[i].content === null) {
          unFinish = true
          _this.answer.finish = 0
          // 有未完成的答题应该是 2答题中
          // 之前是0未处理
          _this.answer.finish = 2
        }
      }
      if (unFinish) {