[测评系统]--前端(用户答题页面)
zhijie
2023-12-11 dc9c1c7c486ee140f1cdc64d0aeafffdced612f4
src/views/exam/paper/guide.vue
@@ -36,7 +36,12 @@
    doExam: function () {
      let _this = this
      examPaperApi.updateTestMemberStatus(_this.memberToken).then(re => {
        _this.$router.push({ path: '/exam/' + _this.doUrl, query: { formDo: _this.$route.query.formDo } })
        // LAQ特殊处理
        if (_this.formDo.name.indexOf('LAQ') !== -1) {
          _this.$router.push({ path: '/exam/' + _this.formDo.questionTemplateId, query: { formDo: _this.$route.query.formDo } })
        } else {
          _this.$router.push({ path: '/exam/' + _this.doUrl, query: { formDo: _this.$route.query.formDo } })
        }
      }).catch(re => {
        _this.$message.error(re.message + ' 更新状态失败')
      })