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