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
45 lines
944 B
PowerShell
45 lines
944 B
PowerShell
#!/usr/bin/env pwsh
|
||
# REDCap Docker环境停止脚本
|
||
# 版本:v1.0
|
||
# 日期:2026-01-01
|
||
|
||
Write-Host "⏹️ 停止REDCap Docker环境..." -ForegroundColor Yellow
|
||
Write-Host ""
|
||
|
||
# 切换到项目目录
|
||
$ScriptDir = Split-Path -Parent $PSCommandPath
|
||
$ProjectDir = Split-Path -Parent $ScriptDir
|
||
Set-Location $ProjectDir
|
||
|
||
# 停止容器(保留数据)
|
||
docker-compose stop
|
||
|
||
if ($LASTEXITCODE -eq 0) {
|
||
Write-Host ""
|
||
Write-Host "✅ REDCap环境已停止!" -ForegroundColor Green
|
||
Write-Host ""
|
||
Write-Host "💡 提示:" -ForegroundColor Cyan
|
||
Write-Host " • 数据已保留在Docker卷中" -ForegroundColor Gray
|
||
Write-Host " • 重新启动:.\scripts\start-redcap.ps1" -ForegroundColor Gray
|
||
Write-Host " • 完全清理(删除数据):.\scripts\clean-redcap.ps1" -ForegroundColor Gray
|
||
Write-Host ""
|
||
} else {
|
||
Write-Host "❌ 停止失败!" -ForegroundColor Red
|
||
exit 1
|
||
}
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|