优化数据字典模块
This commit is contained in:
parent
022ae0f46f
commit
24405621e0
@ -14,8 +14,25 @@ export const columns = [
|
|||||||
label: '字典项值',
|
label: '字典项值',
|
||||||
prop: 'value',
|
prop: 'value',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '字典编码',
|
||||||
|
prop: 'dictCode',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '排序',
|
label: '排序',
|
||||||
prop: 'sort',
|
prop: 'sort',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '备注',
|
||||||
|
prop: 'note',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '创建人',
|
||||||
|
prop: 'createUser',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '创建时间',
|
||||||
|
prop: 'createTime',
|
||||||
|
width: 180,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
:actionColumn="actionColumn" @selection-change="onSelectionChange">
|
:actionColumn="actionColumn" @selection-change="onSelectionChange">
|
||||||
<template #tableTitle>
|
<template #tableTitle>
|
||||||
<el-space>
|
<el-space>
|
||||||
<el-input type="text" v-model="params.name" placeholder="请输入字典项名称">
|
<el-input type="text" v-model="params.name" clearable placeholder="请输入字典项名称">
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
<el-icon class="el-input__icon">
|
<el-icon class="el-input__icon">
|
||||||
<SearchOutlined />
|
<SearchOutlined />
|
||||||
@ -56,8 +56,9 @@ watch(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
const actionColumn = reactive({
|
const actionColumn = reactive({
|
||||||
lable: 150,
|
width: 200,
|
||||||
title: '操作',
|
lable: "操作",
|
||||||
|
// title: '操作',
|
||||||
prop: 'action',
|
prop: 'action',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
render(record) {
|
render(record) {
|
||||||
|
@ -101,7 +101,7 @@
|
|||||||
authorization:useUserStore().getToken
|
authorization:useUserStore().getToken
|
||||||
});
|
});
|
||||||
const actionColumn = reactive({
|
const actionColumn = reactive({
|
||||||
width: 250,
|
width: 200,
|
||||||
label: '操作',
|
label: '操作',
|
||||||
prop: 'action',
|
prop: 'action',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
|
@ -65,7 +65,7 @@ const selectionData = ref([])
|
|||||||
status:''
|
status:''
|
||||||
});
|
});
|
||||||
const actionColumn = reactive({
|
const actionColumn = reactive({
|
||||||
width: 250,
|
width: 200,
|
||||||
label: '操作',
|
label: '操作',
|
||||||
prop: 'action',
|
prop: 'action',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
|
Loading…
Reference in New Issue
Block a user