列表字段优化

uat_us
caiyiling 2024-05-16 10:19:58 +08:00
parent 90512f7967
commit 416afbe84d
1 changed files with 9 additions and 9 deletions

View File

@ -79,7 +79,7 @@
:label="$t('trials:emailManageCfg:table:EmailTopicCN')" :label="$t('trials:emailManageCfg:table:EmailTopicCN')"
sortable="custom" sortable="custom"
show-overflow-tooltip show-overflow-tooltip
min-width="150" min-width="140"
/> />
<el-table-column <el-table-column
v-else v-else
@ -87,14 +87,14 @@
:label="$t('trials:emailManageCfg:table:EmailTopic')" :label="$t('trials:emailManageCfg:table:EmailTopic')"
sortable="custom" sortable="custom"
show-overflow-tooltip show-overflow-tooltip
min-width="150" min-width="140"
/> />
<el-table-column <el-table-column
prop="BusinessModuleEnum" prop="BusinessModuleEnum"
:label="$t('trials:emailManageCfg:table:BusinessModuleEnum')" :label="$t('trials:emailManageCfg:table:BusinessModuleEnum')"
sortable="custom" sortable="custom"
show-overflow-tooltip show-overflow-tooltip
width="100"> min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('BusinessModule',scope.row.BusinessModuleEnum) }} {{ $fd('BusinessModule',scope.row.BusinessModuleEnum) }}
</template> </template>
@ -104,7 +104,7 @@
:label="$t('trials:emailManageCfg:table:BusinessScenarioEnum')" :label="$t('trials:emailManageCfg:table:BusinessScenarioEnum')"
sortable="custom" sortable="custom"
show-overflow-tooltip show-overflow-tooltip
width="130" min-width="100"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ $fd('Email_BusinessScenario',scope.row.BusinessScenarioEnum) }} {{ $fd('Email_BusinessScenario',scope.row.BusinessScenarioEnum) }}
@ -115,7 +115,7 @@
prop="ToUserTypeList" prop="ToUserTypeList"
:label="$t('trials:emailManageCfg:title:toUserTypeList')" :label="$t('trials:emailManageCfg:title:toUserTypeList')"
show-overflow-tooltip show-overflow-tooltip
width="100" min-width="100"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.ToUserTypeNameList.length>0?scope.row.ToUserTypeNameList.join('、'):'' }} {{ scope.row.ToUserTypeNameList.length>0?scope.row.ToUserTypeNameList.join('、'):'' }}
@ -126,7 +126,7 @@
prop="CopyUserTypeList" prop="CopyUserTypeList"
:label="$t('trials:emailManageCfg:title:copyUserTypeList')" :label="$t('trials:emailManageCfg:title:copyUserTypeList')"
show-overflow-tooltip show-overflow-tooltip
width="100" min-width="100"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.CopyUserTypeNameList.length>0?scope.row.CopyUserTypeNameList.join('、'):'' }} {{ scope.row.CopyUserTypeNameList.length>0?scope.row.CopyUserTypeNameList.join('、'):'' }}
@ -155,7 +155,7 @@
prop="AttachNameCN" prop="AttachNameCN"
:label="$t('trials:emailManageCfg:title:fileName')" :label="$t('trials:emailManageCfg:title:fileName')"
show-overflow-tooltip show-overflow-tooltip
width="140" min-width="140"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="scope.row.AttachCNPath" type="text" @click="handlePreview(scope.row.AttachCNPath)"> <el-button v-if="scope.row.AttachCNPath" type="text" @click="handlePreview(scope.row.AttachCNPath)">
@ -168,7 +168,7 @@
prop="AttachName" prop="AttachName"
:label="$t('trials:emailManageCfg:title:fileName')" :label="$t('trials:emailManageCfg:title:fileName')"
show-overflow-tooltip show-overflow-tooltip
width="140" min-width="140"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="scope.row.AttachPath" type="text" @click="handlePreview(scope.row.AttachPath)"> <el-button v-if="scope.row.AttachPath" type="text" @click="handlePreview(scope.row.AttachPath)">
@ -212,7 +212,7 @@
:label="$t('trials:emailManageCfg:table:IsEnable')" :label="$t('trials:emailManageCfg:table:IsEnable')"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" sortable="custom"
width="120" min-width="90"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.IsEnable" type="danger"> <el-tag v-if="scope.row.IsEnable" type="danger">