feat(rvw): Complete Phase 4-5 - Bug fixes and Word export

Summary:
- Fix methodology score display issue in task list (show score instead of 'warn')
- Add methodology_score field to database schema
- Fix report display when only methodology agent is selected
- Implement Word document export using docx library
- Update documentation to v3.0/v3.1

Backend changes:
- Add methodologyScore to Prisma schema and TaskSummary type
- Update reviewWorker to save methodologyScore
- Update getTaskList to return methodologyScore

Frontend changes:
- Install docx and file-saver libraries
- Implement handleExportReport with Word generation
- Fix activeTab auto-selection based on available data
- Add proper imports for docx components

Documentation:
- Update RVW module status to 90% (Phase 1-5 complete)
- Update system status document to v3.0

Tested: All review workflows verified, Word export functional
This commit is contained in:
2026-01-10 22:52:15 +08:00
parent 179afa2c6b
commit 440f75255e
237 changed files with 3942 additions and 657 deletions

View File

@@ -177,3 +177,5 @@ logger.info('[SessionMemory] 会话记忆管理器已启动', {

View File

@@ -111,3 +111,5 @@ checkTableStructure();

View File

@@ -98,3 +98,5 @@ checkProjectConfig().catch(console.error);

View File

@@ -80,3 +80,5 @@ main();

View File

@@ -537,3 +537,5 @@ URL: https://iit.xunzhengyixue.com/api/v1/iit/patient-wechat/callback

View File

@@ -172,3 +172,5 @@ console.log('');

View File

@@ -489,3 +489,5 @@ export const patientWechatService = new PatientWechatService();

View File

@@ -134,3 +134,5 @@ testDifyIntegration().catch(error => {

View File

@@ -163,3 +163,5 @@ testIitDatabase()

View File

@@ -149,3 +149,5 @@ if (hasError) {

View File

@@ -175,3 +175,5 @@ async function testUrlVerification() {

View File

@@ -256,3 +256,5 @@ main().catch((error) => {

View File

@@ -140,3 +140,5 @@ Write-Host ""

View File

@@ -233,3 +233,5 @@ export interface CachedProtocolRules {