AI诊断中心

This commit is contained in:
mmc
2026-05-07 21:17:41 +08:00
parent dea212151a
commit 1554af83d3
7 changed files with 621 additions and 60 deletions

View File

@@ -2,6 +2,7 @@ import React, { lazy, Suspense } from 'react';
import { createBrowserRouter } from 'react-router-dom';
import type { RouteObject } from 'react-router-dom';
import VideoMonitorPage from '../pages/VideoMonitorPage';
import AIDiagnosisPage from '../pages/AIAnalysis';
const Layout = lazy(() => import('../components/Layout'));
const ProtectedRoute = lazy(() => import('../components/ProtectedRoute'));
@@ -82,7 +83,9 @@ const routes: RouteObject[] = [
{ path: 'video', element: <Video /> },
{ path: 'monitor', element: <VideoMonitorPage /> },
{ path: 'alerts', element: <Alerts /> },
{ path: 'AIanalysis', element: <div>AI诊断分析</div> },
{
path: 'AIanalysis', element: <AIDiagnosisPage />
},
{ path: 'clean', element: <div>清洗优化</div> },
{ path: 'task', element: <div>工单任务</div> },
{ path: 'table', element: <div>报表中心</div> },