feat(sj_1.0.0): 去除组的版本号显示
This commit is contained in:
parent
949134ae8d
commit
662172b673
@ -86,12 +86,6 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
return <NTag type="primary">{label}</NTag>;
|
return <NTag type="primary">{label}</NTag>;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
key: 'version',
|
|
||||||
title: $t('page.groupConfig.version'),
|
|
||||||
align: 'center',
|
|
||||||
minWidth: 60
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
key: 'groupPartition',
|
key: 'groupPartition',
|
||||||
title: $t('page.groupConfig.groupPartition'),
|
title: $t('page.groupConfig.groupPartition'),
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<script setup lang="tsx">
|
<script setup lang="tsx">
|
||||||
import { NButton, NPopconfirm, NTag } from 'naive-ui';
|
import { NButton, NButtonGroup, NPopconfirm, NPopover, NTag } from 'naive-ui';
|
||||||
import { useRouter } from 'vue-router';
|
import { useRouter } from 'vue-router';
|
||||||
import {
|
import {
|
||||||
fetchDelWorkflow,
|
fetchDelWorkflow,
|
||||||
@ -128,18 +128,9 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
width: 300,
|
width: 300,
|
||||||
render: row => (
|
render: row => (
|
||||||
<div class="flex-center gap-8px">
|
<div class="flex-center gap-8px">
|
||||||
<NButton type="primary" ghost size="small" onClick={() => execute(row.id!)}>
|
|
||||||
{$t('common.execute')}
|
|
||||||
</NButton>
|
|
||||||
<NButton type="primary" ghost size="small" onClick={() => copy(row.id!)}>
|
|
||||||
{$t('common.copy')}
|
|
||||||
</NButton>
|
|
||||||
<NButton type="warning" ghost size="small" onClick={() => edit(row.id!)}>
|
<NButton type="warning" ghost size="small" onClick={() => edit(row.id!)}>
|
||||||
{$t('common.edit')}
|
{$t('common.edit')}
|
||||||
</NButton>
|
</NButton>
|
||||||
<NButton type="success" ghost size="small" onClick={() => batch(row.id!)}>
|
|
||||||
{$t('common.batchList')}
|
|
||||||
</NButton>
|
|
||||||
<NPopconfirm onPositiveClick={() => handleDelete(row.id!)}>
|
<NPopconfirm onPositiveClick={() => handleDelete(row.id!)}>
|
||||||
{{
|
{{
|
||||||
default: () => $t('common.confirmDelete'),
|
default: () => $t('common.confirmDelete'),
|
||||||
@ -150,6 +141,30 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
</NPopconfirm>
|
</NPopconfirm>
|
||||||
|
<NPopover trigger="click" placement="bottom" raw show-arrow={false} class="b-rd-6px bg-#fff dark:bg-#000">
|
||||||
|
{{
|
||||||
|
trigger: () => (
|
||||||
|
<NButton type="primary" ghost size="small">
|
||||||
|
更多
|
||||||
|
</NButton>
|
||||||
|
),
|
||||||
|
default: () => (
|
||||||
|
<div>
|
||||||
|
<NButtonGroup vertical>
|
||||||
|
<NButton type="primary" ghost size="small" onClick={() => execute(row.id!)}>
|
||||||
|
{$t('common.execute')}
|
||||||
|
</NButton>
|
||||||
|
<NButton type="primary" ghost size="small" onClick={() => copy(row.id!)}>
|
||||||
|
{$t('common.copy')}
|
||||||
|
</NButton>
|
||||||
|
<NButton type="success" ghost size="small" onClick={() => batch(row.id!)}>
|
||||||
|
{$t('common.batchList')}
|
||||||
|
</NButton>
|
||||||
|
</NButtonGroup>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}}
|
||||||
|
</NPopover>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user