diff --git a/src/views/group/index.vue b/src/views/group/index.vue index 4800dd8..51d77d8 100644 --- a/src/views/group/index.vue +++ b/src/views/group/index.vue @@ -131,7 +131,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP } return (
- edit(row.id!)}> + edit(row.id!)}> {$t('common.edit')}
diff --git a/src/views/job/task/index.vue b/src/views/job/task/index.vue index 345da1e..04a3298 100644 --- a/src/views/job/task/index.vue +++ b/src/views/job/task/index.vue @@ -175,29 +175,34 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP {{ default: () => $t('common.confirmExecute'), trigger: () => ( - + {$t('common.execute')} ) }} - goToBatch(row.id!)}> + + goToBatch(row.id!)}> {$t('common.batchList')} - edit(row.id!)}> + + edit(row.id!)}> {$t('common.edit')} {hasAuth('R_ADMIN') ? ( - handleDelete(row.id!)}> - {{ - default: () => $t('common.confirmDelete'), - trigger: () => ( - - {$t('common.delete')} - - ) - }} - + <> + + handleDelete(row.id!)}> + {{ + default: () => $t('common.confirmDelete'), + trigger: () => ( + + {$t('common.delete')} + + ) + }} + + ) : ( '' )} diff --git a/src/views/namespace/index.vue b/src/views/namespace/index.vue index cdb2740..3124484 100644 --- a/src/views/namespace/index.vue +++ b/src/views/namespace/index.vue @@ -54,7 +54,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP width: 64, render: row => (
- edit(row.id!)}> + edit(row.id!)}> {$t('common.edit')}
diff --git a/src/views/notify/scene/index.vue b/src/views/notify/scene/index.vue index d810606..24bba11 100644 --- a/src/views/notify/scene/index.vue +++ b/src/views/notify/scene/index.vue @@ -153,22 +153,28 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP title: $t('common.operate'), align: 'center', width: 130, + fixed: 'right', render: row => (
- edit(row.id!)}> + edit(row.id!)}> {$t('common.edit')} {hasAuth('R_ADMIN') ? ( - handleDelete(row.id!)}> - {{ - default: () => $t('common.confirmDelete'), - trigger: () => ( - - {$t('common.delete')} - - ) - }} - + <> + + handleDelete(row.id!)}> + {{ + default: () => $t('common.confirmDelete'), + trigger: () => ( + + + {$t('common.delete')} + + + ) + }} + + ) : ( '' )} diff --git a/src/views/workflow/task/index.vue b/src/views/workflow/task/index.vue index 59ad1f9..580b0b5 100644 --- a/src/views/workflow/task/index.vue +++ b/src/views/workflow/task/index.vue @@ -164,7 +164,6 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP edit(row.id!)}> {$t('common.edit')} - {hasAuth('R_ADMIN') ? ( <> @@ -179,7 +178,9 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP }} - ) : null} + ) : ( + '' + )}