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
97 lines
1.7 KiB
Markdown
97 lines
1.7 KiB
Markdown
# [模块代号] - [模块名称]
|
|
|
|
> **模块代号:** [代号] ([英文全称])
|
|
> **开发状态:** [✅已完成 / ⏳开发中 / ⏳规划中]
|
|
> **商业价值:** ⭐⭐⭐⭐⭐ [评级]
|
|
> **独立性:** ⭐⭐⭐⭐⭐ [评级]
|
|
> **优先级:** [P0/P1/P2]
|
|
|
|
---
|
|
|
|
## 📋 模块概述
|
|
|
|
[2-3句话描述模块核心功能和价值]
|
|
|
|
**核心价值:** [核心差异化点]
|
|
|
|
---
|
|
|
|
## 🎯 核心功能
|
|
|
|
### [已完成功能 / 计划功能]
|
|
1. [✅/⏳] **功能1** - 简要描述
|
|
2. [✅/⏳] **功能2** - 简要描述
|
|
3. [✅/⏳] **功能3** - 简要描述
|
|
|
|
**[本周/下一步]重点:** [当前重点]
|
|
|
|
---
|
|
|
|
## 📂 文档结构
|
|
|
|
```
|
|
[模块代号]-[模块名称]/
|
|
├── [AI对接] [代号]快速上下文.md # [状态]
|
|
├── 00-项目概述/
|
|
│ ├── 01-产品需求文档(PRD).md # [状态]
|
|
│ └── README.md
|
|
├── 01-设计文档/
|
|
│ ├── 01-技术架构设计.md # [状态]
|
|
│ ├── 02-数据库设计.md # [状态]
|
|
│ ├── 03-API设计.md # [状态]
|
|
│ └── README.md
|
|
├── 02-业务规则/
|
|
├── 03-开发计划/
|
|
├── 04-测试文档/
|
|
└── README.md # ✅ 当前文档
|
|
```
|
|
|
|
---
|
|
|
|
## 🔗 依赖的通用能力
|
|
|
|
- **[能力1]** - [用途]
|
|
- **[能力2]** - [用途]
|
|
|
|
---
|
|
|
|
## 🎯 商业模式
|
|
|
|
**目标客户:** [目标客户群]
|
|
**售卖方式:** [独立产品 / 组合售卖 / 平台功能]
|
|
**定价策略:** [定价方式]
|
|
|
|
---
|
|
|
|
## ⚠️ [技术难点 / 核心特色]
|
|
|
|
[如果有特别的技术难点或核心特色,在这里说明]
|
|
|
|
---
|
|
|
|
**最后更新:** [日期]
|
|
**维护人:** 技术架构师
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|