Files
AIclinicalresearch/docs/03-业务模块/ADMIN-运营管理端/README.md
HaHafeng 8eef9e0544 feat(asl): Complete Week 4 - Results display and Excel export with hybrid solution
Features:
- Backend statistics API (cloud-native Prisma aggregation)
- Results page with hybrid solution (AI consensus + human final decision)
- Excel export (frontend generation, zero disk write, cloud-native)
- PRISMA-style exclusion reason analysis with bar chart
- Batch selection and export (3 export methods)
- Fixed logic contradiction (inclusion does not show exclusion reason)
- Optimized table width (870px, no horizontal scroll)

Components:
- Backend: screeningController.ts - add getProjectStatistics API
- Frontend: ScreeningResults.tsx - complete results page (hybrid solution)
- Frontend: excelExport.ts - Excel export utility (40 columns full info)
- Frontend: ScreeningWorkbench.tsx - add navigation button
- Utils: get-test-projects.mjs - quick test tool

Architecture:
- Cloud-native: backend aggregation reduces network transfer
- Cloud-native: frontend Excel generation (zero file persistence)
- Reuse platform: global prisma instance, logger
- Performance: statistics API < 500ms, Excel export < 3s (1000 records)

Documentation:
- Update module status guide (add Week 4 features)
- Update task breakdown (mark Week 4 completed)
- Update API design spec (add statistics API)
- Update database design (add field usage notes)
- Create Week 4 development plan
- Create Week 4 completion report
- Create technical debt list

Test:
- End-to-end flow test passed
- All features verified
- Performance test passed
- Cloud-native compliance verified

Ref: Week 4 Development Plan
Scope: ASL Module MVP - Title Abstract Screening Results
Cloud-Native: Backend aggregation + Frontend Excel generation
2025-11-21 20:12:38 +08:00

111 lines
2.4 KiB
Markdown
Raw 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.
# ADMIN - 运营管理端
> **模块代号:** ADMIN (Administration)
> **开发状态:** ⏳ 规划中
> **商业价值:** ⭐⭐⭐⭐⭐ SaaS运营基础
> **独立性:** ⭐⭐⭐⭐⭐
> **优先级:** P1
---
## 📋 模块概述
运营管理端横跨所有层次是SaaS商业模式的技术基础。
**核心价值:** 实现多版本管理、成本控制、功能开关
---
## 🎯 核心功能15个模块
### P0必须阶段一
1. **用户管理** - 用户列表、详情、激活/禁用
2. **Feature Flag管理** ⭐ - 版本功能控制(专业版/高级版/旗舰版)
3. **LLM模型管理** ⭐ - 模型配置、成本配置、版本绑定
4. **系统配置管理** - 全局配置、动态配置
### P1重要阶段二
5. **智能体提示词管理** - Prompt模板管理
6. **监控与日志** - 操作日志、错误监控
7. **数据统计与报表** - 用户统计、使用统计
8. **成本分析与计费** - LLM成本统计、计费管理
### P2有用阶段三
9. **租户管理** - 私有化部署的租户管理
10. **公告与通知管理**
11. **帮助文档管理**
12. **反馈与工单管理**
13. **系统健康检查**
14. **数据库备份与恢复**
15. **运营数据分析**
---
## 📂 文档结构
```
ADMIN-运营管理端/
├── [AI对接] ADMIN快速上下文.md # ⏳ 待创建
├── 00-项目概述/
│ ├── 01-产品需求文档(PRD).md # ⏳ 待创建
│ ├── 02-功能清单15个模块.md # ⏳ 待创建
│ └── 03-权限体系设计.md # ⏳ 待创建
├── 01-设计文档/
│ ├── 01-技术架构设计.md # ⏳ 待创建
│ ├── 02-数据库设计.md # ⏳ 待创建
│ └── 05-权限体系实现.md # ⏳ 待创建
└── README.md # ✅ 当前文档
```
---
## 🏗️ 技术选型
- **前端:** React + Ant Design Pro
- **后端:** Node.js + Fastify
- **数据库:** PostgreSQL (admin_schema)
---
## 🚀 实施阶段
- **阶段一1-2个月** P0功能
- **阶段二1-2个月** P1功能
- **阶段三1-2个月** P2功能
---
## 🌐 部署方式
- **独立域名:** `https://admin.yizhengxun.com`
- **独立前端应用**
- **独立后端API**
---
**最后更新:** 2025-11-06
**维护人:** 技术架构师