feat: bpm 当字段较少时,使用minWidth
parent
7f72a398b2
commit
59c6955b37
|
@ -9,19 +9,19 @@ export function useGridColumns(): VxeTableGridOptions<BpmModelApi.ModelVO>['colu
|
||||||
{
|
{
|
||||||
field: 'name',
|
field: 'name',
|
||||||
title: '流程名称',
|
title: '流程名称',
|
||||||
width: 250,
|
minWidth: 250,
|
||||||
slots: { default: 'name' },
|
slots: { default: 'name' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'startUserIds',
|
field: 'startUserIds',
|
||||||
title: '可见范围',
|
title: '可见范围',
|
||||||
width: 150,
|
minWidth: 150,
|
||||||
slots: { default: 'startUserIds' },
|
slots: { default: 'startUserIds' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'type',
|
field: 'type',
|
||||||
title: '流程类型',
|
title: '流程类型',
|
||||||
width: 150,
|
minWidth: 150,
|
||||||
cellRender: {
|
cellRender: {
|
||||||
name: 'CellDict',
|
name: 'CellDict',
|
||||||
props: { type: DICT_TYPE.BPM_MODEL_TYPE },
|
props: { type: DICT_TYPE.BPM_MODEL_TYPE },
|
||||||
|
@ -30,18 +30,18 @@ export function useGridColumns(): VxeTableGridOptions<BpmModelApi.ModelVO>['colu
|
||||||
{
|
{
|
||||||
field: 'formType',
|
field: 'formType',
|
||||||
title: '表单信息',
|
title: '表单信息',
|
||||||
width: 150,
|
minWidth: 150,
|
||||||
slots: { default: 'formInfo' },
|
slots: { default: 'formInfo' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'deploymentTime',
|
field: 'deploymentTime',
|
||||||
title: '最后发布',
|
title: '最后发布',
|
||||||
width: 260,
|
minWidth: 260,
|
||||||
slots: { default: 'deploymentTime' },
|
slots: { default: 'deploymentTime' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
width: 150,
|
width: 200,
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
slots: { default: 'actions' },
|
slots: { default: 'actions' },
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue