From d1eecb4abff242f3f3a642e56de99dd2793adc8a Mon Sep 17 00:00:00 2001
From: 84702473 <84702473@qq.com>
Date: 星期六, 04 三月 2023 23:40:12 +0800
Subject: [PATCH] 价值观测试产品

---
 src/views/demography/langOption.vue |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/views/demography/langOption.vue b/src/views/demography/langOption.vue
index ff4257f..3fd7c4e 100644
--- a/src/views/demography/langOption.vue
+++ b/src/views/demography/langOption.vue
@@ -32,8 +32,8 @@
     return {
       langTypes: [],
       langSelectValue: this.$route.query.langSelectValue,
-      langWelcome: this.$t('langWelcomeEnglish'),
-      langOption: this.$t('langOptionEnglish'),
+      langWelcome: this.$t('langWelcomeChinese'),
+      langOption: this.$t('langOptionChinese'),
       timer: null,
       submissionLang: this.$t('submission'),
       isLangKaiStyle: false
@@ -50,15 +50,15 @@
         num = 0
       }
       if (num === 0) {
-        _this.langWelcome = _this.$t('langWelcomeEnglish')
-        _this.langOption = _this.$t('langOptionEnglish')
-        _this.isLangKaiStyle = false
-      }
-
-      if (num === 3) {
         _this.langWelcome = _this.$t('langWelcomeChinese')
         _this.langOption = _this.$t('langOptionChinese')
         _this.isLangKaiStyle = true
+      }
+
+      if (num === 3) {
+        _this.langWelcome = _this.$t('langWelcomeEnglish')
+        _this.langOption = _this.$t('langOptionEnglish')
+        _this.isLangKaiStyle = false
       }
 
       if (num === 6) {
@@ -84,7 +84,7 @@
       if (_this.reportTemplateId.trim() === '' || _this.reportTemplateId.trim() === null) {
         examPaperApi.selectTokenId(_this.memberToken).then(re => {
           if (re.response.finish === 1) {
-            _this.$router.push({ path: '/exam/finish', query: { name: '', content: _this.$t('finishMsg') } })
+            _this.$router.push({ path: '/exam/finish', query: { name: '', content: _this.$t('finishMsg'), tokenId: _this.memberToken } })
           } else {
             _this.setReportTemplateId(re.response.reportTemplateId)
             demographyApi.queryLangList(_this.memberToken, _this.reportTemplateId).then(function (result) {

--
Gitblit v1.9.1