in dolphinscheduler-ui/src/views/projects/task/instance/use-stream-table.ts [148:270]
render(row: any) {
return h(NSpace, null, {
default: () => [
h(
NTooltip,
{},
{
trigger: () =>
h(
NButton,
{
tag: 'div',
circle: true,
type: 'info',
size: 'small',
onClick: () => onSavePoint(row.id)
},
{
icon: () =>
h(NIcon, null, {
default: () => h(SaveOutlined)
})
}
),
default: () => t('project.task.savepoint')
}
),
h(
NTooltip,
{},
{
trigger: () =>
h(
NButton,
{
tag: 'div',
circle: true,
type: 'info',
size: 'small',
onClick: () => onExecute(row.id)
},
{
icon: () =>
h(NIcon, null, {
default: () => h(StopOutlined)
})
}
),
default: () => t('project.task.stop')
}
),
h(
NTooltip,
{},
{
trigger: () =>
h(
NButton,
{
circle: true,
type: 'info',
size: 'small',
disabled: !row.host,
onClick: () => handleLog(row)
},
{
icon: () =>
h(NIcon, null, {
default: () => h(AlignLeftOutlined)
})
}
),
default: () => t('project.task.view_log')
}
),
h(
NTooltip,
{},
{
trigger: () =>
h(
NButton,
{
circle: true,
type: 'info',
size: 'small',
onClick: () => downloadLog(row.id)
},
{
icon: () =>
h(NIcon, null, { default: () => h(DownloadOutlined) })
}
),
default: () => t('project.task.download_log')
}
),
h(
NTooltip,
{},
{
trigger: () =>
h(
NButton,
{
circle: true,
type: 'warning',
size: 'small',
disabled: true,
tag: 'div'
},
{
icon: () =>
h(NIcon, null, {
default: () => h(RetweetOutlined)
})
}
),
default: () => t('project.task.jump_tip')
}
)
]
})
}