feat: config
parent
62bb005748
commit
4969799412
|
@ -59,24 +59,20 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
|
||||||
{
|
{
|
||||||
field: 'name',
|
field: 'name',
|
||||||
title: '状态组名',
|
title: '状态组名',
|
||||||
width: 200,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'deptNames',
|
field: 'deptNames',
|
||||||
title: '应用部门',
|
title: '应用部门',
|
||||||
width: 200,
|
|
||||||
formatter: ({ cellValue }) =>
|
formatter: ({ cellValue }) =>
|
||||||
cellValue?.length > 0 ? cellValue.join(' ') : '全公司',
|
cellValue?.length > 0 ? cellValue.join(' ') : '全公司',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'creator',
|
field: 'creator',
|
||||||
title: '创建人',
|
title: '创建人',
|
||||||
width: 100,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'createTime',
|
field: 'createTime',
|
||||||
title: '创建时间',
|
title: '创建时间',
|
||||||
width: 150,
|
|
||||||
formatter: 'formatDateTime',
|
formatter: 'formatDateTime',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue