列表不换行+悬停显示
This commit is contained in:
parent
b42d35d65c
commit
629d029adc
@ -42,6 +42,9 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
title: $t('page.groupConfig.groupName'),
|
title: $t('page.groupConfig.groupName'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 100,
|
minWidth: 100,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
render: row => {
|
render: row => {
|
||||||
function showDetailDrawer() {
|
function showDetailDrawer() {
|
||||||
detailData.value = row || null;
|
detailData.value = row || null;
|
||||||
@ -49,9 +52,11 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<n-button text tag="a" type="primary" onClick={showDetailDrawer} class="ws-normal">
|
<div style={{whiteSpace: 'nowrap'}}>
|
||||||
|
<n-button text tag="a" type="primary" onClick={showDetailDrawer} class="ws-normal" style={{whiteSpace: 'nowrap'}}>
|
||||||
{row.groupName}
|
{row.groupName}
|
||||||
</n-button>
|
</n-button>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -107,7 +112,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'description',
|
key: 'description',
|
||||||
title: $t('page.groupConfig.description'),
|
title: $t('page.groupConfig.description'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 250
|
width: 250,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'operate',
|
key: 'operate',
|
||||||
|
@ -53,7 +53,7 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP
|
|||||||
{
|
{
|
||||||
key: 'id',
|
key: 'id',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 60,
|
width: 80,
|
||||||
title: () => {
|
title: () => {
|
||||||
return (
|
return (
|
||||||
<div class="flex-center">
|
<div class="flex-center">
|
||||||
@ -79,9 +79,11 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NButton text tag="a" type="primary" onClick={showDetailDrawer} class="ws-normal">
|
<div style={{whiteSpace: 'nowrap'}}>
|
||||||
{row.id}
|
<NButton text tag="a" type="primary" onClick={showDetailDrawer} class="ws-normal">
|
||||||
</NButton>
|
{row.id}
|
||||||
|
</NButton>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -81,6 +81,9 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP
|
|||||||
title: $t('page.jobTask.executorInfo'),
|
title: $t('page.jobTask.executorInfo'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 120,
|
width: 120,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
render: row => {
|
render: row => {
|
||||||
if (row.executorType == 1) {
|
if (row.executorType == 1) {
|
||||||
return '自定义执行器:'+row.executorInfo;
|
return '自定义执行器:'+row.executorInfo;
|
||||||
@ -99,7 +102,10 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'nextTriggerAt',
|
key: 'nextTriggerAt',
|
||||||
title: $t('page.jobTask.nextTriggerAt'),
|
title: $t('page.jobTask.nextTriggerAt'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 120
|
width: 120,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'jobStatus',
|
key: 'jobStatus',
|
||||||
|
@ -68,7 +68,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'sceneName',
|
key: 'sceneName',
|
||||||
title: $t('page.retryDeadLetter.sceneName'),
|
title: $t('page.retryDeadLetter.sceneName'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'idempotentId',
|
key: 'idempotentId',
|
||||||
@ -80,7 +83,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'bizNo',
|
key: 'bizNo',
|
||||||
title: $t('page.retryDeadLetter.bizNo'),
|
title: $t('page.retryDeadLetter.bizNo'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'createDt',
|
key: 'createDt',
|
||||||
|
@ -91,19 +91,28 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'groupNameCn',
|
key: 'groupNameCn',
|
||||||
title: $t('page.retry.groupNameCn'),
|
title: $t('page.retry.groupNameCn'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 180
|
width: 180,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'sceneName',
|
key: 'sceneName',
|
||||||
title: $t('page.retry.sceneName'),
|
title: $t('page.retry.sceneName'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 180
|
width: 180,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'nextTriggerAt',
|
key: 'nextTriggerAt',
|
||||||
title: $t('page.retry.nextTriggerAt'),
|
title: $t('page.retry.nextTriggerAt'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 120
|
width: 120,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'retryCount',
|
key: 'retryCount',
|
||||||
@ -153,7 +162,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'bizNo',
|
key: 'bizNo',
|
||||||
title: $t('page.retry.bizNo'),
|
title: $t('page.retry.bizNo'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'createDt',
|
key: 'createDt',
|
||||||
|
@ -79,7 +79,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'groupNameCn',
|
key: 'groupNameCn',
|
||||||
title: $t('page.retryScene.groupNameCn'),
|
title: $t('page.retryScene.groupNameCn'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 180
|
width: 180,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'sceneStatus',
|
key: 'sceneStatus',
|
||||||
|
@ -87,13 +87,19 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'groupNameCn',
|
key: 'groupNameCn',
|
||||||
title: $t('page.retryTask.groupNameCn'),
|
title: $t('page.retryTask.groupNameCn'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'sceneName',
|
key: 'sceneName',
|
||||||
title: $t('page.retryTask.sceneName'),
|
title: $t('page.retryTask.sceneName'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'retryId',
|
key: 'retryId',
|
||||||
|
@ -64,19 +64,28 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'workflowName',
|
key: 'workflowName',
|
||||||
title: $t('page.workflowBatch.workflowName'),
|
title: $t('page.workflowBatch.workflowName'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupNameCn',
|
key: 'groupNameCn',
|
||||||
title: $t('page.workflowBatch.groupNameCn'),
|
title: $t('page.workflowBatch.groupNameCn'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'executionAt',
|
key: 'executionAt',
|
||||||
title: $t('page.workflowBatch.executionAt'),
|
title: $t('page.workflowBatch.executionAt'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'taskBatchStatus',
|
key: 'taskBatchStatus',
|
||||||
|
@ -167,7 +167,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'nextTriggerAt',
|
key: 'nextTriggerAt',
|
||||||
title: $t('page.workflow.nextTriggerAt'),
|
title: $t('page.workflow.nextTriggerAt'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
minWidth: 120
|
minWidth: 120,
|
||||||
|
ellipsis: {
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'workflowStatus',
|
key: 'workflowStatus',
|
||||||
|
Loading…
Reference in New Issue
Block a user