feat(frontend): Implement initial P0 scaffolding and enhance dashboard features
- Established the P0 scaffolding for the frontend, including login, layout, and routing for four roles. - Integrated the Customer Wealth Dashboard, Advisor Clients Dashboard, Analyst Market Dashboard, and Risk Alerts Dashboard. - Updated the API client to support fetching customer and product data, enhancing the overall functionality of the dashboard. - Added error handling components to improve user experience during data fetching. - Enhanced charting capabilities using Ant Design Charts for better data visualization. This update lays the groundwork for further development of the frontend application, ensuring a robust structure for future features and integrations.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
**项目是什么:** 金融四 Agent(客户财富 / 代理人 / 数据分析 / 风控)共用数据层与合规底座;**不**互调 LLM,跨 Agent 走 L1/L2/L3 画像与预警表。
|
||||
|
||||
**当前进度:** 需求与表设计已定 · **风控模块 B1~B9b + C4~C6 + 前端 B/C + AL-09 合并** · **代销平台 API v0.1 已落地(2026-09-08)**:`customers/products/advisors/staff/compliance` + `service/platform/` · **530 passed 0 skipped**(`python -m pytest`)。**下一步:接口契约发群 · 前端 `web/` · Agent 合并改调 platform Service。**
|
||||
**当前进度:** 需求与表设计已定 · **风控模块 B1~B9b + C4~C6 + chat B/C + AL-09 合并** · **代销平台 API v0.1 已落地** · **530 passed 0 skipped** · **`web/` P0 脚手架已 init(登录+Layout+占位路由)**。**下一步:前端真接 API/SSE(含 risk Chat)· 接口契约发群。**
|
||||
|
||||
**工作分支:** 团队开发在 **`merger`**(已 merge 风控模块);历史开发分支 `risk-control-agent` 交付冻结。旧文档中「待 AL-09 合并」口径已过时。
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
| `docs/项目框架设计/接口契约-代销平台API-v0.2-行情扩展草案.md` | **草案(2026-09-09)** | `nav-snapshot` · `sync_market_nav` · 前端产品行情 Phase B |
|
||||
| `docs/项目框架设计/表设计/` | 已定 | Agent 共用 11 表 + agent 专用 SQL |
|
||||
| `docs/项目框架设计/Core模拟底座/` | 已定 | 无真实 Core 时的 L0 方案 |
|
||||
| `web/` | **P0 脚手架(2026-09-09)** | Vite+AntD+HashRouter;登录+Layout+路由占位;见 `web/README.md` |
|
||||
| `web/` | **P0 脚手架(2026-09-09)** | 登录+Layout+四角色路由+占位页;**未接** ChatPanel/SSE、平台读 API、risk alerts;设计 `docs/superpowers/specs/2026-09-09-frontend-p0-design.md` |
|
||||
|
||||
**本地 bootstrap(首次):** 完整步骤与前置说明见 `FLOW.md` §0(权威),速览:
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
**AL-09 合并后架构(一句话):** 宿主 `gateway/` + 模块 `deps.py` **双栈并存**;对外登录/token **统一**;chat/risk 均走模块鉴权;接缝 S2 用 `auth_adapter`。
|
||||
|
||||
**下一步(见 TODO):** 代销平台 API v0.1(契约已定:`docs/项目框架设计/接口契约-代销平台API-v0.1.md`)· 前端 `web/` init · Agent 队友并行 Tool/编排(重复能力合并期改调平台 API)。
|
||||
**下一步(见 TODO):** 前端 P0 真接(ChatPanel+customer/risk SSE、平台读页、risk alerts、market)· 接口契约发群 · Agent 合并改调 platform Service。
|
||||
|
||||
**平台 API 硬规则(2026-09-08 拍板):** 路由 **A · 按业务域**(`/api/customers` 等);与 Agent 功能重复时 **以本平台 API 为准**;命名见契约 §2;合并时统一改 canonical 路径。
|
||||
|
||||
@@ -91,8 +91,8 @@
|
||||
## 1. 项目简介
|
||||
|
||||
- **名称:** JinRong 金融四 Agent 智能管家
|
||||
- **当前阶段:** **代销平台 API v0.1 + AL-09 合并完成(2026-09-08,`merger` 分支)**——530 测试绿;Redis/演示库/AML 集成已就位
|
||||
- **当前优先级:** 代销平台 API v0.1(统筹 P1)/ 前端 `web/` / Agent 队友并行(合并期改调平台 canonical API)
|
||||
- **当前阶段:** **代销平台 API v0.1 + AL-09 合并 + `web/` P0 脚手架(2026-09-09)**——530 测试绿;前端业务页与 Agent SSE **待接**
|
||||
- **当前优先级:** 前端 P0 真接 API/SSE(统筹)/ 接口契约发群 / Agent 队友并行(合并期改调 platform canonical API)
|
||||
|
||||
------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user