[测评系统]--前端(用户答题页面)
zhijie
2023-12-11 dc9c1c7c486ee140f1cdc64d0aeafffdced612f4
src/views/exam/paper/guide.vue
@@ -1,7 +1,7 @@
<template>
  <div>
    <el-container class="app-item-contain">
      <el-header class="align-center" style="height: 50px;padding: 1%;">
      <el-header class="align-center" style="height: 50px;padding: 1%;margin-top: 4%">
        <H2 v-html="$t('guide')" v-if="formDo.questionTemplateId !== 'job' || formDo.questionTemplateId !== 'values'"></H2>
      </el-header>
      <el-main style="padding-top:0%">
@@ -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 + ' 更新状态失败')
      })