feat: 报销审批流重构与管家计划全链路贯通

- 重构报销状态注册表、审批流路由与平台风险标记
- 完善管家意图规划器与模型计划构建器全链路
- 新增 OCR Worker 脚本、数据库会话管理与通知状态
- 优化文档中心、日志视图、预算中心与员工管理交互
- 增强工作台摘要、图标资源与全局主题样式
- 补充审批路由、状态注册、OCR 服务与管家规划器测试覆盖
This commit is contained in:
caoxiaozhu
2026-06-06 17:19:07 +08:00
parent f60cebadb8
commit e124e4bbcb
162 changed files with 9161 additions and 1941 deletions

View File

@@ -48,6 +48,12 @@ function testReceiptFolderViewSurface() {
assert.match(view, /deleteCurrentReceipt/)
assert.match(view, /ElCheckboxGroup/)
assert.match(view, /fetchReceiptFolderItems\('all'\)/)
assert.match(view, /DocumentDropdownFilter/)
assert.match(view, /receiptFilterControls/)
assert.match(view, /clear-filter-btn/)
assert.match(view, /receiptFilters\[control\.key\]/)
assert.match(view, /clearReceiptFilters/)
assert.doesNotMatch(view, /class="filter-btn" type="button" @click="reloadReceipts"/)
assert.match(view, /buildReceiptFile\(item\)/)
assert.match(view, /source: selectedDraft \? 'detail' : 'receipt-folder'/)
assert.match(view, /emit\('open-assistant'/)
@@ -92,9 +98,13 @@ function testSharedDocumentListStyleReuse() {
assert.match(sharedStyles, /\.table-wrap\b/)
assert.match(sharedStyles, /\.doc-kind-tag\b/)
assert.match(sharedStyles, /\.list-foot\b/)
assert.match(sharedStyles, /\.clear-filter-btn\b/)
assert.match(sharedStyles, /\.document-filter-menu\b/)
assert.doesNotMatch(receiptStyles, /\.table-wrap\b/)
assert.doesNotMatch(receiptStyles, /\.doc-kind-tag\b/)
assert.doesNotMatch(receiptStyles, /\.list-foot\b/)
assert.doesNotMatch(receiptStyles, /\.receipt-select-filter\b/)
assert.doesNotMatch(receiptStyles, /\.receipt-clear-filters\b/)
}
function testReceiptFolderDetailLayoutAdjustments() {