国际化问题

uat_us
熊飞 2024-02-21 16:22:13 +08:00
parent 8d9790f68e
commit d8cd8d336d
2 changed files with 4 additions and 4 deletions

View File

@ -90,7 +90,7 @@ export default {
this.setLanguage('zh') this.setLanguage('zh')
this.$updateDictionary() this.$updateDictionary()
} }
this.title = this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.BlindName} ${this.$t('resumeInfo:title:Details')}`:'' this.title = this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.BlindName}${this.$t('resumeInfo:title:Details')}`:''
} }
}, },
mounted() { mounted() {
@ -180,7 +180,7 @@ export default {
this.holiday = res.Result.InHoliday ? 'Yes' : 'No' this.holiday = res.Result.InHoliday ? 'Yes' : 'No'
this.doctorInfo = res.Result this.doctorInfo = res.Result
!this.doctorInfo.ResearchPublicationView ? this.doctorInfo.ResearchPublicationView = {} : ''; !this.doctorInfo.ResearchPublicationView ? this.doctorInfo.ResearchPublicationView = {} : '';
this.title = this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.BlindName} ${this.$t('resumeInfo:title:Details')}`:'' this.title = this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.BlindName}${this.$t('resumeInfo:title:Details')}`:''
// this.title = `${this.doctorInfo.BasicInfoView.BlindName} 's Details` // this.title = `${this.doctorInfo.BasicInfoView.BlindName} 's Details`
this.htmlTitle = this.title this.htmlTitle = this.title
this.initStatus() this.initStatus()

View File

@ -102,7 +102,7 @@ export default {
this.setLanguage('zh') this.setLanguage('zh')
this.$updateDictionary() this.$updateDictionary()
} }
this.title =this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName} ${this.$t('resumeInfo:title:Details')}`:'' this.title =this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName}${this.$t('resumeInfo:title:Details')}`:''
} }
}, },
mounted() { mounted() {
@ -192,7 +192,7 @@ export default {
this.holiday = res.Result.InHoliday ? 'Yes' : 'No' this.holiday = res.Result.InHoliday ? 'Yes' : 'No'
this.doctorInfo = res.Result this.doctorInfo = res.Result
!this.doctorInfo.ResearchPublicationView ? this.doctorInfo.ResearchPublicationView = {} : ''; !this.doctorInfo.ResearchPublicationView ? this.doctorInfo.ResearchPublicationView = {} : '';
this.title = `${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName} ${this.$t('resumeInfo:title:Details')}` this.title = `${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName}${this.$t('resumeInfo:title:Details')}`
this.htmlTitle = this.title this.htmlTitle = this.title
this.initStatus() this.initStatus()
this.initEmploymentInfo() this.initEmploymentInfo()