|
|
@ -67,6 +67,9 @@ export function useTable(onEdit: Function) { |
|
|
|
title: t('project.task.task_name'), |
|
|
|
title: t('project.task.task_name'), |
|
|
|
key: 'taskName', |
|
|
|
key: 'taskName', |
|
|
|
...COLUMN_WIDTH_CONFIG['linkName'], |
|
|
|
...COLUMN_WIDTH_CONFIG['linkName'], |
|
|
|
|
|
|
|
resizable: true, |
|
|
|
|
|
|
|
minWidth: 200, |
|
|
|
|
|
|
|
maxWidth: 600, |
|
|
|
render: (row: IRecord) => |
|
|
|
render: (row: IRecord) => |
|
|
|
h( |
|
|
|
h( |
|
|
|
ButtonLink, |
|
|
|
ButtonLink, |
|
|
@ -77,7 +80,9 @@ export function useTable(onEdit: Function) { |
|
|
|
default: () => |
|
|
|
default: () => |
|
|
|
h( |
|
|
|
h( |
|
|
|
NEllipsis, |
|
|
|
NEllipsis, |
|
|
|
COLUMN_WIDTH_CONFIG['linkEllipsis'], |
|
|
|
{ |
|
|
|
|
|
|
|
style: 'max-width: 580px;line-height: 1.5' |
|
|
|
|
|
|
|
}, |
|
|
|
() => row.taskName |
|
|
|
() => row.taskName |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
@ -86,7 +91,10 @@ export function useTable(onEdit: Function) { |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: t('project.task.workflow_name'), |
|
|
|
title: t('project.task.workflow_name'), |
|
|
|
key: 'processDefinitionName', |
|
|
|
key: 'processDefinitionName', |
|
|
|
...COLUMN_WIDTH_CONFIG['name'] |
|
|
|
...COLUMN_WIDTH_CONFIG['name'], |
|
|
|
|
|
|
|
resizable: true, |
|
|
|
|
|
|
|
minWidth: 200, |
|
|
|
|
|
|
|
maxWidth: 600 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: t('project.task.workflow_state'), |
|
|
|
title: t('project.task.workflow_state'), |
|
|
|