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:
@@ -20,12 +20,12 @@ test('steward plan summary uses warm guidance copy for application flow', () =>
|
||||
next_action: 'confirm_create_application'
|
||||
})
|
||||
|
||||
assert.match(message, /我先帮你把步骤理清楚/)
|
||||
assert.match(message, /我先看了一下,你这次主要是 \*\*1 个事项\*\*/)
|
||||
assert.match(message, /我先帮您把步骤理清楚/)
|
||||
assert.match(message, /我先看了一下,您这次主要是 \*\*1 个事项\*\*/)
|
||||
assert.match(message, /为了不让步骤混在一起/)
|
||||
assert.match(message, /我会请申请助手先把申请单草稿整理出来/)
|
||||
assert.match(message, /你看这个顺序是否合适/)
|
||||
assert.match(message, /需要补充的信息会在具体步骤里再温和提醒你/)
|
||||
assert.match(message, /这步交给申请助手——先把申请单草稿拉出来给您过目/)
|
||||
assert.match(message, /您看这个顺序是否合适/)
|
||||
assert.match(message, /需要补充的信息会在具体步骤里再温和提醒/)
|
||||
assert.doesNotMatch(message, /我会这样推进/)
|
||||
assert.doesNotMatch(message, /不会一次性把所有动作都执行掉/)
|
||||
assert.doesNotMatch(message, /交给申请助手生成申请单核对结果/)
|
||||
@@ -59,8 +59,8 @@ test('steward plan summary guides bare reimbursement intent into scene selection
|
||||
|
||||
const message = buildStewardPlanMessageText(plan)
|
||||
|
||||
assert.match(message, /我来带你发起报销/)
|
||||
assert.match(message, /你现在只说了要报销/)
|
||||
assert.match(message, /我来带您发起报销/)
|
||||
assert.match(message, /您现在只说了要报销/)
|
||||
assert.match(message, /先选报销场景/)
|
||||
assert.match(message, /差旅费、交通费、住宿费/)
|
||||
assert.doesNotMatch(message, /步骤混在一起/)
|
||||
|
||||
Reference in New Issue
Block a user