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

@@ -684,3 +684,5 @@ private async processMessageAsync(xmlData: any) {

View File

@@ -1078,3 +1078,5 @@ async function testIntegration() {

View File

@@ -219,3 +219,5 @@ Content-Type: application/json

View File

@@ -639,3 +639,5 @@ REDCap API: exportRecords success { recordCount: 1 }

View File

@@ -645,3 +645,5 @@ backend/src/modules/iit-manager/

View File

@@ -795,3 +795,5 @@ CREATE TABLE iit_schema.wechat_tokens (

View File

@@ -552,3 +552,5 @@ Day 3 的开发工作虽然遇到了多个技术问题,但最终成功完成

View File

@@ -319,3 +319,5 @@ AI: "出生日期2017-01-04

View File

@@ -263,3 +263,5 @@ Day 4: REDCap EMWebhook推送← 作为增强,而非核心

View File

@@ -677,3 +677,5 @@ const answer = `根据研究方案[1]和CRF表格[2],纳入标准包括: