fix: dept list 列宽调整
This commit is contained in:
parent
845719d951
commit
c45eed90d9
@ -30,7 +30,6 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
field: 'deptName',
|
field: 'deptName',
|
||||||
title: '部门名称',
|
title: '部门名称',
|
||||||
treeNode: true,
|
treeNode: true,
|
||||||
width: 200,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'deptCategory',
|
field: 'deptCategory',
|
||||||
@ -39,13 +38,9 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
{
|
{
|
||||||
field: 'orderNum',
|
field: 'orderNum',
|
||||||
title: '排序',
|
title: '排序',
|
||||||
resizable: false,
|
|
||||||
width: 'auto',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'status',
|
field: 'status',
|
||||||
resizable: false,
|
|
||||||
width: 'auto',
|
|
||||||
title: '状态',
|
title: '状态',
|
||||||
slots: {
|
slots: {
|
||||||
default: ({ row }) => {
|
default: ({ row }) => {
|
||||||
@ -62,7 +57,8 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
slots: { default: 'action' },
|
slots: { default: 'action' },
|
||||||
title: '操作',
|
title: '操作',
|
||||||
width: 200,
|
resizable: false,
|
||||||
|
width: 'auto',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user