|
|
@ -118,9 +118,7 @@ const NodeDetailModal = defineComponent({ |
|
|
|
{ |
|
|
|
{ |
|
|
|
text: t('project.node.instructions'), |
|
|
|
text: t('project.node.instructions'), |
|
|
|
show: |
|
|
|
show: |
|
|
|
taskType && !TASK_TYPES_MAP[taskType]?.helperLinkDisable |
|
|
|
!!(taskType && !TASK_TYPES_MAP[taskType]?.helperLinkDisable), |
|
|
|
? true |
|
|
|
|
|
|
|
: false, |
|
|
|
|
|
|
|
action: () => { |
|
|
|
action: () => { |
|
|
|
const helpUrl = |
|
|
|
const helpUrl = |
|
|
|
'https://dolphinscheduler.apache.org/' + |
|
|
|
'https://dolphinscheduler.apache.org/' + |
|
|
@ -134,7 +132,7 @@ const NodeDetailModal = defineComponent({ |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
text: t('project.node.view_history'), |
|
|
|
text: t('project.node.view_history'), |
|
|
|
show: props.taskInstance ? true : false, |
|
|
|
show: !!props.taskInstance, |
|
|
|
action: () => { |
|
|
|
action: () => { |
|
|
|
router.push({ |
|
|
|
router.push({ |
|
|
|
name: 'task-instance', |
|
|
|
name: 'task-instance', |
|
|
@ -145,7 +143,7 @@ const NodeDetailModal = defineComponent({ |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
text: t('project.node.view_log'), |
|
|
|
text: t('project.node.view_log'), |
|
|
|
show: props.taskInstance ? true : false, |
|
|
|
show: !!props.taskInstance, |
|
|
|
action: () => { |
|
|
|
action: () => { |
|
|
|
handleViewLog() |
|
|
|
handleViewLog() |
|
|
|
}, |
|
|
|
}, |
|
|
|