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

uat
wangxiaoshuang 2025-03-18 13:45:13 +08:00
parent 3672892451
commit 3b0afd3913
1 changed files with 45 additions and 124 deletions

View File

@ -7,112 +7,53 @@
<div class="search" style="position: relative"> <div class="search" style="position: relative">
<el-form :inline="true" class="base-search-form"> <el-form :inline="true" class="base-search-form">
<!--专业--> <!--专业-->
<el-form-item <el-form-item :label="$t('trials:trialDocument:curriculumVitae:search:Speciality')">
:label="$t('trials:trialDocument:curriculumVitae:search:Speciality')" <el-select v-model="searchData.SpecialityId" style="width: 200px" placeholder="" clearable>
> <el-option v-for="item in $d.Department" :key="item.id" :label="item.label" :value="item.id">
<el-select
v-model="searchData.SpecialityId"
style="width: 200px"
placeholder=""
clearable
>
<el-option
v-for="item in $d.Department"
:key="item.id"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<!--亚专业--> <!--亚专业-->
<el-form-item <el-form-item :label="$t('trials:trialDocument:curriculumVitae:search:Subspeciality')
:label=" ">
$t('trials:trialDocument:curriculumVitae:search:Subspeciality') <el-select v-model="searchData.SubspecialityId" style="width: 200px" placeholder="" clearable>
" <el-option v-for="item in $d.Subspeciality" :key="item.id" :label="item.label" :value="item.id">
>
<el-select
v-model="searchData.SubspecialityId"
style="width: 200px"
placeholder=""
clearable
>
<el-option
v-for="item in $d.Subspeciality"
:key="item.id"
:label="item.label"
:value="item.id"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<!--机构--> <!--机构-->
<el-form-item <el-form-item :label="$t('trials:trialDocument:curriculumVitae:search:HospitalName')
:label=" ">
$t('trials:trialDocument:curriculumVitae:search:HospitalName') <el-select v-model="searchData.HospitalId" style="width: 200px" placeholder="" clearable>
" <el-option v-for="(item, index) in hospitalList" :key="index"
> :label="isEN ? item.HospitalName : item.HospitalNameCN" :value="item.Id" />
<el-select
v-model="searchData.HospitalId"
style="width: 200px"
placeholder=""
clearable
>
<el-option
v-for="(item, index) in hospitalList"
:key="index"
:label="isEN ? item.HospitalName : item.HospitalNameCN"
:value="item.Id"
/>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" @click="handleSearch"> <el-button type="primary" icon="el-icon-search" @click="handleSearch">
{{ $t('common:button:search') }} {{ $t('common:button:search') }}
</el-button> </el-button>
<el-button <el-button type="primary" icon="el-icon-refresh-left" @click="handleReset">
type="primary"
icon="el-icon-refresh-left"
@click="handleReset"
>
{{ $t('common:button:reset') }} {{ $t('common:button:reset') }}
</el-button> </el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<el-table <el-table v-loading="loading" v-adaptive="{ bottomOffset: 75 }" :data="list" stripe height="100"
v-loading="loading" style="width: 100%">
v-adaptive="{ bottomOffset: 75 }"
:data="list"
stripe
height="100"
style="width: 100%"
>
<el-table-column type="index" /> <el-table-column type="index" />
<!--姓名--> <!--姓名-->
<el-table-column <el-table-column prop="BlindName" :label="$t('trials:trialDocument:curriculumVitae:table:name')"
prop="BlindName" show-overflow-tooltip sortable="custom">
:label="$t('trials:trialDocument:curriculumVitae:table:name')"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ isEN ? scope.row.BlindName : scope.row.BlindNameCN }}</span> <span>{{ isEN ? scope.row.BlindName : scope.row.BlindNameCN }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="Code" :label="$t('trials:trialDocument:curriculumVitae:table:UserName')"
prop="Code" show-overflow-tooltip sortable="custom" />
:label="$t('trials:trialDocument:curriculumVitae:table:UserName')" <el-table-column prop="Speciality" :label="$t('trials:trialDocument:curriculumVitae:table:Speciality')"
show-overflow-tooltip show-overflow-tooltip sortable="custom">
sortable="custom"
/>
<el-table-column
prop="Speciality"
:label="$t('trials:trialDocument:curriculumVitae:table:Speciality')"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span> <span>
{{ {{
@ -125,11 +66,8 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="Subspeciality" :label="$t('trials:trialDocument:curriculumVitae:table:Subspeciality')"
prop="Subspeciality" show-overflow-tooltip>
:label="$t('trials:trialDocument:curriculumVitae:table:Subspeciality')"
show-overflow-tooltip
>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="isEN"> <span v-if="isEN">
{{ {{
@ -147,52 +85,29 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="HospitalName" :label="$t('trials:trialDocument:curriculumVitae:table:HospitalName')"
prop="HospitalName" show-overflow-tooltip sortable="custom">
:label="$t('trials:trialDocument:curriculumVitae:table:HospitalName')"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span> <span>
{{ isEN ? scope.row.HospitalName : scope.row.HospitalNameCN }} {{ isEN ? scope.row.HospitalName : scope.row.HospitalNameCN }}
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="OptTimeStr" :label="$t('trials:trialDocument:curriculumVitae:table:submmitTime')"
prop="OptTimeStr" show-overflow-tooltip sortable="custom" />
:label="$t('trials:trialDocument:curriculumVitae:table:submmitTime')"
show-overflow-tooltip
sortable="custom"
/>
<el-table-column :label="$t('common:action:action')" width="200"> <el-table-column :label="$t('common:action:action')" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button icon="el-icon-view" :title="$t('common:button:view')" circle @click.stop="preview(scope.row)" />
icon="el-icon-view"
:title="$t('common:button:view')"
circle
@click.stop="preview(scope.row)"
/>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<!-- 分页组件 --> <!-- 分页组件 -->
<pagination <pagination class="page" :total="total" :page.sync="searchData.PageIndex" :limit.sync="searchData.PageSize"
class="page" @pagination="getList" />
:total="total"
:page.sync="searchData.PageIndex"
:limit.sync="searchData.PageSize"
@pagination="getList"
/>
<el-dialog :visible.sync="preview_visible" fullscreen> <el-dialog :visible.sync="preview_visible" fullscreen>
<div style="height: 100%; overflow: auto"> <div style="height: 100%; overflow: auto">
<preview <preview :isEN="isEN" :isAll="isAll" :reviewerId.sync="reviewerId" v-if="preview_visible" />
:isEN="isEN"
:isAll="isAll"
:reviewerId.sync="reviewerId"
v-if="preview_visible"
/>
</div> </div>
</el-dialog> </el-dialog>
</box-content> </box-content>
@ -336,8 +251,7 @@ export default {
]) ])
}, },
TITLE() { TITLE() {
return `${this.$fd('ArchiveType', this.ArchiveTypeEnum)}${ return `${this.$fd('ArchiveType', this.ArchiveTypeEnum)}${this.isEN ? this.rowData.Name : this.rowData.NameCN
this.isEN ? this.rowData.Name : this.rowData.NameCN
}` }`
}, },
}, },
@ -349,25 +263,32 @@ export default {
font-weight: bold; font-weight: bold;
margin-bottom: 10px; margin-bottom: 10px;
} }
.fileName { .fileName {
display: inline-block; display: inline-block;
max-width: 100%; max-width: 100%;
white-space: nowrap; /* 文本不换行 */ white-space: nowrap;
overflow: hidden; /* 超出部分隐藏 */ /* 文本不换行 */
overflow: hidden;
/* 超出部分隐藏 */
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.fileBtnBox { .fileBtnBox {
display: inline-block; display: inline-block;
width: 50px; width: 50px;
i { i {
cursor: pointer; cursor: pointer;
color: #409eff; color: #409eff;
margin-right: 3px; margin-right: 3px;
&:last-child { &:last-child {
margin: 0; margin: 0;
} }
} }
} }
.topForm { .topForm {
.el-form-item { .el-form-item {
margin-right: 30px; margin-right: 30px;