Files
cma-management/ARCHITECTURE.md
Hermes CI Fix 3dddd36866 init: 管理会计OS初始代码
包含前后端完整代码:
- 前端:Vue3+Vite+ElementPlus
- 后端:FastAPI+SQLAlchemy
- 模块:驾驶舱/KPI/战略地图/预警/预算/成本/预测/改善行动
- 当前版本:v1.0.0
2026-05-28 17:32:22 +08:00

42 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 管理会计OS — 技术方案(定稿)
## 架构
cma.sxbh.ltd → Nginx → FastAPI:8010 → MariaDB(cma) + Redis(db1)
## 数据库(6张核心表)
strategic_maps — 战略地图
kpi_definitions — KPI字典
kpi_values — KPI实际值
data_source_config — 数据源配置
kpi_alerts — 预警记录
operation_logs — 操作日志(新增)
## MVP范围(Sprint 1-39天)
Epic 1: 战略地图配置器(精简版)
Epic 2: KPI字典引擎
Epic 3: 数据接入(ERP + Excel
Epic 4: KPI计算与调度
Epic 5: 管理驾驶舱(4角色)
## 优化点已采纳
1. MVP先做KPI字典+驾驶舱,再做战略地图画布
2. 数据源区分实时/离线
3. 增加数据对账页面
4. 预警增加处理流程闭环
5. Excel固定导入模板
6. 增加操作日志表
7. MVP只做Epic 1-5
8. User Story关联Epic
## 数字员工分工
- dev-backend: 数据库建表 + 全部后端API
- dev-frontend: 前端脚手架 + 登录 + KPI字典页面 + 驾驶舱
- dev-fullstack: ERP对接 + Excel导入 + 计算引擎
- dev-qa: 全流程验收
- dev-ops: 域名 + SSL + Nginx + systemd