下拉框添加清除按钮

uat_us
caiyiling 2024-09-13 15:04:04 +08:00
parent 8047ba7f5f
commit 3a5de3fadf
3 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<el-form :inline="true"> <el-form :inline="true">
<!-- 文件类型 --> <!-- 文件类型 -->
<el-form-item :label="$t('trials:signRecords:table:fileType')"> <el-form-item :label="$t('trials:signRecords:table:fileType')">
<el-select v-model="searchData.FileTypeId" style="width: 150px"> <el-select v-model="searchData.FileTypeId" clearable style="width: 150px">
<el-option <el-option
v-for="item of typeOptions" v-for="item of typeOptions"
:key="item.FileTypeId" :key="item.FileTypeId"

View File

@ -7,6 +7,7 @@
<el-form-item :label="$t('trials:self-attachment:table:fileType')"> <el-form-item :label="$t('trials:self-attachment:table:fileType')">
<el-select <el-select
v-model="searchData.FileTypeId" v-model="searchData.FileTypeId"
clearable
style="width:150px;" style="width:150px;"
> >
<el-option <el-option

View File

@ -7,6 +7,7 @@
<el-form-item :label="$t('trials:attachment:table:fileType')"> <el-form-item :label="$t('trials:attachment:table:fileType')">
<el-select <el-select
v-model="searchData.FileTypeId" v-model="searchData.FileTypeId"
clearable
style="width:150px;" style="width:150px;"
> >
<el-option <el-option
@ -40,6 +41,7 @@
<el-form-item :label="$t('trials:attachment:table:userType')"> <el-form-item :label="$t('trials:attachment:table:userType')">
<el-select <el-select
v-model="searchData.UserTypeId" v-model="searchData.UserTypeId"
clearable
style="width:100%;" style="width:100%;"
> >
<el-option <el-option