From d9e74666ce84b0f32c5cd6f9799d61bd0b009f10 Mon Sep 17 00:00:00 2001
From: yj <2077506045@qq.com>
Date: 星期四, 04 七月 2024 09:28:27 +0800
Subject: [PATCH] 1.修复填写人口学变量页面刷新后变为英文的问题 2.更新JAQ文字,打开岗位说明 -> 问卷作答说明

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

diff --git a/src/views/demography/langOption.vue b/src/views/demography/langOption.vue
index c204e19..25a9f98 100644
--- a/src/views/demography/langOption.vue
+++ b/src/views/demography/langOption.vue
@@ -7,8 +7,8 @@
             <el-select v-model="langSelectValue"   :placeholder= "$t('pleaseSelect')" style="width: 55%">
               <el-option
                 v-for="itemIter in langTypes"
-                :key="itemIter.dictValue"
-                :label="itemIter.dictValue"
+                :key="itemIter.dictLabel"
+                :label="itemIter.dictLabel=='Chinese'?'涓枃':itemIter.dictLabel"
                 :value="itemIter.dictValue">
               </el-option>
             </el-select>
@@ -32,6 +32,7 @@
     return {
       langTypes: [],
       langSelectValue: this.$route.query.langSelectValue,
+      fromDo: this.$route.query.fromDo,
       langWelcome: this.$t('langWelcomeChinese'),
       langOption: this.$t('langOptionChinese'),
       timer: null,
@@ -40,6 +41,7 @@
     }
   },
   created: function () {
+
     let _this = this
     window.clearInterval(this.timer)
     _this.getLangType()
@@ -84,12 +86,13 @@
       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) {
               if (result && result.code === 1) {
                 _this.langTypes = result.response
+                console.log("longTypes", _this.langTypes)
               }
             }
             ).catch(e => {

--
Gitblit v1.9.1