feat(web): AI 工作台文件预览/附件关联任务与草稿分支
- 新增 WorkbenchAiFilePreviewDialog 附件预览对话框及 useWorkbenchAiFilePreview,附件支持点击预览 - 新增 attachmentAssociationJobs/linkedReimbursementDraftJobs 前端服务与对应 composable,接入后台任务轮询与状态展示 - 新增 travelReimbursementDraftBranchModel 草稿分支模型,报销关联门控支持跳过/选择草稿 - PersonalWorkbenchAiMode 及各 composable(expense/document/steward/application-preview/attachment-association)重构适配,WorkbenchAiComposer/FileStrip 样式与交互完善 - DocumentsCenter/ReceiptFolder/TravelReimbursementCreate 等视图及 scripts 重构,风险/差旅规划/审批等工具适配 - 新增/更新前端测试:application-result-card、reimbursement-list-preview-fetch、guided-flow、composer-components 等
This commit is contained in:
@@ -567,7 +567,7 @@ export function buildRequiredApplicationSelectionText(expenseType, applications)
|
||||
`发起“${label}”报销前,需要先关联对应的申请单。`,
|
||||
'',
|
||||
`我查到 ${applications.length} 个可关联申请单,请先选择其中一个。`,
|
||||
'选择后,我再继续向你收集本次报销依据。'
|
||||
'选择后,我会继续向您收集本次报销依据。'
|
||||
].join('\n')
|
||||
}
|
||||
|
||||
@@ -576,7 +576,7 @@ export function buildRequiredApplicationMissingText(expenseType) {
|
||||
return [
|
||||
`发起“${label}”报销前,需要先关联对应的申请单。`,
|
||||
'',
|
||||
`我没有查到你名下可关联的“${label}”申请单,所以当前不能继续这类报销流程。`,
|
||||
`我没有查到您名下可关联的“${label}”申请单,所以当前不能继续这类报销流程。`,
|
||||
'请先切换到申请助手发起相关申请;申请单存在后,再回到报销助手继续。'
|
||||
].join('\n')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user