feat(pkb): Complete PKB module frontend migration with V3 design

Summary:
- Implement PKB Dashboard and Workspace pages based on V3 prototype
- Add single-layer header with integrated Tab navigation
- Implement 3 work modes: Full Text, Deep Read, Batch Processing
- Integrate Ant Design X Chat component for AI conversations
- Create BatchModeComplete with template selection and document processing
- Add compact work mode selector with dropdown design

Backend:
- Migrate PKB controllers and services to /modules/pkb structure
- Register v2 API routes at /api/v2/pkb/knowledge
- Maintain dual API routes for backward compatibility

Technical details:
- Use Zustand for state management
- Handle SSE streaming responses for AI chat
- Support document selection for Deep Read mode
- Implement batch processing with progress tracking

Known issues:
- Batch processing API integration pending
- Knowledge assets page navigation needs optimization

Status: Frontend functional, pending refinement
This commit is contained in:
2026-01-06 22:15:42 +08:00
parent b31255031e
commit 5a17d096a7
226 changed files with 14899 additions and 224 deletions

View File

@@ -874,6 +874,10 @@ ACR镜像仓库

View File

@@ -1365,4 +1365,8 @@ SAE应用配置:

View File

@@ -1182,3 +1182,7 @@ docker exec -e PGPASSWORD="密码" ai-clinical-postgres psql -h RDS地址 -U air

View File

@@ -593,3 +593,7 @@ scripts/*.ts

View File

@@ -281,3 +281,7 @@ Node.js后端部署成功后

View File

@@ -504,3 +504,7 @@ Node.js后端 (SAE) ← http://172.17.173.88:3001

View File

@@ -219,3 +219,7 @@ curl http://localhost:3001/health

View File

@@ -257,3 +257,7 @@ npm run dev

View File

@@ -481,3 +481,7 @@ pgm-2zex1m2y3r23hdn5.pg.rds.aliyuncs.com:5432

View File

@@ -1809,3 +1809,7 @@ curl http://8.140.53.236/

View File

@@ -357,3 +357,7 @@ crpi-cd5ij4pjt65mweeo.cn-beijing.personal.cr.aliyuncs.com/ai-clinical/backend-se

View File

@@ -679,3 +679,7 @@ docker login --username=gofeng117@163.com \

View File

@@ -485,6 +485,10 @@ NAT网关成本¥100/月,对初创团队是一笔开销