From 629d029adc2f9d978c222c15b2fa5f284f03cdc4 Mon Sep 17 00:00:00 2001 From: zhuangdashia Date: Wed, 2 Jul 2025 23:01:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=B8=8D=E6=8D=A2=E8=A1=8C+?= =?UTF-8?q?=E6=82=AC=E5=81=9C=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/group/index.vue | 12 ++++++++++-- src/views/job/batch/index.vue | 10 ++++++---- src/views/job/task/index.vue | 8 +++++++- src/views/retry/dead-letter/index.vue | 10 ++++++++-- src/views/retry/info/index.vue | 20 ++++++++++++++++---- src/views/retry/scene/index.vue | 5 ++++- src/views/retry/task/index.vue | 10 ++++++++-- src/views/workflow/batch/index.vue | 15 ++++++++++++--- src/views/workflow/task/index.vue | 5 ++++- 9 files changed, 75 insertions(+), 20 deletions(-) diff --git a/src/views/group/index.vue b/src/views/group/index.vue index 5152e67..a5792d3 100644 --- a/src/views/group/index.vue +++ b/src/views/group/index.vue @@ -42,6 +42,9 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP title: $t('page.groupConfig.groupName'), align: 'center', minWidth: 100, + ellipsis: { + tooltip: true, + }, render: row => { function showDetailDrawer() { detailData.value = row || null; @@ -49,9 +52,11 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP } return ( - +
+ {row.groupName} +
); } }, @@ -107,7 +112,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP key: 'description', title: $t('page.groupConfig.description'), align: 'center', - width: 250 + width: 250, + ellipsis: { + tooltip: true, + }, }, { key: 'operate', diff --git a/src/views/job/batch/index.vue b/src/views/job/batch/index.vue index d84071c..e5d7fbf 100644 --- a/src/views/job/batch/index.vue +++ b/src/views/job/batch/index.vue @@ -53,7 +53,7 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP { key: 'id', align: 'center', - width: 60, + width: 80, title: () => { return (
@@ -79,9 +79,11 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP } return ( - - {row.id} - +
+ + {row.id} + +
); } }, diff --git a/src/views/job/task/index.vue b/src/views/job/task/index.vue index a9db22c..737395e 100644 --- a/src/views/job/task/index.vue +++ b/src/views/job/task/index.vue @@ -81,6 +81,9 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP title: $t('page.jobTask.executorInfo'), align: 'left', width: 120, + ellipsis: { + tooltip: true, + }, render: row => { if (row.executorType == 1) { return '自定义执行器:'+row.executorInfo; @@ -99,7 +102,10 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP key: 'nextTriggerAt', title: $t('page.jobTask.nextTriggerAt'), align: 'center', - width: 120 + width: 120, + ellipsis: { + tooltip: true, + }, }, { key: 'jobStatus', diff --git a/src/views/retry/dead-letter/index.vue b/src/views/retry/dead-letter/index.vue index b9b4837..8b7a254 100644 --- a/src/views/retry/dead-letter/index.vue +++ b/src/views/retry/dead-letter/index.vue @@ -68,7 +68,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP key: 'sceneName', title: $t('page.retryDeadLetter.sceneName'), align: 'center', - minWidth: 120 + minWidth: 120, + ellipsis: { + tooltip: true, + }, }, { key: 'idempotentId', @@ -80,7 +83,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP key: 'bizNo', title: $t('page.retryDeadLetter.bizNo'), align: 'center', - minWidth: 120 + minWidth: 120, + ellipsis: { + tooltip: true, + }, }, { key: 'createDt', diff --git a/src/views/retry/info/index.vue b/src/views/retry/info/index.vue index 61f83e1..32369c2 100644 --- a/src/views/retry/info/index.vue +++ b/src/views/retry/info/index.vue @@ -91,19 +91,28 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP key: 'groupNameCn', title: $t('page.retry.groupNameCn'), align: 'center', - width: 180 + width: 180, + ellipsis: { + tooltip: true, + }, }, { key: 'sceneName', title: $t('page.retry.sceneName'), align: 'center', - width: 180 + width: 180, + ellipsis: { + tooltip: true, + }, }, { key: 'nextTriggerAt', title: $t('page.retry.nextTriggerAt'), align: 'center', - width: 120 + width: 120, + ellipsis: { + tooltip: true, + }, }, { key: 'retryCount', @@ -153,7 +162,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP key: 'bizNo', title: $t('page.retry.bizNo'), align: 'center', - minWidth: 120 + minWidth: 120, + ellipsis: { + tooltip: true, + }, }, { key: 'createDt', diff --git a/src/views/retry/scene/index.vue b/src/views/retry/scene/index.vue index 25e8a53..e4e83f0 100644 --- a/src/views/retry/scene/index.vue +++ b/src/views/retry/scene/index.vue @@ -79,7 +79,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP key: 'groupNameCn', title: $t('page.retryScene.groupNameCn'), align: 'center', - width: 180 + width: 180, + ellipsis: { + tooltip: true, + }, }, { key: 'sceneStatus', diff --git a/src/views/retry/task/index.vue b/src/views/retry/task/index.vue index 503f201..454d5bb 100644 --- a/src/views/retry/task/index.vue +++ b/src/views/retry/task/index.vue @@ -87,13 +87,19 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP key: 'groupNameCn', title: $t('page.retryTask.groupNameCn'), align: 'center', - minWidth: 120 + minWidth: 120, + ellipsis: { + tooltip: true, + }, }, { key: 'sceneName', title: $t('page.retryTask.sceneName'), align: 'center', - minWidth: 120 + minWidth: 120, + ellipsis: { + tooltip: true, + }, }, { key: 'retryId', diff --git a/src/views/workflow/batch/index.vue b/src/views/workflow/batch/index.vue index c9a3e6a..291da2c 100644 --- a/src/views/workflow/batch/index.vue +++ b/src/views/workflow/batch/index.vue @@ -64,19 +64,28 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP key: 'workflowName', title: $t('page.workflowBatch.workflowName'), align: 'center', - minWidth: 120 + minWidth: 120, + ellipsis: { + tooltip: true, + }, }, { key: 'groupNameCn', title: $t('page.workflowBatch.groupNameCn'), align: 'center', - minWidth: 120 + minWidth: 120, + ellipsis: { + tooltip: true, + }, }, { key: 'executionAt', title: $t('page.workflowBatch.executionAt'), align: 'center', - minWidth: 120 + minWidth: 120, + ellipsis: { + tooltip: true, + }, }, { key: 'taskBatchStatus', diff --git a/src/views/workflow/task/index.vue b/src/views/workflow/task/index.vue index e85f34e..d76f782 100644 --- a/src/views/workflow/task/index.vue +++ b/src/views/workflow/task/index.vue @@ -167,7 +167,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP key: 'nextTriggerAt', title: $t('page.workflow.nextTriggerAt'), align: 'left', - minWidth: 120 + minWidth: 120, + ellipsis: { + tooltip: true, + }, }, { key: 'workflowStatus',