From b1f4b07417ce38dcff3f0b2a9fa0fef9ab183b28 Mon Sep 17 00:00:00 2001 From: 阳洁 <2077506045@qq.com> Date: 星期四, 22 二月 2024 15:48:08 +0800 Subject: [PATCH] 1. 人格问卷答题目选项增加边框 2. API-Fan事中提示语解析变量 3. 答题完毕的提示语修改 4. 答题完毕页面增加关闭页面按钮 --- src/views/demography/langOption.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/demography/langOption.vue b/src/views/demography/langOption.vue index c204e19..0e3a6c0 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> @@ -84,12 +84,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