{/* 非[完成,最大次数], 显示[执行]按钮 */}
{row.retryStatus !== 1 && row.retryStatus !== 2 ? (
-
handleExecute(row.groupName!, row.uniqueId!)}>
- {{
- default: () => $t('common.confirmExecute'),
- trigger: () => (
-
- {$t('common.execute')}
-
- )
- }}
-
+ <>
+
handleExecute(row.groupName!, row.uniqueId!)}>
+ {{
+ default: () => $t('common.confirmExecute'),
+ trigger: () => (
+
+ {$t('common.execute')}
+
+ )
+ }}
+
+
+ >
) : (
''
)}
{/* 非[完成,最大次数], 显示[完成]按钮 */}
{row.retryStatus !== 1 && row.retryStatus !== 2 ? (
-
handleFinish(Number(row.id!), row.groupName!)}>
- {{
- default: () => $t('common.confirmFinish'),
- trigger: () => (
-
- {$t('common.finish')}
-
- )
- }}
-
+ <>
+
handleFinish(Number(row.id!), row.groupName!)}>
+ {{
+ default: () => $t('common.confirmFinish'),
+ trigger: () => (
+
+ {$t('common.finish')}
+
+ )
+ }}
+
+
+ >
) : (
''
)}
{/* 重试中, 显示[停止]按钮 */}
{row.retryStatus === 0 ? (
-
handlePause(Number(row.id!), row.groupName!)}>
- {{
- default: () => $t('common.confirmPause'),
- trigger: () => (
-
- {$t('common.pause')}
-
- )
- }}
-
+ <>
+
handlePause(Number(row.id!), row.groupName!)}>
+ {{
+ default: () => $t('common.confirmPause'),
+ trigger: () => (
+
+ {$t('common.pause')}
+
+ )
+ }}
+
+
+ >
) : (
''
)}
{/* 暂停, 显示[开始]按钮 */}
{row.retryStatus === 3 ? (
-
handleResume(Number(row.id!), row.groupName!)}>
- {{
- default: () => $t('common.confirmResume'),
- trigger: () => (
-
- {$t('common.resume')}
-
- )
- }}
-
+ <>
+
handleResume(Number(row.id!), row.groupName!)}>
+ {{
+ default: () => $t('common.confirmResume'),
+ trigger: () => (
+
+ {$t('common.resume')}
+
+ )
+ }}
+
+
+ >
) : (
''
)}
@@ -213,7 +225,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
{{
default: () => $t('common.confirmDelete'),
trigger: () => (
-
+
{$t('common.delete')}
)
diff --git a/src/views/user/manager/index.vue b/src/views/user/manager/index.vue
index 38d3fae..ead0477 100644
--- a/src/views/user/manager/index.vue
+++ b/src/views/user/manager/index.vue
@@ -107,14 +107,15 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
width: 130,
render: row => (
-
edit(row.id!)}>
+ edit(row.id!)}>
{$t('common.edit')}
+
handleDelete(row.id!)}>
{{
default: () => $t('common.confirmDelete'),
trigger: () => (
-
+
{$t('common.delete')}
)
diff --git a/src/views/workflow/batch/index.vue b/src/views/workflow/batch/index.vue
index 01e7188..2f1947a 100644
--- a/src/views/workflow/batch/index.vue
+++ b/src/views/workflow/batch/index.vue
@@ -102,7 +102,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
width: 130,
render: row => (
- detail(row.id!)}>
+ detail(row.id!)}>
{$t('common.detail')}
{row?.taskBatchStatus === 1 || row?.taskBatchStatus === 2 ? (
@@ -110,7 +110,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
{{
default: () => $t('common.confirmStop'),
trigger: () => (
-
+
{$t('common.stop')}
)