feat(reconciliation): 前端导入对账工作台

为什么:T6b 需要把「解析监控」改成「导入对账」,让差异、证据、待确认与处置在同一页闭环,同时保留平台侧流水。
做什么:新增对账 API 客户端;差异清单(R1-R8、证据等级、待确认徽标、处置按钮);批次概览与队列状态条;平台侧流水页签沿用原表;详情抽屉实时读取 WeKnora 阶段与失败,503 降级;导航改名但保留 tasks 模块 id。
边界:只读角色不显示触发/处置;1440/1024/768 用现有表格滚动与新增响应式规则;不伪造 URL 路由。
验证:npx tsc --noEmit、npm test(646+)、npm run build、make verify 全绿。
This commit is contained in:
Zhero & Rin
2026-12-01 12:30:09 +08:00
committed by 姚章浩
parent 4528a55e6a
commit cf833a0a77
13 changed files with 1402 additions and 44 deletions
+3 -3
View File
@@ -60,7 +60,7 @@ const workspaceStorageKey = 'knowledge-governance.workspace.v1'
const modules: ReadonlyArray<{ id: ModuleId; label: string; icon: string }> = [
{ id: 'dashboard', label: '来源与目录', icon: '◫' },
{ id: 'tasks', label: '解析监控', icon: '↻' },
{ id: 'tasks', label: '导入对账', icon: '↻' },
{ id: 'qaops', label: '问答运营', icon: '▤' },
{ id: 'releases', label: '发布管理', icon: '⇧' },
{ id: 'settings', label: '系统设置', icon: '⚙' },
@@ -1330,7 +1330,7 @@ function releaseGuidance(props: ReleaseManagementProps, pending: number) {
step: 2,
title: '现在要做:确认测试结果',
reason: '暂时不能继续:目前没有可以审核的已通过知识',
action: '前往“解析监控”查看处理结果,并核对搜索效果',
action: '前往“导入对账”查看处理结果,并核对搜索效果',
after: '第 3 步,审核发布内容',
impact: '只读查看,不会影响生产',
href: '#review-actions',
@@ -1512,7 +1512,7 @@ export function ReleaseManagement(props: ReleaseManagementProps) {
) : null}
{!props.reviewLoading && publishReady.length === 0 ? (
<div className="empty-state">
没有待发布的已批准知识。到「来源与目录」标注后,在「解析监控」处理完成即可发布。
没有待发布的已批准知识。到「来源与目录」标注后,在「导入对账」处理完成即可发布。
</div>
) : null}
{publishReady.length > 0 ? (