feat: 完成原型04-10全链路功能开发,包括AI助手、PDF导出等

This commit is contained in:
hujun
2026-09-28 17:50:46 +08:00
parent 7c252fc730
commit 79feb03b19
27 changed files with 1083 additions and 180 deletions
+6
View File
@@ -0,0 +1,6 @@
// 登录回跳只接受固定页面和白名单参数,不接受外部 URL;页面仍需重新鉴权。
export function nextStepRoute(assessmentId: string, productId: string = '', section: string = 'actions'): string {
const valid = (id: string): boolean => /^[1-9][0-9]{0,9}$/.test(id)
if (!valid(assessmentId) || (productId.length > 0 && !valid(productId)) || !['actions', 'prepare'].includes(section)) return ''
return '/packages/finance/next-step/next-step?assessmentId=' + assessmentId + (productId.length > 0 ? '&productId=' + productId : '') + '&section=' + section
}