feat(1.5.0-beta1): 1.重试任务达到最大重试次数后可以手动执行 2.优化重试列表更多按钮的下拉框样式
This commit is contained in:
parent
186d8c109b
commit
a462a0027b
@ -175,16 +175,11 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
render: row => {
|
render: row => {
|
||||||
const options = [
|
const options = [
|
||||||
{
|
|
||||||
type: 'divider',
|
|
||||||
key: 'd2',
|
|
||||||
show: row.retryStatus !== 1 && row.retryStatus !== 2
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: $t('common.execute'),
|
label: $t('common.execute'),
|
||||||
key: 'execute',
|
key: 'execute',
|
||||||
type: 'render',
|
type: 'render',
|
||||||
show: row.retryStatus !== 1 && row.retryStatus !== 2,
|
show: row.retryStatus !== 1,
|
||||||
render: () => (
|
render: () => (
|
||||||
<div class="flex-center">
|
<div class="flex-center">
|
||||||
<NPopconfirm onPositiveClick={() => handleExecute(row.groupName!, row.id! as any)}>
|
<NPopconfirm onPositiveClick={() => handleExecute(row.groupName!, row.id! as any)}>
|
||||||
@ -280,8 +275,8 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'd2'
|
key: 'd2'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'render',
|
|
||||||
key: 'delete',
|
key: 'delete',
|
||||||
|
type: 'render',
|
||||||
render: () => (
|
render: () => (
|
||||||
<div class="flex-center">
|
<div class="flex-center">
|
||||||
<NPopconfirm onPositiveClick={() => handleDelete(row.groupName!, row.id!)}>
|
<NPopconfirm onPositiveClick={() => handleDelete(row.groupName!, row.id!)}>
|
||||||
|
Loading…
Reference in New Issue
Block a user