|
|
@ -116,7 +116,7 @@ export default defineComponent({ |
|
|
|
default: () => t('project.workflow.edit'), |
|
|
|
default: () => t('project.workflow.edit'), |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NButton |
|
|
|
<NButton |
|
|
|
size='tiny' |
|
|
|
size='small' |
|
|
|
type='info' |
|
|
|
type='info' |
|
|
|
tag='div' |
|
|
|
tag='div' |
|
|
|
circle |
|
|
|
circle |
|
|
@ -135,7 +135,7 @@ export default defineComponent({ |
|
|
|
default: () => t('project.workflow.start'), |
|
|
|
default: () => t('project.workflow.start'), |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NButton |
|
|
|
<NButton |
|
|
|
size='tiny' |
|
|
|
size='small' |
|
|
|
type='primary' |
|
|
|
type='primary' |
|
|
|
tag='div' |
|
|
|
tag='div' |
|
|
|
circle |
|
|
|
circle |
|
|
@ -154,7 +154,7 @@ export default defineComponent({ |
|
|
|
default: () => t('project.workflow.timing'), |
|
|
|
default: () => t('project.workflow.timing'), |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NButton |
|
|
|
<NButton |
|
|
|
size='tiny' |
|
|
|
size='small' |
|
|
|
type='info' |
|
|
|
type='info' |
|
|
|
tag='div' |
|
|
|
tag='div' |
|
|
|
circle |
|
|
|
circle |
|
|
@ -173,7 +173,7 @@ export default defineComponent({ |
|
|
|
default: () => releaseState === 'ONLINE'? t('project.workflow.down_line'):t('project.workflow.up_line'), |
|
|
|
default: () => releaseState === 'ONLINE'? t('project.workflow.down_line'):t('project.workflow.up_line'), |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NButton |
|
|
|
<NButton |
|
|
|
size='tiny' |
|
|
|
size='small' |
|
|
|
type={releaseState === 'ONLINE' ? 'warning' : 'error'} |
|
|
|
type={releaseState === 'ONLINE' ? 'warning' : 'error'} |
|
|
|
tag='div' |
|
|
|
tag='div' |
|
|
|
circle |
|
|
|
circle |
|
|
@ -195,7 +195,7 @@ export default defineComponent({ |
|
|
|
default: () => t('project.workflow.copy_workflow'), |
|
|
|
default: () => t('project.workflow.copy_workflow'), |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NButton |
|
|
|
<NButton |
|
|
|
size='tiny' |
|
|
|
size='small' |
|
|
|
type='info' |
|
|
|
type='info' |
|
|
|
tag='div' |
|
|
|
tag='div' |
|
|
|
circle |
|
|
|
circle |
|
|
@ -214,7 +214,7 @@ export default defineComponent({ |
|
|
|
default: () => t('project.workflow.cron_manage'), |
|
|
|
default: () => t('project.workflow.cron_manage'), |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NButton |
|
|
|
<NButton |
|
|
|
size='tiny' |
|
|
|
size='small' |
|
|
|
type='info' |
|
|
|
type='info' |
|
|
|
tag='div' |
|
|
|
tag='div' |
|
|
|
circle |
|
|
|
circle |
|
|
@ -233,7 +233,7 @@ export default defineComponent({ |
|
|
|
default: () => t('project.workflow.delete'), |
|
|
|
default: () => t('project.workflow.delete'), |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NButton |
|
|
|
<NButton |
|
|
|
size='tiny' |
|
|
|
size='small' |
|
|
|
type='error' |
|
|
|
type='error' |
|
|
|
tag='div' |
|
|
|
tag='div' |
|
|
|
circle |
|
|
|
circle |
|
|
@ -263,7 +263,7 @@ export default defineComponent({ |
|
|
|
default: () => t('project.workflow.tree_view'), |
|
|
|
default: () => t('project.workflow.tree_view'), |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NButton |
|
|
|
<NButton |
|
|
|
size='tiny' |
|
|
|
size='small' |
|
|
|
type='info' |
|
|
|
type='info' |
|
|
|
tag='div' |
|
|
|
tag='div' |
|
|
|
circle |
|
|
|
circle |
|
|
@ -281,7 +281,7 @@ export default defineComponent({ |
|
|
|
default: () => t('project.workflow.export'), |
|
|
|
default: () => t('project.workflow.export'), |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NButton |
|
|
|
<NButton |
|
|
|
size='tiny' |
|
|
|
size='small' |
|
|
|
type='info' |
|
|
|
type='info' |
|
|
|
tag='div' |
|
|
|
tag='div' |
|
|
|
circle |
|
|
|
circle |
|
|
@ -299,7 +299,7 @@ export default defineComponent({ |
|
|
|
default: () => t('project.workflow.version_info'), |
|
|
|
default: () => t('project.workflow.version_info'), |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NButton |
|
|
|
<NButton |
|
|
|
size='tiny' |
|
|
|
size='small' |
|
|
|
type='info' |
|
|
|
type='info' |
|
|
|
tag='div' |
|
|
|
tag='div' |
|
|
|
circle |
|
|
|
circle |
|
|
|