feat: 完善文档中心与报销申请交互及侧边栏重构
后端优化编排器报销查询和本体检测精度,增强报销单草稿保 存和附件回填逻辑,前端重构侧边栏组件支持折叠和图标导 航,完善文档中心状态筛选和详情提示,报销创建和审批详情 页优化会话管理和费用明细交互,新增助手应用服务和预设动 作工具函数,补充单元测试覆盖。
This commit is contained in:
@@ -459,7 +459,21 @@ export function useTravelReimbursementFlow({
|
||||
detail: '正在根据当前票据新建报销草稿...'
|
||||
}
|
||||
}
|
||||
const config = configs[reviewAction] || {
|
||||
const defaultConfigBySessionType = {
|
||||
application: {
|
||||
key: 'application-review-preview',
|
||||
title: '申请信息核对',
|
||||
tool: 'user_agent.application_review_preview',
|
||||
detail: '正在整理申请事项和待补充信息...'
|
||||
},
|
||||
approval: {
|
||||
key: 'approval-review-preview',
|
||||
title: '审核信息核对',
|
||||
tool: 'user_agent.approval_review_preview',
|
||||
detail: '正在整理待审核单据、风险点和审核建议...'
|
||||
}
|
||||
}
|
||||
const config = configs[reviewAction] || defaultConfigBySessionType[String(activeSessionType.value || '').trim()] || {
|
||||
key: 'expense-review-preview',
|
||||
title: '报销信息核对',
|
||||
tool: 'user_agent.expense_review_preview',
|
||||
|
||||
Reference in New Issue
Block a user