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

@@ -46,3 +46,6 @@

View File

@@ -77,3 +77,6 @@ Desktop.ini

View File

@@ -378,3 +378,6 @@ docker-compose -f docker-compose.prod.yml up -d

View File

@@ -139,3 +139,6 @@ volumes:

View File

@@ -137,3 +137,6 @@ volumes:

View File

@@ -73,3 +73,6 @@ PMA_UPLOAD_LIMIT=50M

View File

@@ -81,3 +81,6 @@ Write-Host ""

View File

@@ -59,3 +59,6 @@ try {

View File

@@ -72,3 +72,6 @@ Write-Host ""

View File

@@ -35,3 +35,6 @@ if ($result) {

View File

@@ -57,3 +57,6 @@ if ($LASTEXITCODE -eq 0) {

View File

@@ -43,3 +43,6 @@ if ($LASTEXITCODE -eq 0) {