feat: 完善文档中心与报销申请交互及侧边栏重构

后端优化编排器报销查询和本体检测精度,增强报销单草稿保
存和附件回填逻辑,前端重构侧边栏组件支持折叠和图标导
航,完善文档中心状态筛选和详情提示,报销创建和审批详情
页优化会话管理和费用明细交互,新增助手应用服务和预设动
作工具函数,补充单元测试覆盖。
This commit is contained in:
caoxiaozhu
2026-05-25 13:35:39 +08:00
parent 50b1c3f9a9
commit d0e946cf47
59 changed files with 5117 additions and 416 deletions

View File

@@ -11,7 +11,8 @@ import jwt
from app.api.deps import CurrentUserContext
from app.core.config import get_settings
from app.schemas.agent_asset import AgentAssetOnlyOfficeConfigRead
from app.models.agent_asset import AgentAsset
from app.schemas.agent_asset import AgentAssetOnlyOfficeConfigRead, AgentAssetRead
from app.services.agent_asset_spreadsheet import (
COMPANY_TRAVEL_EXPENSE_RULE_FILENAME,
FINANCE_RULES_LIBRARY,
@@ -40,9 +41,7 @@ class OnlyOfficeCallbackPayload:
class AgentAssetOnlyOfficeMixin:
@staticmethod
def _resolve_onlyoffice_settings():
from app.services import agent_assets
return agent_assets.resolve_onlyoffice_settings()
return resolve_onlyoffice_settings()
def build_rule_spreadsheet_onlyoffice_config(
self,