Files
AIclinicalresearch/backend/src/modules/rvw/index.ts
HaHafeng 440f75255e 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
2026-01-10 22:52:15 +08:00

28 lines
678 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* RVW稿件审查模块 - 模块入口
* @module rvw
*
* 功能:
* - 稿约规范性评估11项标准
* - 方法学评估3部分20个检查点
* - 智能体选择可选1个或2个
* - 批量审查支持
*/
// 导出路由
export { default as rvwRoutes } from './routes/index.js';
// 导出服务(供其他模块使用)
export * as reviewService from './services/reviewService.js';
export * as editorialService from './services/editorialService.js';
export * as methodologyService from './services/methodologyService.js';
// 导出类型
export * from './types/index.js';
// 导出工具函数
export * from './services/utils.js';