[测评系统]--前端(用户答题页面)
zhijie
2023-12-04 887e0b1473e995e8ae55b400d540ccc41efb145a
新增LAQ支持
2个文件已修改
10 ■■■■ 已修改文件
src/views/demography/login.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/exam/paper/intelligence.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/demography/login.vue
@@ -18,8 +18,7 @@
      parasInfos: [],
      parasInfoIds: {},
      formDo: {},
      statusInfo: { '2': this.$t('statusInfo2'), '3': this.$t('statusInfo3'), '4': this.$t('statusInfo4') },
      doUrl: null
      statusInfo: { '2': this.$t('statusInfo2'), '3': this.$t('statusInfo3'), '4': this.$t('statusInfo4') }
    }
  },
  created () {
@@ -36,7 +35,7 @@
      } else if (re.response.status !== '1') {
        _this.$router.push({ path: '/exam/exception', query: { name: '', content: _this.statusInfo[re.response.status] } })
      } else {
        _this.doUrl = re.response.doUrl
        // _this.doUrl = re.response.doUrl
        _this.setMemberTocken(_this.paraMemberToken)
        _this.setDoUrl(re.response.doUrl)
        _this.setReportTemplateId(re.response.reportTemplateId)
src/views/exam/paper/intelligence.vue
@@ -694,6 +694,11 @@
          if (this.isTimeoutFinish()) {
            return
          }
          // 特殊处理 LAQ测试包 结束提示语
          if (_this.form.name === 'LAQ') {
            _this.$router.push({ path: '/exam/finish', query: { name: _this.form.name, content: _this.$t('finishMsg') } })
            return
          }
          _this.$router.push({ path: '/exam/finish', query: { name: _this.form.name, content: mess } })
        } else {
          _this.$message.error(re.message + '/exam/finish')