diff --git a/src/pages/Events.tsx b/src/pages/Events.tsx index 3325afb..2859b72 100644 --- a/src/pages/Events.tsx +++ b/src/pages/Events.tsx @@ -49,8 +49,18 @@ function EventsPage() { qc.invalidateQueries({ queryKey: ['events'] }) } + const queueDesc: Record = { + 'ai-analysis': 'AI 分析任务(主动回忆诊断、费曼评估)', + 'document-import': '文档导入任务(文件解析、分块、向量化)', + 'notification': '通知推送任务(站内消息、Push 推送)', + 'domain-events': '领域事件分发(跨模块事件异步处理)', + 'audit-logs': '审计日志写入(管理员操作记录)', + 'file-cleanup': '文件清理任务(COS 过期文件删除、软删除清理)', + } + const overviewColumns = [ - { title: '队列', dataIndex: 'name', width: 160 }, + { title: '队列', dataIndex: 'name', width: 150, render: (n: string) => {n} }, + { title: '说明', dataIndex: 'name', width: 300, render: (n: string) => {queueDesc[n] || '—'} }, { title: '总计', dataIndex: 'total', width: 60, align: 'center' as const }, { title: '等待', dataIndex: 'waiting', width: 60, align: 'center' as const, render: (v: number) => }, { title: '进行中', dataIndex: 'active', width: 70, align: 'center' as const, render: (v: number) => },