监控、工单报表清洗在线用户页面
This commit is contained in:
@@ -4,6 +4,9 @@ import type { RouteObject } from 'react-router-dom';
|
||||
import VideoMonitorPage from '../pages/VideoMonitorPage';
|
||||
import AIDiagnosisPage from '../pages/AIAnalysis';
|
||||
import CleanOptimizationPage from '../pages/CleanOptimization';
|
||||
import WorkOrderPage from '../pages/WorkOrder';
|
||||
import ReportCenterPage from '../pages/ReportCenter';
|
||||
import RealTimeMonitorPage from '../pages/RealTimeMonitor';
|
||||
|
||||
const Layout = lazy(() => import('../components/Layout'));
|
||||
const ProtectedRoute = lazy(() => import('../components/ProtectedRoute'));
|
||||
@@ -53,6 +56,7 @@ export const routeMeta: Record<string, {
|
||||
'/manage/menuList': { title: '菜单管理', roles: ['admin'], requiresAuth: true },
|
||||
'/organization': { title: '组织管理', roles: ['admin'], requiresAuth: true },
|
||||
'/station': { title: '场站管理', roles: ['admin'], requiresAuth: true },
|
||||
'/RealtimeMonitor': { title: '实时监控', roles: ['admin', 'operator', 'viewer'], requiresAuth: true },
|
||||
};
|
||||
|
||||
const routes: RouteObject[] = [
|
||||
@@ -82,12 +86,13 @@ const routes: RouteObject[] = [
|
||||
{ path: 'overview', element: <Home /> },
|
||||
{ path: 'devices', element: <Devices /> },
|
||||
{ path: 'video', element: <Video /> },
|
||||
{ path: 'RealtimeMonitor', element: <RealTimeMonitorPage /> },
|
||||
{ path: 'monitor', element: <VideoMonitorPage /> },
|
||||
{ path: 'alerts', element: <Alerts /> },
|
||||
{ path: 'AIanalysis', element: <AIDiagnosisPage /> },
|
||||
{ path: 'clean', element: <CleanOptimizationPage /> },
|
||||
{ path: 'task', element: <div>工单任务</div> },
|
||||
{ path: 'table', element: <div>报表中心</div> },
|
||||
{ path: 'task', element: <WorkOrderPage /> },
|
||||
{ path: 'table', element: <ReportCenterPage /> },
|
||||
{ path: 'systemSetting', element: <SystemSetting /> },
|
||||
{ path: 'downloads', element: <Downloads /> },
|
||||
{ path: 'serialNumGenerate', element: <SerialNumGenerate /> },
|
||||
|
||||
Reference in New Issue
Block a user