国际化问题

uat_us
熊飞 2024-02-20 16:49:59 +08:00
parent 9929045d4b
commit 052fdbcdbf
21 changed files with 369 additions and 436 deletions

View File

@ -78,6 +78,9 @@ const mutations = {
}
const actions = {
changeUserName({ commit }, userName) {
commit('SET_USERNAME', userName)
},
// user login
login({ commit }, userInfo) {
const { username, password } = userInfo

View File

@ -14,27 +14,26 @@
<span v-else>{{ employment.RankCN }}</span>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item :label="$t('resumeInfo:label:Physician')">
<span v-if="isEnglish">{{ employment.Physician }}</span>
<span v-else>{{ employment.PhysicianCN }}</span>
</el-form-item>
</el-col>
<!-- <el-col :span="6">-->
<!-- <el-form-item :label="$t('resumeInfo:label:Physician')">-->
<!-- <span v-if="isEnglish">{{ employment.Physician }}</span>-->
<!-- <span v-else>{{ employment.PhysicianCN }}</span>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="6">
<el-form-item :label="$t('resumeInfo:label:Position')">
<span v-if="isEnglish">{{ employment.Position }}</span>
<span v-else>{{ employment.PositionCN }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item :label="$t('resumeInfo:label:Hospital')">
<span v-if="isEnglish">{{ employment.HospitalName }}</span>
<span v-else>{{ employment.HospitalNameCN }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item :label="$t('resumeInfo:label:Affiliated')">
<span v-if="isEnglish">{{ employment.UniversityAffiliated }}</span>

View File

@ -90,11 +90,12 @@ export default {
this.setLanguage('zh')
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.BlindName} ${this.$t('resumeInfo:title:Details')}`:''
}
},
mounted() {
this.isEnglish = !!((this.$route.query.isEnglish === true || this.$route.query.isEnglish === 'true'))
this.isEnglish = this.$i18n.locale === 'zh' ? false : true
this.doctorId = this.$route.query.doctorId
this.initForm()
},
@ -179,7 +180,8 @@ export default {
this.holiday = res.Result.InHoliday ? 'Yes' : 'No'
this.doctorInfo = res.Result
!this.doctorInfo.ResearchPublicationView ? this.doctorInfo.ResearchPublicationView = {} : '';
this.title = `${this.doctorInfo.BasicInfoView.BlindName} 's Details`
this.title = this.doctorInfo.BasicInfoView?`${this.doctorInfo.BasicInfoView.BlindName} ${this.$t('resumeInfo:title:Details')}`:''
// this.title = `${this.doctorInfo.BasicInfoView.BlindName} 's Details`
this.htmlTitle = this.title
this.initStatus()
this.initEmploymentInfo()

View File

@ -5,7 +5,7 @@
<!-- 首次登录修改密码 -->
{{ $t('recompose:title:init') }}
</div>
<el-form ref="passwordForm" v-loading="loading" label-position="right" :model="password" :rules="passwordFormRules" label-width="180px">
<el-form ref="passwordForm" v-loading="loading" label-position="right" :model="password" :rules="passwordFormRules" label-width="200px">
<!-- 邮箱 -->
<el-form-item :label="$t('recompose:form:email')" prop="Email">
<el-input v-model="password.Email" disabled />

View File

@ -7,7 +7,7 @@
ref="resetForm"
v-loading="formLoading"
:model="form"
label-width="150px"
label-width="200px"
:rules="rules"
class="demo-ruleForm"
size="small"

View File

@ -78,7 +78,7 @@
type="primary"
style="width:100%;margin-bottom:10px;"
size="medium"
@click.native.prevent="loginIn"
@click.native.prevent="handleLogin"
>
{{ $t('login:button:login') }}
</el-button>
@ -109,7 +109,7 @@
<span style="color:#428bca">关于</span>
</a>
</div>
<!-- <Vcode :show="isShow" slider-text="" :imgs="[Img1]" @success="onSuccess" />-->
<Vcode :show="isShow" :slider-text="$t('login:button:sliderText')" :imgs="[Img1]" @success="onSuccess" />
<el-dialog
v-if="aboutVisible"
:visible.sync="aboutVisible"
@ -230,8 +230,8 @@ export default {
this.loginType = this.$route.query.loginType
this.$refs.loginForm.validate(valid => {
if (valid) {
this.onSuccess()
// this.isShow = true
this.isShow = true
// this.onSuccess()
} else {
// console.log('error submit!!')
return false

View File

@ -23,7 +23,7 @@
v-if="(state === 1 && hasPermi(['role:spm','role:cpm']))"
type="primary"
size="small"
@click="handleSubmit"
@click="handleSubmit2"
>
{{ $t('trials:researchForm:button:auditPasses') }}
</el-button>
@ -245,19 +245,6 @@ export default {
//
handleSubmit() {
if (this.userTypeEnumInt === 0) {
// if (this.$refs['researchParticipants'].list.length === 0 && this.$refs['researchEquipments'].list.length === 0) {
// this.$alert(this.$t('trials:researchForm:message:saveWarning'))
// return
// }
// var list = this.$refs['researchParticipants'].list
// var cIdx = list.findIndex(i => parseInt(i.TrialRoleCode) === 1)
// var pIdx = list.findIndex(i => parseInt(i.TrialRoleCode) === 4)
// if (cIdx === -1 || pIdx === -1) {
// // crc1
// this.$alert(this.$t('trials:researchForm:message:saveWarning1'))
// return
// }
this.loading = true
this.$refs['baseResearchInfo'].handleSave(true).then(res => {
this.loading = false
@ -271,7 +258,7 @@ export default {
},
submit() {
//
this.$confirm(this.$t('trials:researchForm:message:submitWarning'), {
this.$confirm(this.userTypeEnumInt === 0 ? this.$t('trials:researchForm:message:submitWarning') : this.$t('trials:researchForm:message:submitWarning2'), {
type: 'warning',
distinguishCancelAndClose: true
}).then(() => {

View File

@ -53,13 +53,13 @@
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item :label="$t('resumeInfo:label:WeChat')">
<span>{{ basicInfo.WeChat }}</span>
</el-form-item>
</el-col>
</el-row>
<!-- <el-row>-->
<!-- <el-col :span="6">-->
<!-- <el-form-item :label="$t('resumeInfo:label:WeChat')">-->
<!-- <span>{{ basicInfo.WeChat }}</span>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- </el-row>-->
</el-form>
</div>
</template>

View File

@ -14,27 +14,27 @@
<span v-else>{{ employment.RankCN }}</span>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item :label="$t('resumeInfo:label:Physician')">
<span v-if="isEnglish">{{ employment.Physician }}</span>
<span v-else>{{ employment.PhysicianCN }}</span>
</el-form-item>
</el-col>
<!-- <el-col :span="6">-->
<!-- <el-form-item :label="$t('resumeInfo:label:Physician')">-->
<!-- <span v-if="isEnglish">{{ employment.Physician }}</span>-->
<!-- <span v-else>{{ employment.PhysicianCN }}</span>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="6">
<el-form-item :label="$t('resumeInfo:label:Position')">
<span v-if="isEnglish">{{ employment.Position }}</span>
<span v-else>{{ employment.PositionCN }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item :label="$t('resumeInfo:label:Hospital')">
<span v-if="isEnglish">{{ employment.HospitalName }}</span>
<span v-else>{{ employment.HospitalNameCN }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item :label="$t('resumeInfo:label:Affiliated')">
<span v-if="isEnglish">{{ employment.UniversityAffiliated }}</span>

View File

@ -102,7 +102,7 @@ export default {
this.setLanguage('zh')
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() {

View File

@ -22,12 +22,12 @@
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="Surname: " prop="LastName">
<el-form-item label="Last Name: " prop="LastName">
<el-input v-model="basicInfo.LastName" :disabled="$route.query.ReviewStatus === '1'" size="small" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Given Name: " prop="FirstName">
<el-form-item label="First Name: " prop="FirstName">
<el-input v-model="basicInfo.FirstName" :disabled="$route.query.ReviewStatus === '1'" size="small" />
</el-form-item>
</el-col>
@ -93,13 +93,11 @@
<el-input v-model="basicInfo.EMail" :disabled="$route.query.ReviewStatus === '1'" size="small" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="WeChat: " prop="WeChat">
<el-input v-model="basicInfo.WeChat" :disabled="$route.query.ReviewStatus === '1'" size="small" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<!-- <el-col :span="12">-->
<!-- <el-form-item label="WeChat: " prop="WeChat">-->
<!-- <el-input v-model="basicInfo.WeChat" :disabled="$route.query.ReviewStatus === '1'" size="small" />-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="12">
<!-- <el-form-item label="Payment Type: " prop="Nation">
<el-radio-group v-model="basicInfo.Nation">
@ -108,7 +106,7 @@
</el-radio-group>
</el-form-item> -->
<el-form-item label="Payment Type: " prop="Nation">
<el-form-item label="Country: " prop="Nation">
<el-select
:disabled="$route.query.ReviewStatus === '1'"
v-model="basicInfo.Nation"
@ -121,6 +119,8 @@
</el-form-item>
</el-col>
</el-row>
<!-- <el-row>-->
<!-- </el-row>-->
<el-row>
<el-form-item style="margin-left: 120px">
<el-button

View File

@ -170,96 +170,95 @@
</el-col>
</el-row>
<el-row>
<el-col :span="14">
<el-form-item label="Physician: " prop="PhysicianId" >
<el-select
v-model="employmentForm.PhysicianId"
placeholder="select"
:disabled="$route.query.ReviewStatus === '1'"
@change="PhysicianChange"
style="width:100%;"
size="small"
>
<el-option
v-for="item of $d.PhysicianOriginal"
:key="item.id"
:label="item.raw.Value"
:value="item.id"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item v-if="$fd('PhysicianOriginal', employmentForm.PhysicianId, 'id') === '其它' || $fd('PhysicianOriginal', employmentForm.PhysicianId, 'id') === 'Other'" class="other-item" prop="Physician">
<el-input
:disabled="$route.query.ReviewStatus === '1'"
v-model="employmentForm.Physician"
placeholder="Please specify"
size="small"
/>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item v-if="$fd('PhysicianOriginal', employmentForm.PhysicianId, 'id') === '其它' || $fd('PhysicianOriginal', employmentForm.PhysicianId, 'id') === 'Other'" class="other-item" prop="PhysicianCN">
<el-input
:disabled="$route.query.ReviewStatus === '1'"
v-model="employmentForm.PhysicianCN"
placeholder="请用中文注明"
size="small"
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="14">
<el-form-item label="Position: " prop="PositionId">
<el-select
:disabled="$route.query.ReviewStatus === '1'"
v-model="employmentForm.PositionId"
placeholder="select"
style="width:100%;"
size="small"
>
<!-- <el-option
v-for="(key,value) of dictionaryList.Position"
:key="key"
:label="key"
:value="value"
/> -->
<el-option
v-for="item of dictionaryList.Position"
:key="item.Id"
:label="item.Value"
:value="item.Id"
/>
<el-option label="Other" :value="otherId" />
<el-option label="None" value="f30a074b-2b47-4a92-97ec-e15086d37883" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item v-if="employmentForm.PositionId===otherId" class="other-item" prop="PositionOther">
<el-input
:disabled="$route.query.ReviewStatus === '1'"
v-model="employmentForm.PositionOther"
placeholder="Please specify"
size="small"
/>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item v-if="employmentForm.PositionId===otherId" class="other-item" prop="PositionOtherCN">
<el-input
:disabled="$route.query.ReviewStatus === '1'"
v-model="employmentForm.PositionOtherCN"
placeholder="请用中文注明"
size="small"
/>
</el-form-item>
</el-col>
</el-row>
<!-- <el-row>-->
<!-- <el-col :span="14">-->
<!-- <el-form-item label="Physician: " prop="PhysicianId" >-->
<!-- <el-select-->
<!-- v-model="employmentForm.PhysicianId"-->
<!-- placeholder="select"-->
<!-- :disabled="$route.query.ReviewStatus === '1'"-->
<!-- @change="PhysicianChange"-->
<!-- style="width:100%;"-->
<!-- size="small"-->
<!-- >-->
<!-- <el-option-->
<!-- v-for="item of $d.PhysicianOriginal"-->
<!-- :key="item.id"-->
<!-- :label="item.raw.Value"-->
<!-- :value="item.id"-->
<!-- />-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="5">-->
<!-- <el-form-item v-if="$fd('PhysicianOriginal', employmentForm.PhysicianId, 'id') === '其它' || $fd('PhysicianOriginal', employmentForm.PhysicianId, 'id') === 'Other'" class="other-item" prop="Physician">-->
<!-- <el-input-->
<!-- :disabled="$route.query.ReviewStatus === '1'"-->
<!-- v-model="employmentForm.Physician"-->
<!-- placeholder="Please specify"-->
<!-- size="small"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="5">-->
<!-- <el-form-item v-if="$fd('PhysicianOriginal', employmentForm.PhysicianId, 'id') === '其它' || $fd('PhysicianOriginal', employmentForm.PhysicianId, 'id') === 'Other'" class="other-item" prop="PhysicianCN">-->
<!-- <el-input-->
<!-- :disabled="$route.query.ReviewStatus === '1'"-->
<!-- v-model="employmentForm.PhysicianCN"-->
<!-- placeholder="请用中文注明"-->
<!-- size="small"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- </el-row>-->
<!-- <el-row>-->
<!-- <el-col :span="14">-->
<!-- <el-form-item label="Position: " prop="PositionId">-->
<!-- <el-select-->
<!-- :disabled="$route.query.ReviewStatus === '1'"-->
<!-- v-model="employmentForm.PositionId"-->
<!-- placeholder="select"-->
<!-- style="width:100%;"-->
<!-- size="small"-->
<!-- >-->
<!-- &lt;!&ndash; <el-option-->
<!-- v-for="(key,value) of dictionaryList.Position"-->
<!-- :key="key"-->
<!-- :label="key"-->
<!-- :value="value"-->
<!-- /> &ndash;&gt;-->
<!-- <el-option-->
<!-- v-for="item of dictionaryList.Position"-->
<!-- :key="item.Id"-->
<!-- :label="item.Value"-->
<!-- :value="item.Id"-->
<!-- />-->
<!-- <el-option label="Other" :value="otherId" />-->
<!-- <el-option label="None" value="f30a074b-2b47-4a92-97ec-e15086d37883" />-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="5">-->
<!-- <el-form-item v-if="employmentForm.PositionId===otherId" class="other-item" prop="PositionOther">-->
<!-- <el-input-->
<!-- :disabled="$route.query.ReviewStatus === '1'"-->
<!-- v-model="employmentForm.PositionOther"-->
<!-- placeholder="Please specify"-->
<!-- size="small"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="5">-->
<!-- <el-form-item v-if="employmentForm.PositionId===otherId" class="other-item" prop="PositionOtherCN">-->
<!-- <el-input-->
<!-- :disabled="$route.query.ReviewStatus === '1'"-->
<!-- v-model="employmentForm.PositionOtherCN"-->
<!-- placeholder="请用中文注明"-->
<!-- size="small"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- </el-row>-->
<el-form-item>
<el-button type="primary" :disabled="isDisabled || $route.query.ReviewStatus === '1'" size="small" @click="handleSave">Save</el-button>

View File

@ -4,14 +4,14 @@
<div class="search">
<div class="base-search-form">
<el-form size="small" :inline="true">
<el-form-item label="Name:">
<el-form-item :label="$t('reviewers-list:label:Name')">
<el-input
v-model="searchData.Name"
style="width:100px;"
clearable
/>
</el-form-item>
<el-form-item label="Modality:">
<el-form-item :label="$t('reviewers-list:label:Modality')">
<el-select
v-model="searchData.ReadingTypeIdList"
clearable
@ -33,7 +33,7 @@
/>
</el-select>
</el-form-item>
<el-form-item label="Subspeciality:">
<el-form-item :label="$t('reviewers-list:label:Subspeciality')">
<el-select
v-model="searchData.SubspecialityIdList"
multiple
@ -50,21 +50,20 @@
</el-select>
</el-form-item>
<el-form-item>
<!-- <el-button type="text" @click="handleMore">More</el-button> -->
<el-button type="primary" icon="el-icon-search" @click="handleSearch">Search</el-button>
<el-button type="primary" icon="el-icon-refresh-left" @click="handleReset">Reset</el-button>
<el-button type="primary" icon="el-icon-search" @click="handleSearch">{{ $t('common:button:search') }}</el-button>
<el-button type="primary" icon="el-icon-refresh-left" @click="handleReset">{{ $t('common:button:reset') }}</el-button>
<el-button
icon="el-icon-download"
type="primary"
:disabled="!(selectArr.length>0)"
@click="handleDownLoadOffical"
>Download CV</el-button>
>{{$t('reviewers-list:label:DownloadCV')}}</el-button>
<el-button
type="primary"
icon="el-icon-link"
@click="showResearchLink"
>
采集链接
{{$t('reviewers-list:label:showResearchLink')}}
</el-button>
</el-form-item>
</el-form>
@ -77,244 +76,10 @@
style="margin-right:10px;"
@change="handleIsEnChange"
/>
<el-button size="small" icon="el-icon-plus" type="primary" @click="handleNew">New</el-button>
<el-button size="small" icon="el-icon-plus" type="primary" @click="handleNew">{{$t('common:button:new')}}</el-button>
</span>
</div>
<!-- 更多搜索条件 -->
<el-drawer
:visible.sync="isShow"
:with-header="false"
size="410px"
>
<div style="padding:10px;">
<el-form label-width="160px" size="mini">
<el-form-item label="Name">
<el-input
v-model="searchData.Name"
placeholder="Name"
style="width:100%;"
clearable
/>
</el-form-item>
<el-form-item label="Modality">
<el-select
v-model="searchData.ReadingTypeIdList"
placeholder="Modality"
clearable
multiple
style="width:100%;"
>
<!-- <el-option
v-for="(key,value) of dictionaryList.ReadingType"
:key="key"
:label="key"
:value="value"
/> -->
<el-option
v-for="item of dict.type.ReadingType"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="Subspeciality">
<el-select
v-model="searchData.SubspecialityIdList"
placeholder="Subspeciality"
multiple
clearable
style="width:100%;"
>
<!-- <el-option
v-for="(key,value) of dictionaryList.Subspeciality"
:key="key"
:label="key"
:value="value"
/> -->
<el-option
v-for="item of dict.type.Subspeciality"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="Department">
<el-select
v-model="searchData.DepartmentId"
placeholder="Department"
style="width:100%;"
clearable
>
<!-- <el-option
v-for="(key,value) of dictionaryList.Department"
:key="key"
:label="key"
:value="value"
/> -->
<el-option
v-for="item of dict.type.Department"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="Rank">
<el-select
v-model="searchData.RankId"
placeholder="Rank"
style="width:100%;"
clearable
>
<!-- <el-option
v-for="(key,value) of dictionaryList.Rank"
:key="key"
:label="key"
:value="value"
/> -->
<el-option
v-for="item of dict.type.Rank"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="Position">
<el-select
v-model="searchData.PositionId"
placeholder="Position"
style="width:100%;"
clearable
>
<!-- <el-option
v-for="(key,value) of dictionaryList.Position"
:key="key"
:label="key"
:value="value"
/> -->
<el-option
v-for="item of dict.type.Position"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="Institution">
<el-select
v-model="searchData.HospitalId"
placeholder="Institution"
style="width:100%;"
clearable
>
<el-option
v-for="(item,index) in hospitalList"
:key="index"
:label="item.HospitalName"
:value="item.Id"
/>
</el-select>
</el-form-item>
<el-form-item label="Review Criteria">
<el-select
v-model="searchData.EvaluationCriteriaIdList"
placeholder="Please select"
style="width:100%;"
clearable
multiple
>
<!-- <el-option v-for="(key,value) of dictionaryList.ReadingStandard" :key="key" :label="key" :value="value" /> -->
<el-option
v-for="item of dict.type.ReadingStandard"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="Enrollment">
<el-select
v-model="searchData.EnrollStatus"
placeholder="Enrollment"
style="width:100%;"
clearable
>
<el-option key="2" label="Yes" :value="2" />
<el-option key="1" label="No" :value="1" />
</el-select>
</el-form-item>
<el-form-item label="Information Confirmed">
<el-select
v-model="searchData.InformationConfirmed"
placeholder="Information Confirmed"
style="width:100%;"
clearable
>
<el-option key="1" label="Yes" :value="1" />
<el-option key="2" label="No" :value="2" />
</el-select>
</el-form-item>
<el-form-item label="Contractor Status">
<el-select
v-model="searchData.ContractorStatus"
placeholder="Contractor Status"
style="width:100%;"
clearable
>
<el-option key="1" label="Yes" :value="1" />
<el-option key="2" label="No" :value="2" />
</el-select>
</el-form-item>
<el-form-item label="Accepting New Trials">
<el-select
v-model="searchData.AcceptingNewTrial"
placeholder="Accepting New Trials"
style="width:100%;"
clearable
>
<el-option key="2" label="Yes" :value="true" />
<el-option key="1" label="No" :value="false" />
</el-select>
</el-form-item>
<el-form-item label="Actively Reading">
<el-select
v-model="searchData.ActivelyReading"
placeholder="Actively Reading"
style="width:100%;"
clearable
>
<el-option key="2" label="Yes" :value="true" />
<el-option key="1" label="No" :value="false" />
</el-select>
</el-form-item>
<el-form-item label="Payment Type: ">
<el-select
v-model="searchData.Nation"
clearable
style="width:100%;"
>
<el-option v-for="item of $d.AttendedReviewerType" :value="item.value" :label="item.label" />
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="handleSelectSearch">Search</el-button>
<el-button type="primary" @click="handleReset">Reset</el-button>
<el-button type="primary" @click="isShow=false">Back</el-button>
</el-form-item>
</el-form>
</div>
</el-drawer>
<!-- 医生列表 -->
<el-table
v-adaptive="{bottomOffset:55}"
@ -330,7 +95,7 @@
<el-table-column
align="left"
prop="LastName"
label="Name"
:label="$t('reviewers-list:table:Name')"
show-overflow-tooltip
width="130"
sortable="custom"
@ -341,15 +106,15 @@
</el-table-column>
<el-table-column
prop="ChineseName"
label="Name CN"
:label="$t('reviewers-list:table:NameCN')"
show-overflow-tooltip
width="90"
align="left"
/>
<el-table-column prop="ReviewerCode" label="ID" width="80" show-overflow-tooltip sortable="custom" />
<el-table-column prop="AccountUserName" label="User Name" width="140" show-overflow-tooltip sortable="custom" />
<el-table-column prop="ReviewerCode" :label="$t('reviewers-list:table:ID')" width="80" show-overflow-tooltip sortable="custom" />
<el-table-column prop="AccountUserName" :label="$t('reviewers-list:table:UserName')" width="140" show-overflow-tooltip sortable="custom" />
<el-table-column
label="Reading"
:label="$t('reviewers-list:table:Reading')"
width="100"
show-overflow-tooltip
sortable="custom"
@ -370,7 +135,7 @@
</template>
</el-table-column>
<el-table-column
label="Finished"
:label="$t('reviewers-list:table:Finished')"
width="100"
show-overflow-tooltip
sortable="custom"
@ -393,7 +158,7 @@
<el-table-column
align="left"
prop="SpecialityId"
label="Specialty"
:label="$t('reviewers-list:table:Specialty')"
sortable="custom"
show-overflow-tooltip
width="130"
@ -407,7 +172,7 @@
<el-table-column
align="left"
prop="Subspeciality"
label="Subspecialty"
:label="$t('reviewers-list:table:Subspecialty')"
show-overflow-tooltip
min-width="150"
>
@ -422,7 +187,7 @@
</el-table-column>
<el-table-column
prop="HospitalName"
label="Institution"
:label="$t('reviewers-list:table:Institution')"
min-width="110"
align="left"
sortable="custom"
@ -436,7 +201,7 @@
</el-table-column>
<el-table-column
prop="City"
label="Location"
:label="$t('reviewers-list:table:Location')"
width="110"
align="left"
sortable="custom"
@ -450,7 +215,7 @@
</el-table-column>
<el-table-column
prop="IsVirtual"
label="Virtual"
:label="$t('reviewers-list:table:Virtual')"
min-width="80"
align="left"
sortable="custom"
@ -464,7 +229,7 @@
</el-table-column>
<el-table-column
prop="ReviewStatus"
label="Confirmed"
:label="$t('reviewers-list:table:Confirmed')"
min-width="80"
align="left"
sortable="custom"
@ -476,27 +241,27 @@
</span>
</template>
</el-table-column>
<el-table-column label="Action" min-width="200" align="left" fixed="right">
<el-table-column :label="$t('common:action:action')" min-width="200" align="left" fixed="right">
<template slot-scope="scope">
<el-button
size="mini"
circle
icon="el-icon-info"
title="Detail"
:title="$t('reviewers-list:table:Detail')"
@click="handleDetail(scope.row)"
/>
<el-button
size="mini"
circle
icon="el-icon-edit-outline"
title="Edit"
:title="$t('reviewers-list:table:Edit')"
@click="handleEdit(scope.row)"
/>
<el-button
size="mini"
icon="el-icon-view"
circle
title="盲态简历"
:title="$t('reviewers-list:table:Blind')"
@click="lookResumeInfo(scope.row)"
/>
</template>
@ -515,13 +280,13 @@
<template slot="dialog-body">
<div>
<i style="color:#428bca;" class="el-icon-success" />
<span>成功创建分享链接</span>
<span>{{ $t('reviewers-list:message:msg1')}}</span>
</div>
<div style="margin:10px 0;">
<span style="">个人简历填写链接</span><el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4}" v-model="shareLink" readonly style="width: 100%;margin-top: 10px" />
<span style="">{{ $t('reviewers-list:message:msg2') }}</span><el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4}" v-model="shareLink" readonly style="width: 100%;margin-top: 10px" />
</div>
<div>
<el-button type="primary" round @click="copyCode"></el-button>
<el-button type="primary" round @click="copyCode">{{ $t('reviewers-list:button:copyCode') }}</el-button>
</div>
</template>
</base-model>

View File

@ -49,11 +49,15 @@
</template>
<script>
import { getUserList, getUserTypeList, deleteSysUser } from '@/api/admin'
import { searchForm, searchHandle, columns } from './list'
// import { searchForm, searchHandle, columns } from './list'
import BoxContent from '@/components/BoxContent'
import SearchForm from '@/components/BaseForm/search-form'
import BaseTable from '@/components/BaseTable'
import tableMixins from '@/mixins/table'
//
//
const searchDataDefault = () => {
return {
UserName: null,
@ -75,9 +79,179 @@ export default {
data() {
return {
searchData: searchDataDefault(),
searchForm,
searchHandle,
columns,
columns: [
{ type: 'index' },
{
prop: 'UserCode',
label: this.$t('system:userlist:table:S/N'),
width: 100,
sortable: 'custom',
showOverflowTooltip: true
},
{
prop: 'UserName',
label: this.$t('system:userlist:table:UserName'),
minWidth: 100,
sortable: 'custom',
showOverflowTooltip: true
},
{
prop: 'RealName',
label: this.$t('system:userlist:table:RealName'),
minWidth: 120,
sortable: 'custom',
showOverflowTooltip: true
},
{
prop: 'Sex',
label: this.$t('system:userlist:table:Gender'),
hidden: true,
slot: 'genderSlot',
minWidth: 100,
sortable: 'custom',
showOverflowTooltip: true
},
{
prop: 'Phone',
label: this.$t('system:userlist:table:Phone'),
minWidth: 120,
sortable: 'custom',
showOverflowTooltip: true
},
{
prop: 'EMail',
label: this.$t('system:userlist:table:EMail'),
minWidth: 150,
sortable: 'custom',
showOverflowTooltip: true
},
{
prop: 'OrganizationName',
label: this.$t('system:userlist:table:Organization'),
minWidth: 130,
showOverflowTooltip: true
},
{
prop: 'UserType',
label: this.$t('system:userlist:table:UserType'),
minWidth: 100,
sortable: 'custom',
showOverflowTooltip: true
},
{
prop: 'IsZhiZhun',
label: this.$t('system:userlist:table:InternalOrExternal'),
hidden: true,
slot: 'isZhiZhunSlot',
minWidth: 140,
sortable: 'custom',
showOverflowTooltip: true },
{
prop: 'IsTestUser',
label: this.$t('system:userlist:table:IsTestUser'),
hidden: true,
slot: 'isTestUserSlot',
minWidth: 120,
sortable: 'custom',
showOverflowTooltip: true },
{
prop: 'Status',
label: this.$t('system:userlist:table:Status'),
hidden: true,
slot: 'statusSlot',
minWidth: 100,
sortable: 'custom',
showOverflowTooltip: true },
{ type: 'operate',
label: this.$t('common:action:action'),
minWidth: 200,
operates: [
{ name: 'Edit', type: 'primary', emitKey: 'editCb' },
{ name: 'Delete', type: 'danger', emitKey: 'deleteCb' }
] }
],
searchForm: [
{
type: 'Input',
label: this.$t('system:userlist:label:UserName'),
prop: 'UserName',
width: '120px',
placeholder: ''
},
{
type: 'Input',
label: this.$t('system:userlist:label:RealName'),
prop: 'RealName',
width: '120px',
placeholder: ''
},
{
type: 'Input',
label: this.$t('system:userlist:label:Phone'),
prop: 'Phone',
width: '120px',
placeholder: ''
},
{
type: 'Input',
label: this.$t('system:userlist:label:Organization'),
prop: 'OrganizationName',
width: '120px',
placeholder: ''
},
{
type: 'Select',
label: this.$t('system:userlist:label:InternalOrExternal'),
prop: 'IsZhiZhun',
width: '100px',
options: [
{ label: 'Internal', value: true },
{ label: 'External', value: false }
],
props: { label: 'label', value: 'value' },
change: scope => '',
placeholder: ''
},
{
type: 'Select',
label: this.$t('system:userlist:label:IsTestUser'),
prop: 'IsTestUser',
width: '100px',
options: [
{ label: 'Yes', value: true },
{ label: 'No', value: false }
],
props: { label: 'label', value: 'value' },
change: scope => '',
placeholder: ''
},
{
type: 'Select',
label: this.$t('system:userlist:label:Status'),
prop: 'UserState',
width: '100px',
options: [
{ label: 'Enable', value: 1 },
{ label: 'Disable', value: 0 }
],
props: { label: 'label', value: 'value' },
change: scope => '',
placeholder: ''
},
{
type: 'Select',
label: this.$t('system:userlist:label:UserType'),
prop: 'UserType',
width: '100px',
options: [], //
props: { label: 'UserType', value: 'Id' }, //
placeholder: ''
}
],
searchHandle: [
{ label: this.$t('common:button:reset'), type: 'primary', emitKey: 'reset' },
{ label: this.$t('common:button:search'), type: 'primary', emitKey: 'search' }
],
userTypeOptions: [],
loading: false,
total: 0,

View File

@ -271,10 +271,12 @@ export default {
},
setNewUserName() {
setNewUserName(this.userForm.UserName).then(() => {
this.$store.dispatch('user/changeUserName', this.userForm.UserName).then((res) => {
this.userForm.UserName = ''
this.$message.success(this.$t('trials:trials-myinfo:message:updateSuccessfully'))
this.getUserInfo()
})
})
},
setNewPhone() {
setNewPhone(this.userForm.Phone).then(() => {

View File

@ -8,15 +8,15 @@
<div v-if="trialInfo" class="trial-wrapper">
<div class="div-row">
<div class="div-col">
<label class="el-label">{{ $t('trials:trials-list:form:indication') }}:</label>
<label class="el-label">{{ $t('trials:trials-list:form:indication') }}</label>
<span>{{$fd('Indication', trialInfo.IndicationEnum)}}{{trialInfo.Indication ? '-' + trialInfo.Indication : '' }}</span>
</div>
<div class="div-col">
<label class="el-label">{{ $t('trials:trials-list:form:criterion') }}:</label>
<label class="el-label">{{ $t('trials:trials-list:form:criterion') }}</label>
<span>{{ (trialInfo.CriterionList && trialInfo.CriterionList.length>0)? trialInfo.CriterionList.join(', '): '' }}</span>
</div>
<div class="div-col">
<label class="el-label">{{ $t('trials:trials-list:form:modality') }}:</label>
<label class="el-label">{{ $t('trials:trials-list:form:modality') }}</label>
<el-tooltip
class="item"
:content="trialInfo.Modalitys"
@ -34,11 +34,11 @@
<!-- <span>{{ $fd('ReadingMethod', trialInfo.ReadingType) }}</span>-->
<!-- </div>-->
<div class="div-col">
<label class="el-label">{{ $t('trials:trials-list:form:totalReviewers') }}:</label>
<label class="el-label">{{ $t('trials:trials-list:form:totalReviewers') }}</label>
<span>{{ trialInfo.TotalReviewers }}</span>
</div>
<div class="div-col">
<label class="el-label">{{ $t('trials:trials-list:form:typeofReviewers') }}:</label>
<label class="el-label">{{ $t('trials:trials-list:form:typeofReviewers') }}</label>
<span>{{ trialInfo.AttendedReviewerTypeEnumList.map(v => $fd('AttendedReviewerType', v)).toString() }}</span>
<!-- <span>{{ $fd('AttendedReviewerType', trialInfo.AttendedReviewerType) }}</span>-->
</div>

View File

@ -8,15 +8,15 @@
<div v-if="trialInfo" class="trial-wrapper">
<div class="div-row">
<div class="div-col">
<label class="el-label">{{ $t('trials:trials-list:form:indication') }}:</label>
<label class="el-label">{{ $t('trials:trials-list:form:indication') }}</label>
<span>{{$fd('Indication', trialInfo.IndicationEnum)}}{{trialInfo.Indication ? '-' + trialInfo.Indication : '' }}</span>
</div>
<div class="div-col">
<label class="el-label">{{ $t('trials:trials-list:form:criterion') }}:</label>
<label class="el-label">{{ $t('trials:trials-list:form:criterion') }}</label>
<span>{{ (trialInfo.CriterionList && trialInfo.CriterionList.length>0)? trialInfo.CriterionList.join(', '): '' }}</span>
</div>
<div class="div-col">
<label class="el-label">{{ $t('trials:trials-list:form:modality') }}:</label>
<label class="el-label">{{ $t('trials:trials-list:form:modality') }}</label>
<el-tooltip
class="item"
:content="trialInfo.Modalitys"
@ -34,11 +34,11 @@
<!-- <span>{{ $fd('ReadingMethod', trialInfo.ReadingType) }}</span>-->
<!-- </div>-->
<div class="div-col">
<label class="el-label">{{ $t('trials:trials-list:form:totalReviewers') }}:</label>
<label class="el-label">{{ $t('trials:trials-list:form:totalReviewers') }}</label>
<span>{{ trialInfo.TotalReviewers }}</span>
</div>
<div class="div-col">
<label class="el-label">{{ $t('trials:trials-list:form:typeofReviewers') }}:</label>
<label class="el-label">{{ $t('trials:trials-list:form:typeofReviewers') }}</label>
<span>{{ trialInfo.AttendedReviewerTypeEnumList.map(v => $fd('AttendedReviewerType', v)).toString() }}</span>
<!-- <span>{{ $fd('AttendedReviewerType', trialInfo.AttendedReviewerType) }}</span>-->
</div>

View File

@ -3,7 +3,7 @@
ref="visitPlanForm"
:model="form"
:rules="rules"
label-width="140px"
label-width="180px"
size="small"
>
<!-- 访视名称 -->

View File

@ -33,7 +33,7 @@
</el-descriptions-item>
<el-descriptions-item :label="$t('trials:trials-list:form:declarationType')">
{{trialInfo.DeclarationTypeEnumList.map(v => $fd('DeclarationType', v)).toString()}}
{{trialInfo.DeclarationTypeEnumList.map(v => $fd('DeclarationType', v)).join(', ')}}
</el-descriptions-item>
<el-descriptions-item :label="$t('trials:trials-list:form:phase')">
{{ trialInfo.Phase }}
@ -82,7 +82,7 @@
{{trialInfo.TotalReviewers}}
</el-descriptions-item>
<el-descriptions-item :label="$t('trials:trials-list:form:typeofReviewers')">
{{trialInfo.AttendedReviewerTypeEnumList.map(v => $fd('AttendedReviewerType', v)).toString()}}
{{trialInfo.AttendedReviewerTypeEnumList.map(v => $fd('AttendedReviewerType', v)).join(', ')}}
</el-descriptions-item>
</el-descriptions>

View File

@ -229,15 +229,15 @@
<el-tooltip placement="bottom">
<div slot="content">
<!-- DICOM/Non-DICOM/Clinical data -->
<span>{{ $t('trials:crcUpload:label:dicom') }}: {{ scope.row.DicomStudyCount }},</span>
<span>{{ $t('trials:crcUpload:label:dicom') }}: {{ scope.row.DicomStudyCount }}, </span>
<span v-if="scope.row.IsBaseLine && otherInfo.ClinicalInformationTransmissionEnum > 0">
<span>{{ $t('trials:crcUpload:label:noneDicom') }}: {{ scope.row.NoneDicomStudyCount }},</span>
<span>{{ $t('trials:crcUpload:label:noneDicom') }}: {{ scope.row.NoneDicomStudyCount }}, </span>
<span>{{ $t('trials:crcUpload:label:clinicalData') }}: {{ scope.row.IsHaveClinicalData?'w/':'w/o' }}</span>
</span>
<span v-else>{{ $t('trials:crcUpload:label:noneDicom') }}: {{ scope.row.NoneDicomStudyCount }}</span>
</div>
<span>
{{ scope.row.IsBaseLine && otherInfo.ClinicalInformationTransmissionEnum > 0?[scope.row.DicomStudyCount,scope.row.NoneDicomStudyCount,scope.row.IsHaveClinicalData?'w/':'w/o'].join(', '):[scope.row.DicomStudyCount,scope.row.NoneDicomStudyCount].join(', ') }}
{{ scope.row.IsBaseLine && otherInfo.ClinicalInformationTransmissionEnum > 0?[scope.row.DicomStudyCount,scope.row.NoneDicomStudyCount,scope.row.IsHaveClinicalData?'w/':'w/o'].join(','):[scope.row.DicomStudyCount,scope.row.NoneDicomStudyCount].join(', ') }}
</span>
</el-tooltip>
</template>

View File

@ -315,7 +315,7 @@
prop="PreliminaryAuditUserName"
:label="$t('trials:qcCheck:table:reviewer')"
show-overflow-tooltip
min-width="170"
min-width="200"
>
<template slot-scope="scope">
<!-- <span>{{ scope.row.PreliminaryAuditUserName }}</span> -->
@ -329,7 +329,9 @@
>
{{ $t('trials:qcCheck:label:preliminary') }}
</span>
<!-- <span v-if="scope.row.ReviewAuditUserName" /> -->
<span v-if="scope.row.ReviewAuditUserName">
,
</span>
<!-- <span>{{ scope.row.ReviewAuditUserName }}</span> -->
<el-button v-if="scope.row.ReviewAuditUserName" type="text" @click="handleViewReviewQC(scope.row)">
{{ scope.row.ReviewAuditUserName }}