外包风险评估系统:领域引擎+前端+服务端持久化与生产部署

- 确定性领域引擎(分类/评分/分级/红线/费用/裁决)+LLM(通义千问)语言理解
- 6步评估向导、服务端草稿持久化(跨设备/编辑草稿保护)
- 工作流(草稿→风控→管理层)、RBAC、报告导出、校准、客户/费率/红线/最低工资管理
- 专业图标体系替换全部emoji、看板美化
- 生产化:API_BASE可配置(同源反代)、auth密钥惰性读取修复RBAC
- 444单测+204前端测试+51 e2e
This commit is contained in:
freedakgmail
2026-06-13 01:06:39 +08:00
commit c670b9e454
404 changed files with 61820 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
/**
* Feedback 公共入口(barreltask 23.1)。
*
* 暴露「操作反馈与状态提示」的纯映射器与状态转移 helper(供 Property 80 / task 23.2
* 验证)以及展示组件:
* - `feedbackFor`:纯且确定性的 OperationState → OperationFeedback 映射(Req 24.124.3)。
* - `runOperation`idle→loading→success|error 的异步状态转移 helper。
* - `exportWithProgress`:报告导出进度反馈 + 30 秒终态边界(Req 24.4)。
* - `OperationFeedbackView`:将反馈渲染为可访问 UI 的展示组件。
*/
export {
feedbackFor,
runOperation,
exportWithProgress,
ExportTimeoutError,
DEFAULT_EXPORT_TIMEOUT_MS,
} from './feedback.js';
export type {
OperationState,
OperationFeedback,
CorrectiveAction,
FeedbackContext,
RunOperationOptions,
ExportTerminalState,
ExportProgress,
ExportResult,
ExportWithProgressOptions,
} from './feedback.js';
export { OperationFeedbackView } from './OperationFeedbackView.js';
export type { OperationFeedbackViewProps } from './OperationFeedbackView.js';