Features - User Management (Phase 4.1): - Database: Add user_modules table for fine-grained module permissions - Database: Add 4 user permissions (view/create/edit/delete) to role_permissions - Backend: UserService (780 lines) - CRUD with tenant isolation - Backend: UserController + UserRoutes (648 lines) - 13 API endpoints - Backend: Batch import users from Excel - Frontend: UserListPage (412 lines) - list/filter/search/pagination - Frontend: UserFormPage (341 lines) - create/edit with module config - Frontend: UserDetailPage (393 lines) - details/tenant/module management - Frontend: 3 modal components (592 lines) - import/assign/configure - API: GET/POST/PUT/DELETE /api/admin/users/* endpoints Architecture Upgrade - Module Permission System: - Backend: Add getUserModules() method in auth.service - Backend: Login API returns modules array in user object - Frontend: AuthContext adds hasModule() method - Frontend: Navigation filters modules based on user.modules - Frontend: RouteGuard checks requiredModule instead of requiredVersion - Frontend: Remove deprecated version-based permission system - UX: Only show accessible modules in navigation (clean UI) - UX: Smart redirect after login (avoid 403 for regular users) Fixes: - Fix UTF-8 encoding corruption in ~100 docs files - Fix pageSize type conversion in userService (String to Number) - Fix authUser undefined error in TopNavigation - Fix login redirect logic with role-based access check - Update Git commit guidelines v1.2 with UTF-8 safety rules Database Changes: - CREATE TABLE user_modules (user_id, tenant_id, module_code, is_enabled) - ADD UNIQUE CONSTRAINT (user_id, tenant_id, module_code) - INSERT 4 permissions + role assignments - UPDATE PUBLIC tenant with 8 module subscriptions Technical: - Backend: 5 new files (~2400 lines) - Frontend: 10 new files (~2500 lines) - Docs: 1 development record + 2 status updates + 1 guideline update - Total: ~4900 lines of code Status: User management 100% complete, module permission system operational
70 lines
2.0 KiB
Markdown
70 lines
2.0 KiB
Markdown
# 整体开发计划
|
||
|
||
> **文档定位:** 项目总体规划和长期路线图
|
||
> **最后更新:** 2025-11-07
|
||
|
||
---
|
||
|
||
## 🎯 项目愿景
|
||
|
||
**打造覆盖医学科研全流程的智能化平台**
|
||
|
||
支持:
|
||
- ✅ 文献检索与筛选
|
||
- ✅ 数据清洗与整理
|
||
- ✅ 统计分析
|
||
- ✅ AI辅助写作
|
||
- ✅ 稿件审查
|
||
|
||
---
|
||
|
||
## 📊 2025-2026年度路线图
|
||
|
||
### Q4 2025(11-12月)
|
||
|
||
| 时间 | 里程碑 | 核心目标 | 状态 |
|
||
|------|--------|---------|------|
|
||
| 2025-11 | 里程碑4 | 架构改造 | 🚧 进行中 |
|
||
| 2025-11-12 | 里程碑5 Week 1 | ASL基础设施+LLM网关 | 📋 规划中 |
|
||
| 2025-11-12 | 里程碑5 Week 2-3 | ASL标题摘要初筛+全文复筛 | 📋 规划中 |
|
||
|
||
### Q1 2026(1-3月)
|
||
|
||
| 时间 | 里程碑 | 核心目标 | 状态 |
|
||
|------|--------|---------|------|
|
||
| 2026-01 | 里程碑6 | 运营管理端P0功能 | 📋 规划中 |
|
||
| 2026-02 | 里程碑7 | ASL完整功能 | 📋 规划中 |
|
||
| 2026-03 | Beta测试 | 第一批用户测试 | 📋 规划中 |
|
||
|
||
---
|
||
|
||
## 🏗️ 8个业务模块规划
|
||
|
||
### P0 - 核心差异化模块
|
||
|
||
| 模块 | 优先级 | 状态 | 预计开始 | 说明 |
|
||
|------|--------|------|---------|------|
|
||
| **ASL** | P0 | 📋 规划中 | 2025-11 | AI智能文献筛选 |
|
||
| **DC** | P0 | 📋 规划中 | 2026-02 | 数据清洗整理 |
|
||
| **RVW** | P0 | ✅ 已完成 | - | 稿件审查(独立系统) |
|
||
|
||
### P1 - 协同模块
|
||
|
||
| 模块 | 优先级 | 状态 | 预计开始 | 说明 |
|
||
|------|--------|------|---------|------|
|
||
| **ADMIN** | P1 | 📋 规划中 | 2026-01 | 运营管理端 |
|
||
| **SSA** | P1 | 📋 规划中 | 2026-04 | 智能统计分析 |
|
||
| **ST** | P1 | 📋 规划中 | 2026-05 | 统计分析工具 |
|
||
|
||
### 已完成 - 基础模块
|
||
|
||
| 模块 | 状态 | 完成时间 | 说明 |
|
||
|------|------|---------|------|
|
||
| **AIA** | ✅ 已完成 | 2025-10 | AI智能问答(12个智能体) |
|
||
| **PKB** | ✅ 已完成 | 2025-10 | 个人知识库(RAG问答) |
|
||
|
||
---
|
||
|
||
**维护者:** 项目管理组
|
||
**最后更新:** 2025-11-07
|