优化数据字典模块
This commit is contained in:
parent
022ae0f46f
commit
24405621e0
@ -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,
|
||||
},
|
||||
];
|
||||
|
@ -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) {
|
||||
|
@ -101,7 +101,7 @@
|
||||
authorization:useUserStore().getToken
|
||||
});
|
||||
const actionColumn = reactive({
|
||||
width: 250,
|
||||
width: 200,
|
||||
label: '操作',
|
||||
prop: 'action',
|
||||
fixed: 'right',
|
||||
|
@ -65,7 +65,7 @@ const selectionData = ref([])
|
||||
status:''
|
||||
});
|
||||
const actionColumn = reactive({
|
||||
width: 250,
|
||||
width: 200,
|
||||
label: '操作',
|
||||
prop: 'action',
|
||||
fixed: 'right',
|
||||
|
Loading…
Reference in New Issue
Block a user