|
|
@ -31,7 +31,7 @@ import { |
|
|
|
} from '@/service/modules/process-definition' |
|
|
|
} from '@/service/modules/process-definition' |
|
|
|
import TableAction from './components/table-action' |
|
|
|
import TableAction from './components/table-action' |
|
|
|
import styles from './index.module.scss' |
|
|
|
import styles from './index.module.scss' |
|
|
|
import { NTag, NSpace, NIcon, NButton, NEllipsis } from 'naive-ui' |
|
|
|
import { NTag, NSpace, NIcon, NButton, NEllipsis, NTooltip } from 'naive-ui' |
|
|
|
import { CopyOutlined } from '@vicons/antd' |
|
|
|
import { CopyOutlined } from '@vicons/antd' |
|
|
|
import ButtonLink from '@/components/button-link' |
|
|
|
import ButtonLink from '@/components/button-link' |
|
|
|
import { |
|
|
|
import { |
|
|
@ -129,6 +129,8 @@ export function useTable() { |
|
|
|
key: 'copy', |
|
|
|
key: 'copy', |
|
|
|
...COLUMN_WIDTH_CONFIG['copy'], |
|
|
|
...COLUMN_WIDTH_CONFIG['copy'], |
|
|
|
render: (row) => |
|
|
|
render: (row) => |
|
|
|
|
|
|
|
h(NTooltip, null, { |
|
|
|
|
|
|
|
trigger: () => |
|
|
|
h( |
|
|
|
h( |
|
|
|
NButton, |
|
|
|
NButton, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -139,7 +141,9 @@ export function useTable() { |
|
|
|
onClick: () => void copy(row.name) |
|
|
|
onClick: () => void copy(row.name) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ icon: () => h(NIcon, { size: 16 }, () => h(CopyOutlined)) } |
|
|
|
{ icon: () => h(NIcon, { size: 16 }, () => h(CopyOutlined)) } |
|
|
|
) |
|
|
|
), |
|
|
|
|
|
|
|
default: () => t('project.workflow.copy_workflow_name') |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: t('project.workflow.status'), |
|
|
|
title: t('project.workflow.status'), |
|
|
@ -309,7 +313,7 @@ export function useTable() { |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const batchCopyWorkflow = () => { } |
|
|
|
const batchCopyWorkflow = () => {} |
|
|
|
|
|
|
|
|
|
|
|
const releaseWorkflow = (row: any) => { |
|
|
|
const releaseWorkflow = (row: any) => { |
|
|
|
const data = { |
|
|
|
const data = { |
|
|
|