From a778d5e53e74b2170e37607b2536a957dbc1d664 Mon Sep 17 00:00:00 2001 From: yj <2077506045@qq.com> Date: 星期一, 25 十一月 2024 13:59:58 +0800 Subject: [PATCH] 合并本地修改 --- src/views/demography/langOption.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/demography/langOption.vue b/src/views/demography/langOption.vue index 25a9f98..2f7930e 100644 --- a/src/views/demography/langOption.vue +++ b/src/views/demography/langOption.vue @@ -32,7 +32,7 @@ return { langTypes: [], langSelectValue: this.$route.query.langSelectValue, - fromDo: this.$route.query.fromDo, + // fromDo: this.$route.query.fromDo, langWelcome: this.$t('langWelcomeChinese'), langOption: this.$t('langOptionChinese'), timer: null, @@ -41,7 +41,6 @@ } }, created: function () { - let _this = this window.clearInterval(this.timer) _this.getLangType() @@ -78,7 +77,7 @@ submitLangOption: function () { let _this = this _this.setLangType(_this.langSelectValue) - _this.$router.push({ path: '/demography/fill/index', query: { demographyMenber: _this.memberToken, isStart: false } }) + _this.$router.push({ path: '/demography/fill/index', query: { demographyMenber: _this.memberToken, isStart: false, langType: _this.langType } }) window.clearInterval(this.timer) }, getLangAndRportTemplateId () { @@ -92,7 +91,6 @@ demographyApi.queryLangList(_this.memberToken, _this.reportTemplateId).then(function (result) { if (result && result.code === 1) { _this.langTypes = result.response - console.log("longTypes", _this.langTypes) } } ).catch(e => { @@ -111,6 +109,7 @@ _this.$message.error(_this.$t('noquestionMsg')) }) } + }, ...mapMutations('user', ['setMemberTocken']), ...mapMutations('user', ['setLangType']), -- Gitblit v1.9.1