From c55459d32fbeb311e4988eaf72fc5ac999627975 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Wed, 7 Aug 2024 18:11:58 +0800 Subject: [PATCH 1/2] =?UTF-8?q?qc=E9=97=AE=E9=A2=98=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../qc-question/components/DefaultQS.vue | 46 ++++++------------- 1 file changed, 14 insertions(+), 32 deletions(-) diff --git a/src/views/trials/trials-panel/setting/qc-question/components/DefaultQS.vue b/src/views/trials/trials-panel/setting/qc-question/components/DefaultQS.vue index 0f16a720..97f06d29 100644 --- a/src/views/trials/trials-panel/setting/qc-question/components/DefaultQS.vue +++ b/src/views/trials/trials-panel/setting/qc-question/components/DefaultQS.vue @@ -7,23 +7,6 @@ - - - - - - @@ -70,16 +53,6 @@ :label="$t('trials:qcCfg:table:questionName')" show-overflow-tooltip /> - - - - { return { @@ -167,15 +141,23 @@ export default { selectArr: [] } }, - mounted() { - this.trialId = this.$route.query.trialId - this.getList() + computed: { + ...mapGetters(['language']) + }, + created(){ + this.trialId = this.$route.query.trialId; + this.getList(); }, methods: { // 获取受试者列表信息 getList() { this.loading = true - this.searchData.TrialId = this.trialId + this.searchData.TrialId = this.trialId; + if (this.$i18n.locale === 'zh') { + this.searchData.LanguageType = 0 + } else { + this.searchData.LanguageType = 1 + } getQCQuestionConfigureList(this.searchData).then(res => { this.loading = false this.list = res.Result.CurrentPageData @@ -214,7 +196,7 @@ export default { }, // 重置 handleReset() { - this.searchData = searchDataDefault() + this.searchData = searchDataDefault(); this.getList() } } From 4184293636108562fcf76903b89cefb3335522dc Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Wed, 7 Aug 2024 18:16:41 +0800 Subject: [PATCH 2/2] =?UTF-8?q?LiLi-uat=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/blindResumeInfo/info.vue | 4 ++-- src/views/research/login.vue | 2 +- .../trials/trials-panel/enrolled-reviewers/list/index.vue | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/blindResumeInfo/info.vue b/src/views/blindResumeInfo/info.vue index 1790345c..2c2305e2 100644 --- a/src/views/blindResumeInfo/info.vue +++ b/src/views/blindResumeInfo/info.vue @@ -1,14 +1,14 @@