[测评系统]--前端(用户答题页面)
阳洁
2023-05-10 c6dd775e9437ba929a2633c1a9f4d71379e5d19b
src/views/exam/paper/do.vue
@@ -232,7 +232,7 @@
          showClose: false
        }).then(async () => {
          _this.answer.verifyStatus = 2
          _this.submitAnswer('数据已经成功的上传至服务器,并已经保存好。谢谢。')
          _this.submitAnswer('数据已经成功地上传至服务器,并已经保存好。谢谢。')
        }).catch(async () => {
          _this.formLoading = false
          _this.submitDisable = false
@@ -240,7 +240,7 @@
      } else {
        _this.answer.verifyStatus = 1
        _this.answer.finish = 1
        _this.submitAnswer('您已经完成了工作行为问卷,数据已经成功的上传至服务器,并已经保存好。谢谢。')
        _this.submitAnswer('您已经完成了工作行为问卷,数据已经成功地上传至服务器,并已经保存好。谢谢。')
      }
    },
    startDo: function () {
@@ -251,7 +251,7 @@
      let _this = this
      examPaperAnswerApi.answerSubmit(this.answer, _this.memberToken).then(re => {
        if (re.code === 1) {
          _this.$router.push({ path: '/exam/finish', query: { name: _this.form.name, content: mess } })
          _this.$router.push({ path: '/exam/finish', query: { name: _this.form.name, content: mess, tokenId: _this.memberToken } })
        } else {
          _this.$message.error(re.message + '/exam/finish')
        }