diff --git a/src/locales/langs/en-us.ts b/src/locales/langs/en-us.ts index a32f85e..c715d4e 100644 --- a/src/locales/langs/en-us.ts +++ b/src/locales/langs/en-us.ts @@ -751,6 +751,7 @@ const local: App.I18n.Schema = { }, retryTask: { title: 'RetryTask List', + detail: 'RetryTask Detail', uniqueId: 'UniqueId', groupName: 'Group name', sceneName: 'Scene name', diff --git a/src/locales/langs/zh-cn.ts b/src/locales/langs/zh-cn.ts index a09fe28..4043823 100644 --- a/src/locales/langs/zh-cn.ts +++ b/src/locales/langs/zh-cn.ts @@ -747,6 +747,7 @@ const local: App.I18n.Schema = { }, retryTask: { title: '重试任务列表', + detail: '重试任务详情', uniqueId: 'UniqueId', groupName: '组名称', sceneName: '场景名称', @@ -823,7 +824,7 @@ const local: App.I18n.Schema = { } }, retryLog: { - title: 'RetryLog 列表', + title: '重试日志列表', detail: '重试日志详情', UniqueId: 'UniqueId', groupName: '组名称', diff --git a/src/typings/app.d.ts b/src/typings/app.d.ts index ba3d9ca..3cd8470 100644 --- a/src/typings/app.d.ts +++ b/src/typings/app.d.ts @@ -899,6 +899,7 @@ declare namespace App { }; retryTask: { title: string; + detail: string; uniqueId: string; groupName: string; sceneName: string; diff --git a/src/views/retry/log/index.vue b/src/views/retry/log/index.vue index a2e64ba..f107148 100644 --- a/src/views/retry/log/index.vue +++ b/src/views/retry/log/index.vue @@ -125,9 +125,6 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP width: 130, render: row => (
- edit(row.id)}> - {$t('common.detail')} - {row.retryStatus === 1 ? ( handleDelete(row.id)}> {{ @@ -148,7 +145,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP ] }); -const { handleAdd, handleEdit, checkedRowKeys } = useTableOperate(data, getData); +const { checkedRowKeys } = useTableOperate(data, getData); async function handleBatchDelete() { const { error } = await fetchBatchDeleteRetryLog(checkedRowKeys.value as any[]); @@ -168,10 +165,6 @@ async function loadRetryInfo(row: Api.RetryLog.RetryLog) { const res = await fetchRetryLogById(row.id!); detailData.value = (res.data as Api.RetryLog.RetryLog) || null; } - -function edit(id: any) { - handleEdit(id); -}