iconsulting/packages/web-client
hailin db7964a461 feat(chat): P1 — 评估结果可视化卡片,Assessment Expert 输出渲染为结构化报告
## 新建 AssessmentResultCard 组件

- 渲染 Assessment Expert 返回的结构化评估数据
- 综合适合度分数(顶部大字展示,颜色编码)
- 6 个移民类别评估卡片(QMAS/GEP/IANG/TTPS/CIES/TECHTAS)
  - 分数条形图(CSS 实现,无需 chart 库)
  - 颜色梯度:绿色(90+) → 蓝色(70+) → 黄色(50+) → 橙色(30+) → 红色
  - 推荐类别高亮(primary 边框 + Award 图标)
  - 优势(highlights)、风险(concerns)、缺失信息(missingInfo) 分组展示
  - 子类别标签(如 A类、综合计分制)
- 排序:推荐类别优先,其次按分数降序
- 底部建议区块

## ToolCallResult 集成

- 识别 invoke_assessment_expert 工具结果
- 自动 JSON.parse(assessment expert 返回 JSON 字符串)
- 存在 assessments 数组时渲染 AssessmentResultCard

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 01:20:12 -08:00
..
src feat(chat): P1 — 评估结果可视化卡片,Assessment Expert 输出渲染为结构化报告 2026-02-07 01:20:12 -08:00
index.html Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
package.json feat(payment): P0 — 支付闭环,Agent 可创建真实订单并生成支付二维码 2026-02-07 01:17:14 -08:00
postcss.config.js Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
tailwind.config.js fix: 添加 border 颜色定义修复 Tailwind 构建错误 2026-01-09 07:06:32 -08:00
tsconfig.json Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
tsconfig.node.json Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
vite.config.ts Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00