[Improvement-14282][Task] Add app_link on the ui of task instance (#14283)

This commit is contained in:
Rick Cheng 2023-06-07 15:00:12 +08:00 committed by GitHub
parent 2c057d6a8f
commit 525e441223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 0 deletions

View File

@ -260,6 +260,7 @@ export default {
retry_count: 'Retry Count',
dry_run_flag: 'Dry Run Flag',
host: 'Host',
app_link: 'External Application Link',
operation: 'Operation',
edit: 'Edit',
delete: 'Delete',

View File

@ -259,6 +259,7 @@ export default {
duration: '运行时间',
retry_count: '重试次数',
dry_run_flag: '空跑标识',
app_link: '外部应用链接',
host: '主机',
operation: '操作',
edit: '编辑',

View File

@ -32,6 +32,7 @@ interface IRecord {
retryTimes: number
dryRun: number
host: string
appLink: string
testFlag?: number
}

View File

@ -187,6 +187,12 @@ export function useTable() {
...COLUMN_WIDTH_CONFIG['name'],
render: (row: IRecord) => row.host || '-'
},
{
title: t('project.task.app_link'),
key: 'appLink',
...COLUMN_WIDTH_CONFIG['name'],
render: (row: IRecord) => row.appLink || '-'
},
{
title: t('project.task.operation'),
key: 'operation',