|
|
@ -32,7 +32,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 { NEllipsis, NTag } from 'naive-ui' |
|
|
|
import { NTag } from 'naive-ui' |
|
|
|
import ButtonLink from '@/components/button-link' |
|
|
|
import ButtonLink from '@/components/button-link' |
|
|
|
import { |
|
|
|
import { |
|
|
|
COLUMN_WIDTH_CONFIG, |
|
|
|
COLUMN_WIDTH_CONFIG, |
|
|
@ -82,13 +82,7 @@ export function useTable() { |
|
|
|
key: 'name', |
|
|
|
key: 'name', |
|
|
|
className: 'workflow-name', |
|
|
|
className: 'workflow-name', |
|
|
|
...COLUMN_WIDTH_CONFIG['name'], |
|
|
|
...COLUMN_WIDTH_CONFIG['name'], |
|
|
|
render: (row) => |
|
|
|
render: (row) => h( |
|
|
|
h( |
|
|
|
|
|
|
|
NEllipsis, |
|
|
|
|
|
|
|
{ style: 'max-width: 200px; color: #2080f0' }, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
default: () => |
|
|
|
|
|
|
|
h( |
|
|
|
|
|
|
|
ButtonLink, |
|
|
|
ButtonLink, |
|
|
|
{ |
|
|
|
{ |
|
|
|
onClick: () => |
|
|
|
onClick: () => |
|
|
@ -98,9 +92,6 @@ export function useTable() { |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ default: () => row.name } |
|
|
|
{ default: () => row.name } |
|
|
|
), |
|
|
|
|
|
|
|
tooltip: () => row.name |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
) |
|
|
|
) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|