-
Education (in chronological order)
+
{{ $t('resumeInfo:label:Education') }}
-
+
-
+
{{ isEnglish?scope.row.Degree:scope.row.DegreeCN }}
-
+
{{ isEnglish?scope.row.Major:scope.row.MajorCN }}
@@ -34,7 +34,7 @@
@@ -44,7 +44,7 @@
-
+
{{ isEnglish?scope.row.City:scope.row.CityCN }}
@@ -53,7 +53,7 @@
@@ -63,7 +63,7 @@
-
+
{{ isEnglish?scope.row.Country:scope.row.CountryCN }}
@@ -72,25 +72,25 @@
-
Postgraduate Training (in chronological order)
+
{{$t('resumeInfo:label:PostgraduateTraining')}}
-
+
-
+
{{ isEnglish?scope.row.Training:scope.row.TrainingCN }}
@@ -99,7 +99,7 @@
@@ -110,21 +110,21 @@
-
+
{{ isEnglish?scope.row.Hospital:scope.row.HospitalCN }}
-
+
{{ isEnglish?scope.row.School:scope.row.SchoolCN }}
-
+
{{ isEnglish?scope.row.City:scope.row.CityCN }}
@@ -133,7 +133,7 @@
@@ -143,7 +143,7 @@
-
+
{{ isEnglish?scope.row.Country:scope.row.CountryCN }}
diff --git a/src/views/resumeInfo/components/Employment.vue b/src/views/resumeInfo/components/Employment.vue
index f616dbbe..380098a6 100644
--- a/src/views/resumeInfo/components/Employment.vue
+++ b/src/views/resumeInfo/components/Employment.vue
@@ -3,25 +3,25 @@
-
+
{{ employment.Department }}
{{ employment.DepartmentCN }}
-
+
{{ employment.Rank }}
{{ employment.RankCN }}
-
+
{{ employment.Physician }}
{{ employment.PhysicianCN }}
-
+
{{ employment.Position }}
{{ employment.PositionCN }}
@@ -30,31 +30,31 @@
-
+
{{ employment.HospitalName }}
{{ employment.HospitalNameCN }}
-
+
{{ employment.UniversityAffiliated }}
{{ employment.UniversityAffiliatedCN }}
-
+
{{ employment.City }}
{{ employment.CityCN }}
-
+
{{ employment.Province }}
{{ employment.ProvinceCN }}
-
+
{{ employment.Country }}
{{ employment.CountryCN }}
diff --git a/src/views/resumeInfo/components/ResearchPublication.vue b/src/views/resumeInfo/components/ResearchPublication.vue
index 90ce06e6..ba10a320 100644
--- a/src/views/resumeInfo/components/ResearchPublication.vue
+++ b/src/views/resumeInfo/components/ResearchPublication.vue
@@ -1,102 +1,102 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/resumeInfo/components/Resume.vue b/src/views/resumeInfo/components/Resume.vue
index 99f28dd6..ab341dd4 100644
--- a/src/views/resumeInfo/components/Resume.vue
+++ b/src/views/resumeInfo/components/Resume.vue
@@ -4,23 +4,23 @@
-
+
@@ -30,13 +30,13 @@
-
+
- Download
+ {{ $t('common:button:download') }}
diff --git a/src/views/resumeInfo/components/Specialty.vue b/src/views/resumeInfo/components/Specialty.vue
index 68bd53ab..47005c24 100644
--- a/src/views/resumeInfo/components/Specialty.vue
+++ b/src/views/resumeInfo/components/Specialty.vue
@@ -1,58 +1,58 @@
-
-
-
-
- {{ specialty.Speciality }}
- {{ specialty.SpecialityCN }}
-
-
-
- {{ specialty.Subspeciality }}
- {{ specialty.SubspecialityCNList }}
-
-
-
- {{ specialty.ReadingType }}
- {{ specialty.ReadingTypeCNList }}
-
-
-
-
-
-
-
-
+
+
+
+
+ {{ specialty.Speciality }}
+ {{ specialty.SpecialityCN }}
+
+
+
+ {{ specialty.Subspeciality }}
+ {{ specialty.SubspecialityCNList }}
+
+
+
+ {{ specialty.ReadingType }}
+ {{ specialty.ReadingTypeCNList }}
+
+
+
+
+
+
+
+
diff --git a/src/views/resumeInfo/components/StatusInfo.vue b/src/views/resumeInfo/components/StatusInfo.vue
index 9ac7760d..4a96ecfe 100644
--- a/src/views/resumeInfo/components/StatusInfo.vue
+++ b/src/views/resumeInfo/components/StatusInfo.vue
@@ -3,7 +3,7 @@
-
+
-
+
-
+
-
+
{{ holiday }}
Planned Vacation
+ >{{ $t('resumeInfo:label:PlannedVacation') }}
diff --git a/src/views/resumeInfo/components/TrialExperience.vue b/src/views/resumeInfo/components/TrialExperience.vue
index 35d8ba93..2097affd 100644
--- a/src/views/resumeInfo/components/TrialExperience.vue
+++ b/src/views/resumeInfo/components/TrialExperience.vue
@@ -1,15 +1,15 @@
-
Clinical Trial Experience
+
{{$t('resumeInfo:title:ClinicalTrialExperience')}}
-
-
+
+
@@ -19,20 +19,20 @@
-
+
{{ GCP }}
View
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -64,6 +64,7 @@ import Credentials from './components/Credentials'
import Resume from './components/Resume'
import Agreements from './components/Agreements'
import Comment from './components/Comment'
+import {mapMutations} from "vuex";
export default {
components: { StatusInfo, BasicInfo, Employment, Specialty, EducationTraining, ResearchPublication, TrialExperience, Credentials, Resume, Agreements, Comment },
data() {
@@ -91,14 +92,27 @@ export default {
doctorId: ''
}
},
+ watch: {
+ isEnglish(v) {
+ if (v === true) {
+ this.$i18n.locale = 'en'
+ this.setLanguage('en')
+ this.$updateDictionary()
+ } else {
+ this.$i18n.locale = 'zh'
+ this.setLanguage('zh')
+ this.$updateDictionary()
+ }
+ }
+ },
mounted() {
- // this.isEnglish = !!((this.$route.query.isEnglish === true || this.$route.query.isEnglish === 'true'))
- // this.isEnglish = this.$i18n.locale === 'zh' ? false : true
+ this.isEnglish = !!((this.$route.query.isEnglish === true || this.$route.query.isEnglish === 'true'))
+ this.isEnglish = this.$i18n.locale === 'zh' ? false : true
this.doctorId = this.$route.query.doctorId
this.initForm()
},
methods: {
-
+ ...mapMutations({ setLanguage: 'lang/setLanguage' }),
initStatus() {
if (this.doctorInfo.AuditView) {
const res = this.doctorInfo.AuditView
@@ -177,7 +191,7 @@ export default {
if (res.Result) {
this.holiday = res.Result.InHoliday ? 'Yes' : 'No'
this.doctorInfo = res.Result
- this.title = `${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName}'s Details`
+ this.title = `${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName}${this.$t('resumeInfo:title:Details')}`
this.htmlTitle = this.title
this.initStatus()
this.initEmploymentInfo()
diff --git a/src/views/system/login-log/index.vue b/src/views/system/login-log/index.vue
index e07b5dfc..6b18a46e 100644
--- a/src/views/system/login-log/index.vue
+++ b/src/views/system/login-log/index.vue
@@ -119,7 +119,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/trials/trials-panel/study/components/nonDicomPreview.vue b/src/views/trials/trials-panel/study/components/nonDicomPreview.vue
index 074a5e5e..519ba6ef 100644
--- a/src/views/trials/trials-panel/study/components/nonDicomPreview.vue
+++ b/src/views/trials/trials-panel/study/components/nonDicomPreview.vue
@@ -1,94 +1,94 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/src/views/trials/trials-panel/subject/subject-list/components/MessageTable.vue b/src/views/trials/trials-panel/subject/subject-list/components/MessageTable.vue
index 0f23e768..9f83d822 100644
--- a/src/views/trials/trials-panel/subject/subject-list/components/MessageTable.vue
+++ b/src/views/trials/trials-panel/subject/subject-list/components/MessageTable.vue
@@ -215,7 +215,7 @@ export default {
},
handlePreview(filePath) {
if (filePath) {
- window.open(filePath, '_blank')
+ window.open(this.OSSclientConfig.basePath + filePath, '_blank')
}
},
handleSearch() {
diff --git a/src/views/trials/trials-panel/visit/consistency-check/index.vue b/src/views/trials/trials-panel/visit/consistency-check/index.vue
index 7ea951ae..7a5a659f 100644
--- a/src/views/trials/trials-panel/visit/consistency-check/index.vue
+++ b/src/views/trials/trials-panel/visit/consistency-check/index.vue
@@ -66,6 +66,7 @@
diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/previewFiles.vue b/src/views/trials/trials-panel/visit/crc-upload/components/previewFiles.vue
index 5c4faede..fa17ae8c 100644
--- a/src/views/trials/trials-panel/visit/crc-upload/components/previewFiles.vue
+++ b/src/views/trials/trials-panel/visit/crc-upload/components/previewFiles.vue
@@ -82,7 +82,7 @@ export default {
},
downLoadFile(filePath) {
if (!filePath) return
- window.open(filePath, '_blank')
+ window.open(this.OSSclientConfig.basePath + filePath, '_blank')
}
}
}
diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/previewVisitNoneDicomFiles.vue b/src/views/trials/trials-panel/visit/crc-upload/components/previewVisitNoneDicomFiles.vue
index 3f36ba93..b8c7eef6 100644
--- a/src/views/trials/trials-panel/visit/crc-upload/components/previewVisitNoneDicomFiles.vue
+++ b/src/views/trials/trials-panel/visit/crc-upload/components/previewVisitNoneDicomFiles.vue
@@ -74,7 +74,7 @@ export default {
},
downLoadFile(filePath) {
if (!filePath) return
- window.open(filePath, '_blank')
+ window.open(this.OSSclientConfig.basePath + filePath, '_blank')
},
preview(file) {
this.$set(this.fileInfo, 'currentFileType', this.getFileType(file.FileName))