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:
36
重启所有服务.bat
36
重启所有服务.bat
@@ -1,36 +0,0 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
echo ========================================
|
||||
echo 停止所有服务并重新启动
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
echo [1/3] 停止所有Node进程...
|
||||
taskkill /F /IM node.exe >nul 2>&1
|
||||
timeout /t 2 /nobreak >nul
|
||||
|
||||
echo [2/3] 启动后端服务(端口3001)...
|
||||
cd /d "%~dp0backend"
|
||||
start "【后端服务】端口3001" cmd /k "npm run dev"
|
||||
timeout /t 5 /nobreak >nul
|
||||
|
||||
echo [3/3] 启动前端服务(端口3000)...
|
||||
cd /d "%~dp0frontend"
|
||||
start "【前端服务】端口3000" cmd /k "npm run dev"
|
||||
|
||||
echo.
|
||||
echo ========================================
|
||||
echo ✅ 服务重启完成!
|
||||
echo ========================================
|
||||
echo.
|
||||
echo 📍 前端地址: http://localhost:3000
|
||||
echo 📍 后端地址: http://localhost:3001
|
||||
echo.
|
||||
echo 提示:
|
||||
echo - 已打开2个新窗口,请不要关闭
|
||||
echo - 请等待15-20秒让服务完全启动
|
||||
echo - 然后访问 http://localhost:3000
|
||||
echo.
|
||||
pause
|
||||
|
||||
|
||||
Reference in New Issue
Block a user