优化数据字典模块

This commit is contained in:
zjl 2024-08-30 12:53:37 +08:00
parent 022ae0f46f
commit 24405621e0
4 changed files with 23 additions and 5 deletions

View File

@ -14,8 +14,25 @@ export const columns = [
label: '字典项值',
prop: 'value',
},
{
label: '字典编码',
prop: 'dictCode',
},
{
label: '排序',
prop: 'sort',
},
{
label: '备注',
prop: 'note',
},
{
label: '创建人',
prop: 'createUser',
},
{
label: '创建时间',
prop: 'createTime',
width: 180,
},
];

View File

@ -4,7 +4,7 @@
:actionColumn="actionColumn" @selection-change="onSelectionChange">
<template #tableTitle>
<el-space>
<el-input type="text" v-model="params.name" placeholder="请输入字典项名称">
<el-input type="text" v-model="params.name" clearable placeholder="请输入字典项名称">
<template #prefix>
<el-icon class="el-input__icon">
<SearchOutlined />
@ -56,8 +56,9 @@ watch(
}
)
const actionColumn = reactive({
lable: 150,
title: '操作',
width: 200,
lable: "操作",
// title: '',
prop: 'action',
fixed: 'right',
render(record) {

View File

@ -101,7 +101,7 @@
authorization:useUserStore().getToken
});
const actionColumn = reactive({
width: 250,
width: 200,
label: '操作',
prop: 'action',
fixed: 'right',

View File

@ -65,7 +65,7 @@ const selectionData = ref([])
status:''
});
const actionColumn = reactive({
width: 250,
width: 200,
label: '操作',
prop: 'action',
fixed: 'right',