简历中英文管理
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
bc6f15388d
commit
af27788e4c
|
@ -59,7 +59,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.MajorCN
|
||||
!isEN
|
||||
? `${scope.row.Major} / ${scope.row.MajorCN}`
|
||||
: scope.row.Major
|
||||
}}
|
||||
|
@ -73,7 +73,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.OrganizationCN
|
||||
!isEN
|
||||
? `${scope.row.Organization} / ${scope.row.OrganizationCN}`
|
||||
: scope.row.Organization
|
||||
}}
|
||||
|
@ -87,9 +87,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.CityCN
|
||||
? `${scope.row.City} / ${scope.row.CityCN}`
|
||||
: scope.row.City
|
||||
!isEN ? `${scope.row.City} / ${scope.row.CityCN}` : scope.row.City
|
||||
}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -101,7 +99,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.ProvinceCN
|
||||
!isEN
|
||||
? `${scope.row.Province} / ${scope.row.ProvinceCN}`
|
||||
: scope.row.Province
|
||||
}}
|
||||
|
@ -115,7 +113,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.CountryCN
|
||||
!isEN
|
||||
? `${scope.row.Country} / ${scope.row.CountryCN}`
|
||||
: scope.row.Country
|
||||
}}
|
||||
|
@ -191,7 +189,7 @@
|
|||
</template>
|
||||
<template slot-scope="scope" v-else>
|
||||
{{
|
||||
scope.row.TrainingCN
|
||||
!isEN
|
||||
? `${scope.row.Training} / ${scope.row.TrainingCN}`
|
||||
: scope.row.Training
|
||||
}}
|
||||
|
@ -205,7 +203,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.MajorCN
|
||||
!isEN
|
||||
? `${scope.row.Major} / ${scope.row.MajorCN}`
|
||||
: scope.row.Major
|
||||
}}
|
||||
|
@ -219,7 +217,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.HospitalCN
|
||||
!isEN
|
||||
? `${scope.row.Hospital} / ${scope.row.HospitalCN}`
|
||||
: scope.row.Hospital
|
||||
}}
|
||||
|
@ -233,7 +231,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.SchoolCN
|
||||
!isEN
|
||||
? `${scope.row.School} / ${scope.row.SchoolCN}`
|
||||
: scope.row.School
|
||||
}}
|
||||
|
@ -247,9 +245,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.CityCN
|
||||
? `${scope.row.City} / ${scope.row.CityCN}`
|
||||
: scope.row.City
|
||||
!isEN ? `${scope.row.City} / ${scope.row.CityCN}` : scope.row.City
|
||||
}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -261,7 +257,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.ProvinceCN
|
||||
!isEN
|
||||
? `${scope.row.Province} / ${scope.row.ProvinceCN}`
|
||||
: scope.row.Province
|
||||
}}
|
||||
|
@ -275,7 +271,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.CountryCN
|
||||
!isEN
|
||||
? `${scope.row.Country} / ${scope.row.CountryCN}`
|
||||
: scope.row.Country
|
||||
}}
|
||||
|
@ -922,6 +918,9 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
...mapGetters(['hospitalList']),
|
||||
isEN() {
|
||||
return this.$i18n.locale !== 'zh'
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.initPage()
|
||||
|
|
|
@ -406,10 +406,21 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
IndicationOptions() {
|
||||
console.log(
|
||||
this.$d.IndicationType,
|
||||
this.clinicalTrialForm.IndicationTypeId
|
||||
)
|
||||
if (!this.clinicalTrialForm.IndicationTypeId) return []
|
||||
let indicationGrouping = this.$d.IndicationType.filter(
|
||||
let indicationGroupingArr = this.$d.IndicationType.filter(
|
||||
(item) => item.id === this.clinicalTrialForm.IndicationTypeId
|
||||
)[0].raw.ChildGroup
|
||||
)
|
||||
let indicationGrouping = null
|
||||
if (
|
||||
Array.isArray(indicationGroupingArr) &&
|
||||
indicationGroupingArr.length > 0
|
||||
) {
|
||||
indicationGrouping = indicationGroupingArr[0].raw.ChildGroup
|
||||
}
|
||||
let arr =
|
||||
this.$d.Indication.filter(
|
||||
(item) => indicationGrouping === item.raw.ChildGroup
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
</el-button>
|
||||
<template v-if="DATA.FirstName && DATA.LastName">
|
||||
<div class="userInfo">
|
||||
<span>{{ DATA.FirstName }}{{ DATA.LastName }}</span>
|
||||
<span>{{
|
||||
isEN ? DATA.FirstName + DATA.LastName : DATA.ChineseName
|
||||
}}</span>
|
||||
<span>{{ $fd('Sex', DATA.Sex) }}</span>
|
||||
<span v-if="isEN">
|
||||
{{
|
||||
|
|
|
@ -5,8 +5,12 @@
|
|||
<div class="message">
|
||||
<div class="userInfo">
|
||||
<span v-if="isAll">
|
||||
{{ reviewerData.BasicInfoView.FirstName
|
||||
}}{{ reviewerData.BasicInfoView.LastName }}
|
||||
{{
|
||||
isEN
|
||||
? reviewerData.BasicInfoView.FirstName +
|
||||
reviewerData.BasicInfoView.LastName
|
||||
: reviewerData.BasicInfoView.ChineseName
|
||||
}}
|
||||
</span>
|
||||
<span v-else>{{
|
||||
isEN
|
||||
|
@ -184,7 +188,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
<span
|
||||
>{{ scope.row.BeginDateStr }}-{{ scope.row.EndDateStr }}</span
|
||||
>{{ scope.row.BeginDateStr }} ~ {{ scope.row.EndDateStr }}</span
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -249,7 +253,7 @@
|
|||
>
|
||||
<template slot-scope="scope">
|
||||
<span
|
||||
>{{ scope.row.BeginDateStr }}-{{ scope.row.EndDateStr }}</span
|
||||
>{{ scope.row.BeginDateStr }} ~ {{ scope.row.EndDateStr }}</span
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -910,6 +914,7 @@ export default {
|
|||
<style lang="scss" scoped>
|
||||
.curriculumVitaePreview {
|
||||
display: flex;
|
||||
padding: 0 100px;
|
||||
.title {
|
||||
font-size: 18px;
|
||||
border: none;
|
||||
|
|
Loading…
Reference in New Issue