diff --git a/src/views/reviewers/ReviewersResearch.vue b/src/views/reviewers/ReviewersResearch.vue index 84b8f39d..cf78879a 100644 --- a/src/views/reviewers/ReviewersResearch.vue +++ b/src/views/reviewers/ReviewersResearch.vue @@ -3,7 +3,8 @@

- 独立阅片人信息填写 + + {{$t("trials:researchForm:form:title")}}

{ @@ -149,9 +151,14 @@ export default { isHaveSiteSurveyRecord: false } }, + created(){ + this.$i18n.locale = this.$route.query.lang + this.setLanguage(this.$route.query.lang) + }, mounted() { }, methods: { + ...mapMutations({ setLanguage: 'lang/setLanguage' }), // 提交 onSubmit() { this.$refs['resetForm'].validate(valid => { @@ -176,7 +183,7 @@ export default { store.dispatch('user/setTree', menuTree.Result) store.dispatch('user/setPermissions', permissions.Result) // this.$router.push({ path: `/researchForm?trialId=${this.trialId}&trialSiteSurveyId=${res.Result.TrialSiteSurveyId}` }) - this.$router.push({path: `/ReviewersResearchForm?Id=${res.Result.DoctorId ? res.Result.DoctorId : ''}&tabActive=BasicInfo&ReviewStatus=${res.Result.ReviewStatus}`}) + this.$router.push({path: `/ReviewersResearchForm?Id=${res.Result.DoctorId ? res.Result.DoctorId : ''}&tabActive=BasicInfo&ReviewStatus=${res.Result.ReviewStatus}&lang=${this.$route.query.lang}`}) }).catch(() => { this.btnLoading = false this.sendDisabled = false diff --git a/src/views/reviewers/ReviewersResearchForm.vue b/src/views/reviewers/ReviewersResearchForm.vue index ae9b9908..a71bffa7 100644 --- a/src/views/reviewers/ReviewersResearchForm.vue +++ b/src/views/reviewers/ReviewersResearchForm.vue @@ -44,6 +44,7 @@ import Resumes from './components/Resumes' import Agreements from './components/Agreements' import Setting from './components/Setting' import { changeURLStatic, getQueryString } from '@/utils/history.js' +import { mapMutations } from 'vuex' export default { components: { BasicInfo, @@ -74,6 +75,10 @@ export default { } } }, + created(){ + this.$i18n.locale = this.$route.query.lang + this.setLanguage(this.$route.query.lang) + }, mounted() { this.active = this.$route.query.tabActive if (this.$route.query.Id === '' && this.active !== 'BasicInfo') { @@ -82,6 +87,7 @@ export default { this.load[this.active] = true }, methods: { + ...mapMutations({ setLanguage: 'lang/setLanguage' }), clickTab(tab, event) { if (this.load[tab.name] === false) { this.load[tab.name] = true diff --git a/src/views/reviewers/components/BasicInfo.vue b/src/views/reviewers/components/BasicInfo.vue index 7340d1ca..80a76aad 100644 --- a/src/views/reviewers/components/BasicInfo.vue +++ b/src/views/reviewers/components/BasicInfo.vue @@ -114,7 +114,7 @@ clearable class="mr" > - + diff --git a/src/views/reviewers/index.vue b/src/views/reviewers/index.vue index 2c0b329d..58e4ee40 100644 --- a/src/views/reviewers/index.vue +++ b/src/views/reviewers/index.vue @@ -405,7 +405,7 @@ export default { }, showResearchLink() { const trialId = this.trialId - this.shareLink = `${location.protocol}//${location.host}/ReviewersResearch` + this.shareLink = `${location.protocol}//${location.host}/ReviewersResearch?lang=${this.$store.getters.language}` this.share_model.visible = true }, lookResumeInfo(row) { diff --git a/src/views/trials/trials-workbench/index.vue b/src/views/trials/trials-workbench/index.vue index 7251cd9a..d26f95a0 100644 --- a/src/views/trials/trials-workbench/index.vue +++ b/src/views/trials/trials-workbench/index.vue @@ -145,6 +145,13 @@
+ +
+
+ + {{ $t('trials:workbench:title:ExpeditedImageSubmission') }}·{{ tabList.CRC_ImageSubmitCount }} +
+
@@ -166,13 +173,6 @@ {{ $t('trials:workbench:title:ImageRetransmission') }}·{{ tabList.CRC_ImageReUploadCount }}
- -
-
- - {{ $t('trials:workbench:title:ExpeditedImageSubmission') }}·{{ tabList.CRC_ImageSubmitCount }} -
-