Tool 4 - SR Chart Generator: - PRISMA 2020 flow diagram with Chinese/English toggle (SVG) - Baseline characteristics table (Table 1) - Dual data source: project pipeline API + Excel upload - SVG/PNG export support - Backend: ChartingService with Prisma aggregation - Frontend: PrismaFlowDiagram, BaselineTable, DataSourceSelector Tool 5 - Meta Analysis Engine: - 3 data types: HR (metagen), dichotomous (metabin), continuous (metacont) - Random and fixed effects models - Multiple effect measures: HR / OR / RR - Forest plot + funnel plot (base64 PNG from R) - Heterogeneity statistics: I2, Q, p-value, Tau2 - Data input via Excel upload or project pipeline - R Docker image updated with meta package (13 tools total) - E2E test: 36/36 passed - Key fix: exp() back-transformation for log-scale ratio measures Also includes: - IIT CRA Agent V3.0 routing and AI chat page integration - Updated ASL module status guide (v2.3) - Updated system status guide (v6.3) - Updated R statistics engine guide (v1.4) Tested: Frontend renders correctly, backend APIs functional, E2E tests passed Made-with: Cursor
28 lines
1.0 KiB
TypeScript
28 lines
1.0 KiB
TypeScript
import React from 'react';
|
|
import { Routes, Route, Navigate } from 'react-router-dom';
|
|
import IitLayout from './IitLayout';
|
|
|
|
const DashboardPage = React.lazy(() => import('./pages/DashboardPage'));
|
|
const AiStreamPage = React.lazy(() => import('./pages/AiStreamPage'));
|
|
const EQueryPage = React.lazy(() => import('./pages/EQueryPage'));
|
|
const ReportsPage = React.lazy(() => import('./pages/ReportsPage'));
|
|
const AiChatPage = React.lazy(() => import('./pages/AiChatPage'));
|
|
|
|
const IitModule: React.FC = () => {
|
|
return (
|
|
<Routes>
|
|
{/* CRA 质控平台 — 终端用户日常使用界面 */}
|
|
<Route element={<IitLayout />}>
|
|
<Route index element={<Navigate to="dashboard" replace />} />
|
|
<Route path="dashboard" element={<DashboardPage />} />
|
|
<Route path="stream" element={<AiStreamPage />} />
|
|
<Route path="equery" element={<EQueryPage />} />
|
|
<Route path="reports" element={<ReportsPage />} />
|
|
<Route path="chat" element={<AiChatPage />} />
|
|
</Route>
|
|
</Routes>
|
|
);
|
|
};
|
|
|
|
export default IitModule;
|