feat: 新增归档中心页面并完善知识库与报销查询能力

新增前端归档中心视图及相关工具函数,扩充知识库文档分类和
提取器支持多种格式,增强编排器报销查询的多维度检索,优
化本体规则和用户代理审核消息,前端完善报销创建和审批详
情交互细节,补充单元测试覆盖。
This commit is contained in:
caoxiaozhu
2026-05-22 16:00:19 +08:00
parent 1f15699013
commit 88ff04bef8
120 changed files with 6236 additions and 643 deletions

View File

@@ -3,7 +3,7 @@ import { useRoute, useRouter } from 'vue-router'
import { icons } from '../data/icons.js'
export const appViews = ['overview', 'workbench', 'requests', 'approval', 'policies', 'audit', 'logs', 'employees', 'settings']
export const appViews = ['overview', 'workbench', 'requests', 'approval', 'archive', 'policies', 'audit', 'logs', 'employees', 'settings']
export const navItems = [
{
@@ -24,10 +24,10 @@ export const navItems = [
},
{
id: 'requests',
label: '个人报销',
navHint: '查看和管理个人报销',
label: '报销中心',
navHint: '查看和管理报销单据',
icon: icons.list,
title: '个人报销',
title: '报销中心',
desc: '集中查看草稿、审批进度、票据状态与风险提示。'
},
{
@@ -38,6 +38,14 @@ export const navItems = [
title: '审批中心',
desc: '按优先级处理待审批事项,控制时效与风险。'
},
{
id: 'archive',
label: '归档中心',
navHint: '查阅公司已归档财务数据',
icon: icons.archive,
title: '归档中心',
desc: '集中保存公司已归档入账的报销单据,形成完整财务归档库。'
},
{
id: 'policies',
label: '制度知识',
@@ -85,6 +93,7 @@ const viewRouteNames = {
workbench: 'app-workbench',
requests: 'app-requests',
approval: 'app-approval',
archive: 'app-archive',
policies: 'app-policies',
audit: 'app-audit',
logs: 'app-logs',