From 36ee391002b46deca205c3c9cdf63de5f8a0861e Mon Sep 17 00:00:00 2001 From: 阳洁 <2077506045@qq.com> Date: 星期四, 29 二月 2024 16:01:20 +0800 Subject: [PATCH] 修改APIFan为API_Fan --- src/views/demography/login.vue | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/views/demography/login.vue b/src/views/demography/login.vue index f4584f7..3cf9faf 100644 --- a/src/views/demography/login.vue +++ b/src/views/demography/login.vue @@ -18,6 +18,7 @@ parasInfos: [], parasInfoIds: {}, formDo: {}, + reportTemplateType: null, statusInfo: { '2': this.$t('statusInfo2'), '3': this.$t('statusInfo3'), '4': this.$t('statusInfo4') } } }, @@ -36,6 +37,7 @@ _this.$router.push({ path: '/exam/exception', query: { name: '', content: _this.statusInfo[re.response.status] } }) } else { // _this.doUrl = re.response.doUrl + _this.reportTemplateType = re.response.productType _this.setMemberTocken(_this.paraMemberToken) _this.setDoUrl(re.response.doUrl) _this.setReportTemplateId(re.response.reportTemplateId) @@ -52,13 +54,21 @@ reParam => { if (reParam.code !== 1) { // 鑱屼笟鍏磋叮鎶ュ憡鐗规畩鍖栧鐞� 鍙湁涓枃 - if(_this.doUrl === 'career_interests') { + if (_this.doUrl === 'career_interests') { _this.$i18n.locale = 'zh' _this.setLangType('Chinese') _this.$router.push({ path: '/demography/fill/index', query: { demographyMenber: _this.memberToken, isStart: false } }) return } + // APIFan鍋氱壒娈婂鐞� 鍙湁涓枃 + if (_this.reportTemplateType === 'API_Fan') { + _this.$i18n.locale = 'zh' + _this.setLangType('Chinese') + _this.$router.push({ path: '/demography/fill/logo', query: { demographyMenber: _this.memberToken, isStart: false } }) + return + } + // 鍏堥�夋嫨瀵嗙爜 _this.$router.push({ path: '/demography/fill/langOption', query: { langSelectValue: _this.langType } }) _this.setMemberTocken(_this.paraMemberToken) -- Gitblit v1.9.1