[测评系统]--前端(用户答题页面)
yj
2024-05-09 325a5fb0c4a83b20849578c22dc49c0453c01dec
src/views/demography/login.vue
@@ -31,6 +31,13 @@
    })
    // 已经答完了不能答题
    examPaperApi.selectTokenId(_this.paraMemberToken).then(re => {
      if (re.response.logoUrl === null || re.response.logoUrl === '') {
        _this.setLogo('none')
      } else {
        _this.setLogo(re.response.logoUrl)
      }
      console.log(re.response)
      _this.setProductType(re.response.productType)
      if (re.response.finish === 1) {
        _this.$router.push({ path: '/exam/finish', query: { name: '', content: _this.$t('finishMsg'), tokenId: _this.paraMemberToken } })
      } else if (re.response.status !== '1') {
@@ -109,6 +116,7 @@
    ...mapMutations('exam', ['setReportTemplateId']),
    ...mapMutations('user', ['setLangType']),
    ...mapMutations('user', ['getLangType']),
    ...mapMutations('user', ['setLogo']),
    ...mapMutations('exam', ['setProductType'])
  },