fix(pkb): fix create KB and upload issues - remove simulated upload, fix department mapping, add upload modal

Fixed issues:
- Remove simulateUpload function from DashboardPage Step 3
- Map department to description field when creating KB
- Add upload modal in WorkspacePage knowledge assets tab
- Fix DocumentUpload import path (../../stores to ../stores)

Known issue: Dify API validation error during document upload (file uploaded but DB record failed, needs investigation)

Testing: KB creation works, upload dialog opens correctly
This commit is contained in:
2026-01-13 13:17:20 +08:00
parent d595037316
commit 4088275290
280 changed files with 4344 additions and 150 deletions

View File

@@ -885,6 +885,9 @@ ACR镜像仓库

View File

@@ -1372,6 +1372,9 @@ SAE应用配置:

View File

@@ -1188,6 +1188,9 @@ docker exec -e PGPASSWORD="密码" ai-clinical-postgres psql -h RDS地址 -U air

View File

@@ -599,6 +599,9 @@ scripts/*.ts

View File

@@ -287,6 +287,9 @@ Node.js后端部署成功后

View File

@@ -510,6 +510,9 @@ Node.js后端 (SAE) ← http://172.17.173.88:3001

View File

@@ -225,6 +225,9 @@ curl http://localhost:3001/health

View File

@@ -263,6 +263,9 @@ npm run dev

View File

@@ -487,6 +487,9 @@ pgm-2zex1m2y3r23hdn5.pg.rds.aliyuncs.com:5432

View File

@@ -1815,6 +1815,9 @@ curl http://8.140.53.236/

View File

@@ -363,6 +363,9 @@ crpi-cd5ij4pjt65mweeo.cn-beijing.personal.cr.aliyuncs.com/ai-clinical/backend-se

View File

@@ -685,6 +685,9 @@ docker login --username=gofeng117@163.com \

View File

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