修复企业管理员角色无法红冲的问题;修复操作列按钮高低不齐的问题

This commit is contained in:
BBIT-Kai
2026-05-27 09:29:06 +08:00
parent 9fd80980e7
commit a716c481da
10 changed files with 118 additions and 22 deletions
@@ -45,7 +45,7 @@
</div>
</section>
<n-drawer v-model:show="drawerVisible" :width="760">
<n-drawer v-model:show="drawerVisible" :width="980">
<n-drawer-content :title="drawerTitle" closable>
<div class="drawer-toolbar">
<n-select
@@ -87,7 +87,7 @@
:data="tasks"
:loading="taskLoading"
:pagination="taskPagination"
:scroll-x="980"
:scroll-x="1280"
remote
@update:page="loadTasks"
@update:page-size="changeTaskPageSize"
@@ -276,10 +276,10 @@ const taskColumns: DataTableColumns<OpenInvoiceTaskItem> = [
h(NTag, { type: statusTagType(row.status), size: 'small' }, { default: () => row.status })
},
{ title: 'PT码', key: 'ptCode', width: 90 },
{ title: '错误', key: 'errorMessage', minWidth: 260, ellipsis: { tooltip: true } },
{ title: '查询次数', key: 'pollCount', width: 90, render: (row) => `${row.pollCount}/${row.maxPollCount}` },
{ title: '重试', key: 'attemptCount', width: 90, render: (row) => `${row.attemptCount}/${row.maxAttemptCount}` },
{ title: '下次执行', key: 'nextRunAt', minWidth: 150 },
{ title: '错误', key: 'errorMessage', minWidth: 180 }
{ title: '下次执行', key: 'nextRunAt', minWidth: 150 }
]
const taskPagination = reactive<PaginationProps>({