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

@@ -570,6 +570,9 @@ df['creatinine'] = pd.to_numeric(df['creatinine'], errors='coerce')

View File

@@ -985,6 +985,9 @@ export const aiController = new AIController();

View File

@@ -1319,6 +1319,9 @@ npm install react-markdown

View File

@@ -227,6 +227,9 @@ FMA___基线 | FMA___1个月 | FMA___2个月

View File

@@ -385,6 +385,9 @@ formula = "FMA总分0-100 / 100"

View File

@@ -219,6 +219,9 @@ async handleFillnaMice(request, reply) {

View File

@@ -191,6 +191,9 @@ method: 'mean' | 'median' | 'mode' | 'constant' | 'ffill' | 'bfill'

View File

@@ -642,6 +642,9 @@ import { logger } from '../../../../common/logging/index.js';

View File

@@ -445,6 +445,9 @@ import { ChatContainer } from '@/shared/components/Chat';

View File

@@ -355,6 +355,9 @@ const initialMessages = defaultMessages.length > 0 ? defaultMessages : [{

View File

@@ -643,6 +643,9 @@ http://localhost:5173/data-cleaning/tool-c

View File

@@ -431,6 +431,9 @@ Docs: docs/03-业务模块/DC-数据清洗整理/06-开发记录/DC模块重建

View File

@@ -304,6 +304,9 @@ ConflictDetectionService // 冲突检测(字段级对比)

View File

@@ -468,6 +468,9 @@ Tool B后端代码**100%复用**了平台通用能力层,无任何重复开发

View File

@@ -245,6 +245,9 @@ $ node scripts/check-dc-tables.mjs

View File

@@ -478,6 +478,9 @@ ${fields.map((f, i) => `${i + 1}. ${f.name}${f.desc}`).join('\n')}