style: 优化部分表格列宽度样式

This commit is contained in:
2024-10-28 22:06:44 +08:00
parent 9e5dff144b
commit b908f14b33
8 changed files with 31 additions and 32 deletions

View File

@@ -99,12 +99,12 @@ const columns: TableInstanceColumns[] = [
align: 'center',
render: ({ rowIndex }) => h('span', {}, rowIndex + 1 + (pagination.current - 1) * pagination.pageSize),
},
{ title: '任务组', dataIndex: 'groupName', width: 80, ellipsis: true, tooltip: true },
{ title: '任务名称', dataIndex: 'jobName', width: 80, ellipsis: true, tooltip: true },
{ title: '调度时间', dataIndex: 'createDt', width: 80 },
{ title: '执行状态', dataIndex: 'taskBatchStatus', slotName: 'taskBatchStatus', width: 50, align: 'center' },
{ title: '执行备注', dataIndex: 'operationReason', slotName: 'operationReason', width: 80, ellipsis: true, tooltip: true },
{ title: '执行时间', dataIndex: 'executionAt', width: 80 },
{ title: '任务组', dataIndex: 'groupName', minWidth: 80, ellipsis: true, tooltip: true },
{ title: '任务名称', dataIndex: 'jobName', minWidth: 80, ellipsis: true, tooltip: true },
{ title: '调度时间', dataIndex: 'createDt', width: 180 },
{ title: '执行状态', dataIndex: 'taskBatchStatus', slotName: 'taskBatchStatus', align: 'center' },
{ title: '执行备注', dataIndex: 'operationReason', slotName: 'operationReason', minWidth: 80, ellipsis: true, tooltip: true },
{ title: '执行时间', dataIndex: 'executionAt', width: 180 },
{
title: '操作',
slotName: 'action',