后端新增票据夹端点、数据模型和服务模块,优化 OCR 端点 Schema 和附件操作逻辑,完善员工行为画像服务和辅助函数, 前端新增票据夹视图和服务层,优化文档中心样式和侧边栏导 航,完善员工画像详情弹窗和权限控制,补充单元测试。
39 lines
2.3 KiB
Python
39 lines
2.3 KiB
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints.agent_assets import router as agent_assets_router
|
|
from app.api.v1.endpoints.agent_runs import router as agent_runs_router
|
|
from app.api.v1.endpoints.audit_logs import router as audit_logs_router
|
|
from app.api.v1.endpoints.auth import router as auth_router
|
|
from app.api.v1.endpoints.bootstrap import router as bootstrap_router
|
|
from app.api.v1.endpoints.budgets import router as budgets_router
|
|
from app.api.v1.endpoints.employees import router as employees_router
|
|
from app.api.v1.endpoints.employee_profiles import router as employee_profiles_router
|
|
from app.api.v1.endpoints.health import router as health_router
|
|
from app.api.v1.endpoints.knowledge import router as knowledge_router
|
|
from app.api.v1.endpoints.ocr import router as ocr_router
|
|
from app.api.v1.endpoints.ontology import router as ontology_router
|
|
from app.api.v1.endpoints.orchestrator import router as orchestrator_router
|
|
from app.api.v1.endpoints.receipt_folder import router as receipt_folder_router
|
|
from app.api.v1.endpoints.reimbursements import router as reimbursements_router
|
|
from app.api.v1.endpoints.settings import router as settings_router
|
|
from app.api.v1.endpoints.system_logs import router as system_logs_router
|
|
|
|
router = APIRouter()
|
|
router.include_router(health_router, tags=["health"])
|
|
router.include_router(bootstrap_router, tags=["bootstrap"])
|
|
router.include_router(auth_router, tags=["auth"])
|
|
router.include_router(budgets_router, tags=["budgets"])
|
|
router.include_router(agent_assets_router, tags=["agent-assets"])
|
|
router.include_router(agent_runs_router, tags=["agent-runs"])
|
|
router.include_router(audit_logs_router, tags=["audit-logs"])
|
|
router.include_router(knowledge_router, tags=["knowledge"])
|
|
router.include_router(ocr_router, tags=["ocr"])
|
|
router.include_router(ontology_router, tags=["ontology"])
|
|
router.include_router(orchestrator_router, tags=["orchestrator"])
|
|
router.include_router(receipt_folder_router, tags=["receipt-folder"])
|
|
router.include_router(employees_router, prefix="/employees", tags=["employees"])
|
|
router.include_router(employee_profiles_router, tags=["employee-profiles"])
|
|
router.include_router(reimbursements_router, prefix="/reimbursements", tags=["reimbursements"])
|
|
router.include_router(settings_router, tags=["settings"])
|
|
router.include_router(system_logs_router, tags=["system-logs"])
|