[测评系统]--前端(用户答题页面)
yj
2024-05-08 d8fc3ec09f864dc336b649f66a2c62345da12629
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('response')
      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 } })
@@ -110,6 +117,7 @@
    ...mapMutations('exam', ['setReportTemplateId']),
    ...mapMutations('user', ['setLangType']),
    ...mapMutations('user', ['getLangType']),
    ...mapMutations('user', ['setLogo']),
    ...mapMutations('exam', ['setProductType'])
  },