feat(web): AI 工作台会话与文档卡片渲染增强
- aiConversationHtmlRenderer 识别单据记录类表格并渲染为卡片列表,新增删除申请单详情的禁用占位链接 - aiWorkbenchConversationStore 增加草稿删除后会话链接失效处理,避免点击已删除单据跳转 - aiApplicationPreviewActions 调整提交/草稿调用路径,PersonalWorkbenchAiMode 接入新的会话存储与渲染 - ConfirmDialog/TravelRequestDeleteDialog/useAppShell/AppShellRouteView 配套适配,同步更新相关前端测试
This commit is contained in:
@@ -37,6 +37,10 @@ test('workbench document detail keeps workbench as the return target', () => {
|
||||
|
||||
test('AI detail links wait for full document detail instead of rendering a half snapshot', () => {
|
||||
assert.match(aiMode, /detailLookupOnly:\s*true/)
|
||||
assert.match(aiMode, /params\.get\('claim_id'\)/)
|
||||
assert.match(aiMode, /params\.get\('claim_no'\)/)
|
||||
assert.match(aiMode, /claimId:\s*claimId \|\| reference/)
|
||||
assert.match(aiMode, /claimNo:\s*claimNo \|\| reference/)
|
||||
assert.match(
|
||||
appShell,
|
||||
/v-else-if="activeView === 'documents' && detailMode && !selectedRequest"[\s\S]*正在加载完整单据详情/
|
||||
|
||||
Reference in New Issue
Block a user