简历头衔英文报错
parent
f94fad9c7a
commit
d69413cf6c
|
@ -21,7 +21,7 @@
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item :label="$t('resumeInfo:label:Title')">
|
<el-form-item :label="$t('resumeInfo:label:Title')">
|
||||||
<span v-if="isEnglish">
|
<span v-if="isEnglish">
|
||||||
{{ (Array.isArray(basicInfo.Title)&& basicInfo.Title.length > 0) ? basicInfo.TitleList.join(', ') : '' }}
|
{{ (Array.isArray(basicInfo.TitleList)&& basicInfo.TitleList.length > 0) ? basicInfo.TitleList.join(', ') : '' }}
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
{{ (Array.isArray(basicInfo.TitleCNList)&& basicInfo.TitleCNList.length > 0) ? basicInfo.TitleCNList.join(', ') : '' }}
|
{{ (Array.isArray(basicInfo.TitleCNList)&& basicInfo.TitleCNList.length > 0) ? basicInfo.TitleCNList.join(', ') : '' }}
|
||||||
|
|
|
@ -76,7 +76,15 @@ export default {
|
||||||
researchInfo: {
|
researchInfo: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default() {
|
default() {
|
||||||
return {}
|
return {
|
||||||
|
Research: null,
|
||||||
|
ResearchCN: null,
|
||||||
|
Grants: null,
|
||||||
|
GrantsCN: null,
|
||||||
|
Publications: null,
|
||||||
|
AwardsHonors: null,
|
||||||
|
AwardsHonorsCN: null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
isEnglish: {
|
isEnglish: {
|
||||||
|
|
|
@ -177,6 +177,7 @@ export default {
|
||||||
if (res.Result) {
|
if (res.Result) {
|
||||||
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.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()
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item :label="$t('resumeInfo:label:Title')">
|
<el-form-item :label="$t('resumeInfo:label:Title')">
|
||||||
<span v-if="isEnglish">
|
<span v-if="isEnglish">
|
||||||
{{ (Array.isArray(basicInfo.Title)&& basicInfo.Title.length > 0) ? basicInfo.TitleList.join(', ') : '' }}
|
{{ (Array.isArray(basicInfo.TitleList)&& basicInfo.TitleList.length > 0) ? basicInfo.TitleList.join(', ') : '' }}
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
{{ (Array.isArray(basicInfo.TitleCNList)&& basicInfo.TitleCNList.length > 0) ? basicInfo.TitleCNList.join(', ') : '' }}
|
{{ (Array.isArray(basicInfo.TitleCNList)&& basicInfo.TitleCNList.length > 0) ? basicInfo.TitleCNList.join(', ') : '' }}
|
||||||
|
|
|
@ -70,7 +70,15 @@ export default {
|
||||||
researchInfo: {
|
researchInfo: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default() {
|
default() {
|
||||||
return {}
|
return {
|
||||||
|
Research: null,
|
||||||
|
ResearchCN: null,
|
||||||
|
Grants: null,
|
||||||
|
GrantsCN: null,
|
||||||
|
Publications: null,
|
||||||
|
AwardsHonors: null,
|
||||||
|
AwardsHonorsCN: null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
isEnglish: {
|
isEnglish: {
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
<el-collapse-item :title="$t('resumeInfo:title:Research&Publication')" name="5">
|
<el-collapse-item :title="$t('resumeInfo:title:Research&Publication')" name="5">
|
||||||
<research-publication :research-info="doctorInfo.ResearchPublicationView" :is-english="isEnglish" />
|
<research-publication :research-info="doctorInfo.ResearchPublicationView" :is-english="isEnglish" />
|
||||||
|
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
<el-collapse-item :title="$t('resumeInfo:title:TrialExperience')" name="6">
|
<el-collapse-item :title="$t('resumeInfo:title:TrialExperience')" name="6">
|
||||||
<trial-experience v-if="doctorInfo.TrialExperienceView" :trial-experience="doctorInfo.TrialExperienceView" :is-english="isEnglish" />
|
<trial-experience v-if="doctorInfo.TrialExperienceView" :trial-experience="doctorInfo.TrialExperienceView" :is-english="isEnglish" />
|
||||||
|
|
Loading…
Reference in New Issue