1
continuous-integration/drone/push Build is passing Details

uat_us
熊飞 2024-01-26 12:20:03 +08:00
parent 6ca9ed8a9b
commit fcac89e034
23 changed files with 1014 additions and 1002 deletions

View File

@ -121,7 +121,7 @@ export default {
preview(index, row) { preview(index, row) {
const filePath = row.FullPath const filePath = row.FullPath
if (filePath) { if (filePath) {
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
} }
}, },
timeFormatter(row) { timeFormatter(row) {

View File

@ -112,7 +112,7 @@ export default {
preview(index, row) { preview(index, row) {
const filePath = row.FullPath const filePath = row.FullPath
if (filePath) { if (filePath) {
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
} }
}, },
selectMore(val) { selectMore(val) {

View File

@ -73,7 +73,7 @@ export default {
preview(index, row) { preview(index, row) {
const filePath = row.FullPath const filePath = row.FullPath
if (filePath) { if (filePath) {
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
} }
}, },
timeFormatter(row) { timeFormatter(row) {

View File

@ -75,7 +75,7 @@ export default {
}, },
downLoadFile(filePath) { downLoadFile(filePath) {
if (!filePath) return if (!filePath) return
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
}, },
preview(file) { preview(file) {
this.$set(this.fileInfo, 'currentId', file.Id) this.$set(this.fileInfo, 'currentId', file.Id)

View File

@ -59,7 +59,7 @@ export default {
}, },
downLoadFile(filePath) { downLoadFile(filePath) {
if (!filePath) return if (!filePath) return
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
} }
} }
} }

View File

@ -14,21 +14,21 @@
<el-table-column <el-table-column
prop="TrialCode" prop="TrialCode"
label="Trial ID" :label="$t('resumeInfo:label:TrialCode')"
min-width="50" min-width="50"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column prop="Type" label="File Type" min-width="80" show-overflow-tooltip /> <el-table-column prop="Type" :label="$t('resumeInfo:label:Type')" min-width="80" show-overflow-tooltip />
<el-table-column <el-table-column
prop="FileName" prop="FileName"
label="File Name" :label="$t('resumeInfo:label:FileName')"
min-width="100" min-width="100"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column
prop="CreateTime" prop="CreateTime"
label="Upload Time" :label="$t('resumeInfo:label:CreateTime')"
min-width="60" min-width="60"
show-overflow-tooltip show-overflow-tooltip
/> />
@ -39,7 +39,7 @@
size="small" size="small"
type="text" type="text"
@click="preview(scope.$index, scope.row)" @click="preview(scope.$index, scope.row)"
>View</el-button> >{{$t('resumeInfo:button:view')}}</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -124,7 +124,7 @@ export default {
preview(index, row) { preview(index, row) {
const filePath = row.FullPath const filePath = row.FullPath
if (filePath) { if (filePath) {
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
} }
}, },
timeFormatter(row) { timeFormatter(row) {

View File

@ -3,22 +3,22 @@
<el-form :inline="true" :model="basicInfo" class="demo-form-inline" size="small"> <el-form :inline="true" :model="basicInfo" class="demo-form-inline" size="small">
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Surname:"> <el-form-item :label="$t('resumeInfo:label:Surname')">
<span>{{ basicInfo.LastName }}</span> <span>{{ basicInfo.LastName }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Given Name:"> <el-form-item :label="$t('resumeInfo:label:FirstName')">
<span>{{ basicInfo.FirstName }}</span> <span>{{ basicInfo.FirstName }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Name CN:"> <el-form-item :label="$t('resumeInfo:label:ChineseName')">
<span>{{ basicInfo.ChineseName }}</span> <span>{{ basicInfo.ChineseName }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="ID:"> <el-form-item :label="$t('resumeInfo:label:ReviewerCode')">
<span>{{ basicInfo.ReviewerCode }}</span> <span>{{ basicInfo.ReviewerCode }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -26,13 +26,13 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Gender:"> <el-form-item :label="$t('resumeInfo:label:Sex')">
<span v-if="isEnglish">{{ basicInfo.Sex === 0?'Male':'Female' }}</span> <span v-if="isEnglish">{{ basicInfo.Sex === 0?'Male':'Female' }}</span>
<span v-else>{{ basicInfo.Sex === 0?'':'' }}</span> <span v-else>{{ basicInfo.Sex === 0?'':'' }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item 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.Title)&& basicInfo.Title.length > 0) ? basicInfo.TitleList.join(', ') : '' }}
</span> </span>
@ -42,12 +42,12 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Phone:"> <el-form-item :label="$t('resumeInfo:label:Phone')">
<span>{{ basicInfo.Phone }}</span> <span>{{ basicInfo.Phone }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Email:"> <el-form-item :label="$t('resumeInfo:label:Email')">
<span>{{ basicInfo.EMail }}</span> <span>{{ basicInfo.EMail }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -55,7 +55,7 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="WeChat:"> <el-form-item :label="$t('resumeInfo:label:WeChat')">
<span>{{ basicInfo.WeChat }}</span> <span>{{ basicInfo.WeChat }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="comment-info"> <div class="comment-info">
<el-form :model="statusList" class="demo-form-inline" size="small"> <el-form :model="statusList" class="demo-form-inline" size="small">
<el-form-item label="Comment:"> <el-form-item :label="$t('resumeInfo:label:Comment')">
<el-input <el-input
v-model="statusList.AdminComment" v-model="statusList.AdminComment"
type="textarea" type="textarea"

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="education-info"> <div class="education-info">
<div class="btn-wrapper"> <div class="btn-wrapper">
<el-button style="margin-left:auto" size="small" :disabled="checkID.length==0" @click="downloadAttachement">Download</el-button> <el-button style="margin-left:auto" size="small" :disabled="checkID.length==0" @click="downloadAttachement">{{$t('resumeInfo:button:Download')}}</el-button>
</div> </div>
<el-table <el-table
:data="tblList" :data="tblList"
@ -13,23 +13,23 @@
<span></span> <span></span>
</template> </template>
<el-table-column type="selection" align="left" width="50" /> <el-table-column type="selection" align="left" width="50" />
<el-table-column type="index" label="No." width="50" /> <el-table-column type="index" :label="$t('resumeInfo:label:No')" width="50" />
<el-table-column prop="Type" label="Type" min-width="50" show-overflow-tooltip /> <el-table-column prop="Type" :label="$t('resumeInfo:label:Type')" min-width="50" show-overflow-tooltip />
<el-table-column <el-table-column
prop="FileName" prop="FileName"
label="File Name" :label="$t('resumeInfo:label:FileName')"
min-width="80" min-width="80"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column
prop="CreateTime" prop="CreateTime"
label="Upload Time" :label="$t('resumeInfo:label:CreateTime')"
min-width="50" min-width="50"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column label="Action" min-width="150"> <el-table-column :label="$t('common:action:action')" min-width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="small" @click="preview(scope.$index, scope.row)">View</el-button> <el-button type="text" size="small" @click="preview(scope.$index, scope.row)">{{$t('resumeInfo:button:view')}}</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -163,7 +163,7 @@ export default {
preview(index, row) { preview(index, row) {
const filePath = row.FullPath const filePath = row.FullPath
if (filePath) { if (filePath) {
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
} }
}, },
selectMore(val) { selectMore(val) {

View File

@ -5,27 +5,27 @@
<template slot="empty"> <template slot="empty">
<span></span> <span></span>
</template> </template>
<el-table-column type="index" label="No." width="45" /> <el-table-column type="index" :label="$t('resumeInfo:label:No')" width="45" />
<el-table-column <el-table-column
prop="BeginDateStr" prop="BeginDateStr"
label="Start" :label="$t('resumeInfo:label:BeginDateStr')"
min-width="55" min-width="55"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column
prop="EndDateStr" prop="EndDateStr"
label="End" :label="$t('resumeInfo:label:EndDateStr')"
min-width="55" min-width="55"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column prop="Degree" label="Degree" min-width="70" show-overflow-tooltip> <el-table-column prop="Degree" :label="$t('resumeInfo:label:Degree')" min-width="70" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-show="scope.row.Degree"> <span v-show="scope.row.Degree">
{{ isEnglish?scope.row.Degree:scope.row.DegreeCN }} {{ isEnglish?scope.row.Degree:scope.row.DegreeCN }}
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="Major" label="Major" min-width="130" show-overflow-tooltip> <el-table-column prop="Major" :label="$t('resumeInfo:label:Major')" min-width="130" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-show="scope.row.Major"> <span v-show="scope.row.Major">
{{ isEnglish?scope.row.Major:scope.row.MajorCN }} {{ isEnglish?scope.row.Major:scope.row.MajorCN }}
@ -34,7 +34,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="Organization" prop="Organization"
label="Institution" :label="$t('resumeInfo:label:Institution')"
min-width="150" min-width="150"
show-overflow-tooltip show-overflow-tooltip
> >
@ -44,7 +44,7 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="City" label="City" min-width="70" show-overflow-tooltip> <el-table-column prop="City" :label="$t('resumeInfo:label:City')" min-width="70" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-show="scope.row.City"> <span v-show="scope.row.City">
{{ isEnglish?scope.row.City:scope.row.CityCN }} {{ isEnglish?scope.row.City:scope.row.CityCN }}
@ -53,7 +53,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="Province" prop="Province"
label="State/Province" :label="$t('resumeInfo:label:Province')"
min-width="80" min-width="80"
show-overflow-tooltip show-overflow-tooltip
> >
@ -63,7 +63,7 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="Country" label="Country" min-width="70" show-overflow-tooltip> <el-table-column prop="Country" :label="$t('resumeInfo:label:Country')" min-width="70" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-show="scope.row.Country"> <span v-show="scope.row.Country">
{{ isEnglish?scope.row.Country:scope.row.CountryCN }} {{ isEnglish?scope.row.Country:scope.row.CountryCN }}
@ -72,25 +72,25 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="title">Postgraduate Training (in chronological order)</div> <div class="title">{{$t('resumeInfo:label:PostgraduateTraining')}}</div>
<el-table :data="postgraduateList" border style="width: 100%" size="small"> <el-table :data="postgraduateList" border style="width: 100%" size="small">
<template slot="empty"> <template slot="empty">
<span></span> <span></span>
</template> </template>
<el-table-column type="index" label="No." width="45" /> <el-table-column type="index" :label="$t('resumeInfo:label:No')" width="45" />
<el-table-column <el-table-column
prop="BeginDateStr" prop="BeginDateStr"
label="Start" :label="$t('resumeInfo:label:BeginDateStr')"
min-width="55" min-width="55"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column
prop="EndDateStr" prop="EndDateStr"
label="End" :label="$t('resumeInfo:label:EndDateStr')"
min-width="55" min-width="55"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column prop="Training" label="Training" min-width="70" show-overflow-tooltip> <el-table-column prop="Training" :label="$t('resumeInfo:label:Training')" min-width="70" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-show="scope.row.Training"> <span v-show="scope.row.Training">
{{ isEnglish?scope.row.Training:scope.row.TrainingCN }} {{ isEnglish?scope.row.Training:scope.row.TrainingCN }}
@ -99,7 +99,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="Major" prop="Major"
label="Specialty / Research Field" :label="$t('resumeInfo:label:Specialty')"
min-width="140" min-width="140"
show-overflow-tooltip show-overflow-tooltip
> >
@ -110,21 +110,21 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="Hospital" label="Hospital" min-width="110" show-overflow-tooltip> <el-table-column prop="Hospital" :label="$t('resumeInfo:label:Hospital')" min-width="110" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-show="scope.row.Hospital"> <span v-show="scope.row.Hospital">
{{ isEnglish?scope.row.Hospital:scope.row.HospitalCN }} {{ isEnglish?scope.row.Hospital:scope.row.HospitalCN }}
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="School" label="University" min-width="120" show-overflow-tooltip> <el-table-column prop="School" :label="$t('resumeInfo:label:University')" min-width="120" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-show="scope.row.School"> <span v-show="scope.row.School">
{{ isEnglish?scope.row.School:scope.row.SchoolCN }} {{ isEnglish?scope.row.School:scope.row.SchoolCN }}
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="City" label="City" min-width="70" show-overflow-tooltip> <el-table-column prop="City" :label="$t('resumeInfo:label:City')" min-width="70" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-show="scope.row.City"> <span v-show="scope.row.City">
{{ isEnglish?scope.row.City:scope.row.CityCN }} {{ isEnglish?scope.row.City:scope.row.CityCN }}
@ -133,7 +133,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="Province" prop="Province"
label="State/Province" :label="$t('resumeInfo:label:StateProvince')"
min-width="90" min-width="90"
show-overflow-tooltip show-overflow-tooltip
> >
@ -143,7 +143,7 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="Country" label="Country" min-width="70" show-overflow-tooltip> <el-table-column prop="Country" :label="$t('resumeInfo:label:Country')" min-width="70" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-show="scope.row.Country"> <span v-show="scope.row.Country">
{{ isEnglish?scope.row.Country:scope.row.CountryCN }} {{ isEnglish?scope.row.Country:scope.row.CountryCN }}

View File

@ -3,25 +3,25 @@
<el-form :inline="true" :model="employment" class="demo-form-inline" size="small"> <el-form :inline="true" :model="employment" class="demo-form-inline" size="small">
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Department:"> <el-form-item :label="$t('resumeInfo:label:Department')">
<span v-if="isEnglish">{{ employment.Department }}</span> <span v-if="isEnglish">{{ employment.Department }}</span>
<span v-else>{{ employment.DepartmentCN }}</span> <span v-else>{{ employment.DepartmentCN }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Rank:"> <el-form-item :label="$t('resumeInfo:label:Rank')">
<span v-if="isEnglish">{{ employment.Rank }}</span> <span v-if="isEnglish">{{ employment.Rank }}</span>
<span v-else>{{ employment.RankCN }}</span> <span v-else>{{ employment.RankCN }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Physician:"> <el-form-item :label="$t('resumeInfo:label:Physician')">
<span v-if="isEnglish">{{ employment.Physician }}</span> <span v-if="isEnglish">{{ employment.Physician }}</span>
<span v-else>{{ employment.PhysicianCN }}</span> <span v-else>{{ employment.PhysicianCN }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Position:"> <el-form-item :label="$t('resumeInfo:label:Position')">
<span v-if="isEnglish">{{ employment.Position }}</span> <span v-if="isEnglish">{{ employment.Position }}</span>
<span v-else>{{ employment.PositionCN }}</span> <span v-else>{{ employment.PositionCN }}</span>
</el-form-item> </el-form-item>
@ -30,31 +30,31 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Hospital:"> <el-form-item :label="$t('resumeInfo:label:Hospital')">
<span v-if="isEnglish">{{ employment.HospitalName }}</span> <span v-if="isEnglish">{{ employment.HospitalName }}</span>
<span v-else>{{ employment.HospitalNameCN }}</span> <span v-else>{{ employment.HospitalNameCN }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Affiliated University:"> <el-form-item :label="$t('resumeInfo:label:Affiliated')">
<span v-if="isEnglish">{{ employment.UniversityAffiliated }}</span> <span v-if="isEnglish">{{ employment.UniversityAffiliated }}</span>
<span v-else>{{ employment.UniversityAffiliatedCN }}</span> <span v-else>{{ employment.UniversityAffiliatedCN }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="City:"> <el-form-item :label="$t('resumeInfo:label:City')">
<span v-if="isEnglish">{{ employment.City }}</span> <span v-if="isEnglish">{{ employment.City }}</span>
<span v-else>{{ employment.CityCN }}</span> <span v-else>{{ employment.CityCN }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="State/Province:"> <el-form-item :label="$t('resumeInfo:label:StateProvince')">
<span v-if="isEnglish">{{ employment.Province }}</span> <span v-if="isEnglish">{{ employment.Province }}</span>
<span v-else>{{ employment.ProvinceCN }}</span> <span v-else>{{ employment.ProvinceCN }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Country:"> <el-form-item :label="$t('resumeInfo:label:Country')">
<span v-if="isEnglish">{{ employment.Country }}</span> <span v-if="isEnglish">{{ employment.Country }}</span>
<span v-else>{{ employment.CountryCN }}</span> <span v-else>{{ employment.CountryCN }}</span>
</el-form-item> </el-form-item>

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="research-info"> <div class="research-info">
<el-form :model="researchInfo" class="demo-form-inline" size="small"> <el-form :model="researchInfo" class="demo-form-inline" size="small">
<el-form-item label="Field of Research:"> <el-form-item :label="$t('resumeInfo:label:FieldofResearch')">
<el-input <el-input
v-if="isEnglish" v-if="isEnglish"
v-model="researchInfo.Research" v-model="researchInfo.Research"
@ -18,7 +18,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="Grants:"> <el-form-item :label="$t('resumeInfo:label:Grants')">
<el-input <el-input
v-if="isEnglish" v-if="isEnglish"
v-model="researchInfo.Grants" v-model="researchInfo.Grants"
@ -35,7 +35,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="Publications:"> <el-form-item :label="$t('resumeInfo:label:Publications')">
<el-input <el-input
v-model="researchInfo.Publications" v-model="researchInfo.Publications"
type="textarea" type="textarea"
@ -44,7 +44,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="Awards & Honors:"> <el-form-item :label="$t('resumeInfo:label:Awards&Honors')">
<el-input <el-input
v-if="isEnglish" v-if="isEnglish"
v-model="researchInfo.AwardsHonors" v-model="researchInfo.AwardsHonors"

View File

@ -4,23 +4,23 @@
<template slot="empty"> <template slot="empty">
<span></span> <span></span>
</template> </template>
<el-table-column type="index" label="No." width="50" /> <el-table-column type="index" :label="$t('resumeInfo:label:No')" width="50" />
<el-table-column <el-table-column
prop="FileName" prop="FileName"
label="File Name" :label="$t('resumeInfo:label:FileName')"
min-width="60" min-width="60"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column
prop="Isoffical" prop="Isoffical"
label="Offical" :label="$t('resumeInfo:label:Isoffical')"
min-width="50" min-width="50"
:formatter="officalFormatter" :formatter="officalFormatter"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column
prop="Language" prop="Language"
label="Language" :label="$t('resumeInfo:label:Language')"
min-width="50" min-width="50"
show-overflow-tooltip show-overflow-tooltip
> >
@ -30,13 +30,13 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="CreateTime" prop="CreateTime"
label="Upload Time" :label="$t('resumeInfo:label:CreateTime')"
min-width="60" min-width="60"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column label="Action" min-width="150"> <el-table-column :label="$t('common:action:action')" min-width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="small" @click="preview(scope.$index, scope.row)">Download</el-button> <el-button type="text" size="small" @click="preview(scope.$index, scope.row)">{{ $t('common:button:download') }}</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -1,17 +1,17 @@
<template> <template>
<div class="specialty-info"> <div class="specialty-info">
<el-form :model="specialty" class="demo-form-inline" size="small"> <el-form :model="specialty" class="demo-form-inline" size="small">
<el-form-item label="Specialty:"> <el-form-item :label="$t('resumeInfo:label:Speciality')">
<span v-if="isEnglish">{{ specialty.Speciality }}</span> <span v-if="isEnglish">{{ specialty.Speciality }}</span>
<span v-else>{{ specialty.SpecialityCN }}</span> <span v-else>{{ specialty.SpecialityCN }}</span>
</el-form-item> </el-form-item>
<el-form-item label="Subspeciality:"> <el-form-item :label="$t('resumeInfo:label:Subspeciality')">
<span v-if="isEnglish">{{ specialty.Subspeciality }}</span> <span v-if="isEnglish">{{ specialty.Subspeciality }}</span>
<span v-else>{{ specialty.SubspecialityCNList }}</span> <span v-else>{{ specialty.SubspecialityCNList }}</span>
</el-form-item> </el-form-item>
<el-form-item label="Modality:"> <el-form-item :label="$t('resumeInfo:label:ReadingType')">
<span v-if="isEnglish">{{ specialty.ReadingType }}</span> <span v-if="isEnglish">{{ specialty.ReadingType }}</span>
<span v-else>{{ specialty.ReadingTypeCNList }}</span> <span v-else>{{ specialty.ReadingTypeCNList }}</span>
</el-form-item> </el-form-item>

View File

@ -3,7 +3,7 @@
<el-form :inline="true" :model="basicInfo" class="demo-form-inline" size="small"> <el-form :inline="true" :model="basicInfo" class="demo-form-inline" size="small">
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Pending:"> <el-form-item :label="$t('resumeInfo:label:Pending')">
<span v-if="statusList.Submitted" style="color:#428bca"> <span v-if="statusList.Submitted" style="color:#428bca">
<router-link <router-link
:to="{ :to="{
@ -17,7 +17,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Approved:"> <el-form-item :label="$t('resumeInfo:label:Approved')">
<span v-if="statusList.Approved" style="color:#428bca"> <span v-if="statusList.Approved" style="color:#428bca">
<router-link <router-link
:to="{ :to="{
@ -31,7 +31,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Reading:"> <el-form-item :label="$t('resumeInfo:label:Reading')">
<span v-if="statusList.Reading" style="color:#428bca"> <span v-if="statusList.Reading" style="color:#428bca">
<router-link <router-link
:to="{ :to="{
@ -44,13 +44,13 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="On Vacation:"> <el-form-item :label="$t('resumeInfo:label:Vacation')">
<span style="font-size:12px;margin-right:20px;">{{ holiday }}</span> <span style="font-size:12px;margin-right:20px;">{{ holiday }}</span>
<el-button <el-button
type="text" type="text"
size="small" size="small"
@click="initHolidayList" @click="initHolidayList"
>Planned Vacation</el-button> >{{ $t('resumeInfo:label:PlannedVacation') }}</el-button>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -65,13 +65,13 @@
<el-table-column type="index" /> <el-table-column type="index" />
<el-table-column <el-table-column
property="StartDate" property="StartDate"
label="Beginning Date" :label="$t('resumeInfo:label:BeginningDate')"
min-width="120" min-width="120"
:formatter="beginTimeFormatter" :formatter="beginTimeFormatter"
/> />
<el-table-column <el-table-column
property="EndDate" property="EndDate"
label="End Date" :label="$t('resumeInfo:label:EndDate')"
min-width="120" min-width="120"
:formatter="endTimeFormatter" :formatter="endTimeFormatter"
/> />

View File

@ -5,11 +5,11 @@
<template slot="empty"> <template slot="empty">
<span></span> <span></span>
</template> </template>
<el-table-column type="index" label="No." width="50" /> <el-table-column type="index" :label="$t('resumeInfo:label:No')" width="50" />
<el-table-column prop="Phase" label="Phase" min-width="20" show-overflow-tooltip /> <el-table-column prop="Phase" :label="$t('resumeInfo:label:Phase')" min-width="20" show-overflow-tooltip />
<el-table-column <el-table-column
prop="EvaluationCriteriaList" prop="EvaluationCriteriaList"
label="Review Criteria" :label="$t('resumeInfo:label:ReviewCriteria')"
min-width="40" min-width="40"
show-overflow-tooltip show-overflow-tooltip
> >
@ -19,20 +19,20 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="VisitReadingCount" prop="VisitReadingCount"
label="Visit Reading Count" :label="$t('resumeInfo:label:VisitReadingCount')"
min-width="150" min-width="150"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column
prop="EvaluationContent" prop="EvaluationContent"
label="Indication" :label="$t('resumeInfo:label:EvaluationContent')"
min-width="150" min-width="150"
show-overflow-tooltip show-overflow-tooltip
/> />
</el-table> </el-table>
<el-form :model="form" class="demo-form-inline" size="small"> <el-form :model="form" class="demo-form-inline" size="small">
<el-form-item label="GCP Certificate:"> <el-form-item :label="$t('resumeInfo:label:GCPCertificate')">
<span>{{ GCP }}</span> <span>{{ GCP }}</span>
<a <a
v-if="form.GCP" v-if="form.GCP"
@ -42,7 +42,7 @@
>View</a> >View</a>
</el-form-item> </el-form-item>
<el-form-item label="Other Relevant Experience:"> <el-form-item :label="$t('resumeInfo:label:OtherRelevantExperience')">
<el-input <el-input
v-if="isEnglish" v-if="isEnglish"
v-model="form.OtherClinicalExperience" v-model="form.OtherClinicalExperience"

View File

@ -91,14 +91,26 @@ export default {
doctorId: '' 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() { mounted() {
// this.isEnglish = !!((this.$route.query.isEnglish === true || this.$route.query.isEnglish === 'true')) this.isEnglish = !!((this.$route.query.isEnglish === true || this.$route.query.isEnglish === 'true'))
// this.isEnglish = this.$i18n.locale === 'zh' ? false : true this.isEnglish = this.$i18n.locale === 'zh' ? false : true
this.doctorId = this.$route.query.doctorId this.doctorId = this.$route.query.doctorId
this.initForm() this.initForm()
}, },
methods: { methods: {
initStatus() { initStatus() {
if (this.doctorInfo.AuditView) { if (this.doctorInfo.AuditView) {
const res = this.doctorInfo.AuditView const res = this.doctorInfo.AuditView

View File

@ -217,7 +217,7 @@ export default {
}, },
downLoadFile(filePath) { downLoadFile(filePath) {
if (!filePath) return if (!filePath) return
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
}, },
handleSearch() { handleSearch() {
this.searchData.PageIndex = 1 this.searchData.PageIndex = 1

View File

@ -405,7 +405,7 @@ export default {
}, },
handlePreview(filePath) { handlePreview(filePath) {
if (filePath) { if (filePath) {
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
} }
}, },
handleSearch() { handleSearch() {

View File

@ -53,7 +53,7 @@ export default {
}, },
downLoadFile(filePath) { downLoadFile(filePath) {
if (!filePath) return if (!filePath) return
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
} }
} }
} }

View File

@ -215,7 +215,7 @@ export default {
}, },
handlePreview(filePath) { handlePreview(filePath) {
if (filePath) { if (filePath) {
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
} }
}, },
handleSearch() { handleSearch() {

View File

@ -82,7 +82,7 @@ export default {
}, },
downLoadFile(filePath) { downLoadFile(filePath) {
if (!filePath) return if (!filePath) return
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
} }
} }
} }

View File

@ -74,7 +74,7 @@ export default {
}, },
downLoadFile(filePath) { downLoadFile(filePath) {
if (!filePath) return if (!filePath) return
window.open(filePath, '_blank') window.open(this.OSSclientConfig.basePath + filePath, '_blank')
}, },
preview(file) { preview(file) {
this.$set(this.fileInfo, 'currentFileType', this.getFileType(file.FileName)) this.$set(this.fileInfo, 'currentFileType', this.getFileType(file.FileName))