|
|
@ -18,7 +18,15 @@ |
|
|
|
import { defineComponent, ref, inject, PropType, Ref } from 'vue' |
|
|
|
import { defineComponent, ref, inject, PropType, Ref } from 'vue' |
|
|
|
import { useI18n } from 'vue-i18n' |
|
|
|
import { useI18n } from 'vue-i18n' |
|
|
|
import Styles from './dag.module.scss' |
|
|
|
import Styles from './dag.module.scss' |
|
|
|
import { NTooltip, NIcon, NButton, NSelect, NPopover, NText } from 'naive-ui' |
|
|
|
import { |
|
|
|
|
|
|
|
NTooltip, |
|
|
|
|
|
|
|
NIcon, |
|
|
|
|
|
|
|
NButton, |
|
|
|
|
|
|
|
NSelect, |
|
|
|
|
|
|
|
NPopover, |
|
|
|
|
|
|
|
NText, |
|
|
|
|
|
|
|
NTag |
|
|
|
|
|
|
|
} from 'naive-ui' |
|
|
|
import { |
|
|
|
import { |
|
|
|
SearchOutlined, |
|
|
|
SearchOutlined, |
|
|
|
DownloadOutlined, |
|
|
|
DownloadOutlined, |
|
|
@ -195,6 +203,12 @@ export default defineComponent({ |
|
|
|
></NTooltip> |
|
|
|
></NTooltip> |
|
|
|
)} |
|
|
|
)} |
|
|
|
<div class={Styles['toolbar-left-part']}> |
|
|
|
<div class={Styles['toolbar-left-part']}> |
|
|
|
|
|
|
|
{route.name !== 'workflow-instance-detail' && |
|
|
|
|
|
|
|
props.definition?.processDefinition?.releaseState === 'ONLINE' && ( |
|
|
|
|
|
|
|
<NTag round size='small' type='info'> |
|
|
|
|
|
|
|
{t('project.dag.online')} |
|
|
|
|
|
|
|
</NTag> |
|
|
|
|
|
|
|
)} |
|
|
|
{route.name === 'workflow-instance-detail' && ( |
|
|
|
{route.name === 'workflow-instance-detail' && ( |
|
|
|
<> |
|
|
|
<> |
|
|
|
<NTooltip |
|
|
|
<NTooltip |
|
|
|