|
|
|
@ -18,7 +18,15 @@
|
|
|
|
|
import { defineComponent, ref, inject, PropType, Ref } from 'vue' |
|
|
|
|
import { useI18n } from 'vue-i18n' |
|
|
|
|
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 { |
|
|
|
|
SearchOutlined, |
|
|
|
|
DownloadOutlined, |
|
|
|
@ -195,6 +203,12 @@ export default defineComponent({
|
|
|
|
|
></NTooltip> |
|
|
|
|
)} |
|
|
|
|
<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' && ( |
|
|
|
|
<> |
|
|
|
|
<NTooltip |
|
|
|
|