From 9aa68bf5f40032b0fbc02dbd5619036df50aa24e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E9=A3=9E?= Date: Tue, 12 Mar 2024 16:13:53 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E9=98=85=E7=89=87=E5=8D=95=E5=85=83?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../setting/reading-unit/components/ReadingRules.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue b/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue index ea094e29..0bcb858b 100644 --- a/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue +++ b/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue @@ -127,7 +127,7 @@ >
{{user.RealName}},{{ hoursTip }}
-
今天是{{new Date().getMonth() + 1}}月{{new Date().getDate()}}日,{{ dayOfWeek }}
+
{{$t('common:date:today')}}{{new Date().getMonth() + 1}}{{$t('common:date:month')}}{{new Date().getDate()}}{{$t('common:date:day')}},{{ dayOfWeek }}
@@ -462,17 +465,17 @@ export default { this.getUserTobeDoneRecord() this.getNeedSignTrialDocTrialIdList() this.getUserInfo() - const days = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']; + const days = [this.$t('common:date:Sunday'), this.$t('common:date:Monday'), this.$t('common:date:Tuesday'), this.$t('common:date:Wednesday'), this.$t('common:date:Thursday'), this.$t('common:date:Friday'), this.$t('common:date:Saturday')]; const date = new Date(); this.dayOfWeek = days[date.getDay()]; let date2=(new Date()).getHours(); let hoursTip = ""; if(date2>=6&&date2<12){ - hoursTip="上午好" + hoursTip= this.$t('common:date:good morning') }else if(date2>=12&&date2<18){ - hoursTip="下午好" + hoursTip=this.$t('common:date:good afternoon') }else{ - hoursTip="晚上好" + hoursTip=this.$t('common:date:good evening') } this.hoursTip = hoursTip }, From f66f0da07ecfc4ccc0a4210b0e8c60b4f8970518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E9=A3=9E?= Date: Tue, 12 Mar 2024 16:46:56 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E6=94=B9?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trials-panel/setting/medical-audit/components/QSForm.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/trials/trials-panel/setting/medical-audit/components/QSForm.vue b/src/views/trials/trials-panel/setting/medical-audit/components/QSForm.vue index f62d9ef7..52882344 100644 --- a/src/views/trials/trials-panel/setting/medical-audit/components/QSForm.vue +++ b/src/views/trials/trials-panel/setting/medical-audit/components/QSForm.vue @@ -260,6 +260,11 @@ export default { this.parentTriggerValOptions = this.parentOptions[index].TypeValue.split('|') } } + if (this.$i18n.locale === 'zh') { + this.form.LanguageType = 0 + } else { + this.form.LanguageType = 1 + } if (Object.keys(this.data).length > 0) { for (const k in this.form) { if (this.data.hasOwnProperty(k)) { From 2ff15bc2b8bdfcc77a887156ab4686b26180b3b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E9=A3=9E?= Date: Tue, 12 Mar 2024 17:09:37 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E6=94=B9?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/trials/trials-workbench/components/needSignSysDoc.vue | 2 +- .../trials/trials-workbench/components/needSignTrialDoc.vue | 2 +- .../trials/trials-workbench/components/needSignedSysDoc.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/trials/trials-workbench/components/needSignSysDoc.vue b/src/views/trials/trials-workbench/components/needSignSysDoc.vue index 8328f65e..4ee9f3b0 100644 --- a/src/views/trials/trials-workbench/components/needSignSysDoc.vue +++ b/src/views/trials/trials-workbench/components/needSignSysDoc.vue @@ -55,7 +55,7 @@ icon="el-icon-edit-outline" circle v-if="!isSigned" - :title="$t('trials:workbench:action:sign')" + :title="$t('trials:needSignSysDoc:action:sign')" @click="handleSign(scope.row)" /> diff --git a/src/views/trials/trials-workbench/components/needSignTrialDoc.vue b/src/views/trials/trials-workbench/components/needSignTrialDoc.vue index ce52780e..9abcf117 100644 --- a/src/views/trials/trials-workbench/components/needSignTrialDoc.vue +++ b/src/views/trials/trials-workbench/components/needSignTrialDoc.vue @@ -60,7 +60,7 @@ diff --git a/src/views/trials/trials-workbench/components/needSignedSysDoc.vue b/src/views/trials/trials-workbench/components/needSignedSysDoc.vue index 8328f65e..816f3502 100644 --- a/src/views/trials/trials-workbench/components/needSignedSysDoc.vue +++ b/src/views/trials/trials-workbench/components/needSignedSysDoc.vue @@ -55,7 +55,7 @@ icon="el-icon-edit-outline" circle v-if="!isSigned" - :title="$t('trials:workbench:action:sign')" + :title="$t('trials:needSignedSysDoc:action:sign')" @click="handleSign(scope.row)" /> From d91f07bba62aaca41a4a92137681489f052936bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E9=A3=9E?= Date: Tue, 12 Mar 2024 17:40:07 +0800 Subject: [PATCH 5/6] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E6=94=B9?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/consistency-analysis/index.vue | 12 ++++- src/views/trials/trials-workbench/index.vue | 49 +++++++++++-------- 2 files changed, 38 insertions(+), 23 deletions(-) diff --git a/src/views/trials/trials-panel/reading/consistency-analysis/index.vue b/src/views/trials/trials-panel/reading/consistency-analysis/index.vue index 355c31b9..dda1011f 100644 --- a/src/views/trials/trials-panel/reading/consistency-analysis/index.vue +++ b/src/views/trials/trials-panel/reading/consistency-analysis/index.vue @@ -439,7 +439,7 @@