|
|
@ -119,11 +119,13 @@ const NodeDetailModal = defineComponent({ |
|
|
|
text: t('project.node.instructions'), |
|
|
|
text: t('project.node.instructions'), |
|
|
|
show: !!(taskType && !TASK_TYPES_MAP[taskType]?.helperLinkDisable), |
|
|
|
show: !!(taskType && !TASK_TYPES_MAP[taskType]?.helperLinkDisable), |
|
|
|
action: () => { |
|
|
|
action: () => { |
|
|
|
|
|
|
|
let linkedTaskType = taskType?.toLowerCase().replace('_', '-') |
|
|
|
|
|
|
|
if (taskType === 'PROCEDURE') linkedTaskType = 'stored-procedure' |
|
|
|
const helpUrl = |
|
|
|
const helpUrl = |
|
|
|
'https://dolphinscheduler.apache.org/' + |
|
|
|
'https://dolphinscheduler.apache.org/' + |
|
|
|
locale.value.toLowerCase().replace('_', '-') + |
|
|
|
locale.value.toLowerCase().replace('_', '-') + |
|
|
|
'/docs/latest/user_doc/guide/task/' + |
|
|
|
'/docs/latest/user_doc/guide/task/' + |
|
|
|
taskType?.toLowerCase().replace('_', '-') + |
|
|
|
linkedTaskType + |
|
|
|
'.html' |
|
|
|
'.html' |
|
|
|
window.open(helpUrl) |
|
|
|
window.open(helpUrl) |
|
|
|
}, |
|
|
|
}, |
|
|
|