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