@ -46,6 +46,9 @@ export const COLUMN_WIDTH_CONFIG = {
time: {
width: 180
},
timeZone: {
width: 220
operation: (number: number): CommonColumnInfo => ({
fixed: 'right',
width: Math.max(30 * number + 12 * (number - 1) + 24, 100)
@ -89,13 +89,13 @@ export function useTable() {
{
title: t('project.workflow.start_time'),
key: 'startTime',
...COLUMN_WIDTH_CONFIG['time'],
...COLUMN_WIDTH_CONFIG['timeZone'],
render: (row: any) => renderTime(row.startTime, row.timezoneId)
title: t('project.workflow.end_time'),
key: 'endTime',
render: (row: any) => renderTime(row.endTime, row.timezoneId)