Browse Source

[Feature][UI]make status and schedule publish status display together (issue-12834) (#12922)

* [Feature][UI]make status and schedule publish status display together in workflow definition list page (issue-12834)

* [Feature][UI]make status and schedule publish status display together in workflow definition list page (issue-12834)
3.2.0-release
hdygxsj 2 years ago committed by GitHub
parent
commit
c0b03fca21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 62
      dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts

62
dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts

@ -139,33 +139,20 @@ export function useTable() {
...COLUMN_WIDTH_CONFIG['state'],
render: (row) =>
row.releaseState === 'ONLINE'
? t('project.workflow.up_line')
: t('project.workflow.down_line')
},
{
title: t('project.workflow.create_time'),
key: 'createTime',
...COLUMN_WIDTH_CONFIG['time']
},
{
title: t('project.workflow.update_time'),
key: 'updateTime',
...COLUMN_WIDTH_CONFIG['time']
},
{
title: t('project.workflow.description'),
key: 'description',
...COLUMN_WIDTH_CONFIG['note']
},
? h(
NTag,
{ type: 'success', size: 'small' },
{
title: t('project.workflow.create_user'),
key: 'userName',
...COLUMN_WIDTH_CONFIG['userName']
},
default: () => t('project.workflow.up_line')
}
)
: h(
NTag,
{ type: 'warning', size: 'small' },
{
title: t('project.workflow.modify_user'),
key: 'modifyBy',
...COLUMN_WIDTH_CONFIG['userName']
default: () => t('project.workflow.down_line')
}
)
},
{
title: t('project.workflow.schedule_publish_status'),
@ -193,6 +180,31 @@ export function useTable() {
}
}
},
{
title: t('project.workflow.create_time'),
key: 'createTime',
...COLUMN_WIDTH_CONFIG['time']
},
{
title: t('project.workflow.update_time'),
key: 'updateTime',
...COLUMN_WIDTH_CONFIG['time']
},
{
title: t('project.workflow.description'),
key: 'description',
...COLUMN_WIDTH_CONFIG['note']
},
{
title: t('project.workflow.create_user'),
key: 'userName',
...COLUMN_WIDTH_CONFIG['userName']
},
{
title: t('project.workflow.modify_user'),
key: 'modifyBy',
...COLUMN_WIDTH_CONFIG['userName']
},
{
title: t('project.workflow.operation'),
key: 'operation',

Loading…
Cancel
Save