提交1 bmad搭建与项目启动 - ok
This commit is contained in:
28
crop-x/src/router/modules/ai-model.tsx
Normal file
28
crop-x/src/router/modules/ai-model.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import { AIModelEntry } from '@/pages/ai-model/AIModelEntry'
|
||||
import { ModelTraining } from '@/pages/ai-model/ModelTraining'
|
||||
import { PredictionAnalysis } from '@/pages/ai-model/PredictionAnalysis'
|
||||
import { RecommendationSystem } from '@/pages/ai-model/RecommendationSystem'
|
||||
|
||||
export const aiModelRoutes = [
|
||||
{
|
||||
path: 'ai-model',
|
||||
children: [
|
||||
{
|
||||
index: true,
|
||||
element: <AIModelEntry />
|
||||
},
|
||||
{
|
||||
path: 'model-training',
|
||||
element: <ModelTraining />
|
||||
},
|
||||
{
|
||||
path: 'prediction-analysis',
|
||||
element: <PredictionAnalysis />
|
||||
},
|
||||
{
|
||||
path: 'recommendation-system',
|
||||
element: <RecommendationSystem />
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
28
crop-x/src/router/modules/asset.tsx
Normal file
28
crop-x/src/router/modules/asset.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import { AssetEntry } from '@/pages/asset/AssetEntry'
|
||||
import { InventoryManagement } from '@/pages/asset/InventoryManagement'
|
||||
import { AssetDepreciation } from '@/pages/asset/AssetDepreciation'
|
||||
import { MaintenanceRecords } from '@/pages/asset/MaintenanceRecords'
|
||||
|
||||
export const assetRoutes = [
|
||||
{
|
||||
path: 'asset',
|
||||
children: [
|
||||
{
|
||||
index: true,
|
||||
element: <AssetEntry />
|
||||
},
|
||||
{
|
||||
path: 'inventory-management',
|
||||
element: <InventoryManagement />
|
||||
},
|
||||
{
|
||||
path: 'asset-depreciation',
|
||||
element: <AssetDepreciation />
|
||||
},
|
||||
{
|
||||
path: 'maintenance-records',
|
||||
element: <MaintenanceRecords />
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
38
crop-x/src/router/modules/config.tsx
Normal file
38
crop-x/src/router/modules/config.tsx
Normal file
@@ -0,0 +1,38 @@
|
||||
import { CentralConfigEntry } from '@/pages/config/CentralConfigEntry'
|
||||
import { TenantManagement } from '@/pages/config/TenantManagement'
|
||||
import { UserManagement } from '@/pages/config/UserManagement'
|
||||
import { SystemParameters } from '@/pages/config/SystemParameters'
|
||||
import { SystemMonitoring } from '@/pages/config/SystemMonitoring'
|
||||
import { MessageCenter } from '@/pages/config/MessageCenter'
|
||||
|
||||
export const configRoutes = [
|
||||
{
|
||||
path: 'config',
|
||||
children: [
|
||||
{
|
||||
index: true,
|
||||
element: <CentralConfigEntry />
|
||||
},
|
||||
{
|
||||
path: 'tenant-management',
|
||||
element: <TenantManagement />
|
||||
},
|
||||
{
|
||||
path: 'user-management',
|
||||
element: <UserManagement />
|
||||
},
|
||||
{
|
||||
path: 'system-parameters',
|
||||
element: <SystemParameters />
|
||||
},
|
||||
{
|
||||
path: 'system-monitoring',
|
||||
element: <SystemMonitoring />
|
||||
},
|
||||
{
|
||||
path: 'message-center',
|
||||
element: <MessageCenter />
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
28
crop-x/src/router/modules/irrigation.tsx
Normal file
28
crop-x/src/router/modules/irrigation.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import { IrrigationEntry } from '@/pages/irrigation/IrrigationEntry'
|
||||
import { SystemControl } from '@/pages/irrigation/SystemControl'
|
||||
import { MonitoringSystem } from '@/pages/irrigation/MonitoringSystem'
|
||||
import { SchedulingSystem } from '@/pages/irrigation/SchedulingSystem'
|
||||
|
||||
export const irrigationRoutes = [
|
||||
{
|
||||
path: 'irrigation',
|
||||
children: [
|
||||
{
|
||||
index: true,
|
||||
element: <IrrigationEntry />
|
||||
},
|
||||
{
|
||||
path: 'system-control',
|
||||
element: <SystemControl />
|
||||
},
|
||||
{
|
||||
path: 'monitoring-system',
|
||||
element: <MonitoringSystem />
|
||||
},
|
||||
{
|
||||
path: 'scheduling-system',
|
||||
element: <SchedulingSystem />
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
48
crop-x/src/router/modules/land.tsx
Normal file
48
crop-x/src/router/modules/land.tsx
Normal file
@@ -0,0 +1,48 @@
|
||||
import { LandEntry } from '@/pages/land/LandEntry'
|
||||
import { LandArchiveManagement } from '@/pages/land/LandArchiveManagement'
|
||||
import { LandClassification } from '@/pages/land/LandClassification'
|
||||
import { MapManagement } from '@/pages/land/MapManagement'
|
||||
import { SpatialAnalysis } from '@/pages/land/SpatialAnalysis'
|
||||
import { SuitabilityEvaluation } from '@/pages/land/SuitabilityEvaluation'
|
||||
import { ComparativeAnalysis } from '@/pages/land/ComparativeAnalysis'
|
||||
import { RiskWarning } from '@/pages/land/RiskWarning'
|
||||
|
||||
export const landRoutes = [
|
||||
{
|
||||
path: 'land',
|
||||
children: [
|
||||
{
|
||||
index: true,
|
||||
element: <LandEntry />
|
||||
},
|
||||
{
|
||||
path: 'archive-management',
|
||||
element: <LandArchiveManagement />
|
||||
},
|
||||
{
|
||||
path: 'classification',
|
||||
element: <LandClassification />
|
||||
},
|
||||
{
|
||||
path: 'map-management',
|
||||
element: <MapManagement />
|
||||
},
|
||||
{
|
||||
path: 'spatial-analysis',
|
||||
element: <SpatialAnalysis />
|
||||
},
|
||||
{
|
||||
path: 'suitability-evaluation',
|
||||
element: <SuitabilityEvaluation />
|
||||
},
|
||||
{
|
||||
path: 'comparative-analysis',
|
||||
element: <ComparativeAnalysis />
|
||||
},
|
||||
{
|
||||
path: 'risk-warning',
|
||||
element: <RiskWarning />
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
43
crop-x/src/router/modules/machinery.tsx
Normal file
43
crop-x/src/router/modules/machinery.tsx
Normal file
@@ -0,0 +1,43 @@
|
||||
import { MachineryEntry } from '@/pages/machinery/MachineryEntry'
|
||||
import { MachineryArchive } from '@/pages/machinery/MachineryArchive'
|
||||
import { DriverArchive } from '@/pages/machinery/DriverArchive'
|
||||
import { RealTimeMonitoring } from '@/pages/machinery/RealTimeMonitoring'
|
||||
import { FaultDiagnosis } from '@/pages/machinery/FaultDiagnosis'
|
||||
import { PrecisionFarming } from '@/pages/machinery/PrecisionFarming'
|
||||
import { SchedulingManagement } from '@/pages/machinery/SchedulingManagement'
|
||||
|
||||
export const machineryRoutes = [
|
||||
{
|
||||
path: 'machinery',
|
||||
children: [
|
||||
{
|
||||
index: true,
|
||||
element: <MachineryEntry />
|
||||
},
|
||||
{
|
||||
path: 'archive',
|
||||
element: <MachineryArchive />
|
||||
},
|
||||
{
|
||||
path: 'driver-archive',
|
||||
element: <DriverArchive />
|
||||
},
|
||||
{
|
||||
path: 'real-time-monitoring',
|
||||
element: <RealTimeMonitoring />
|
||||
},
|
||||
{
|
||||
path: 'fault-diagnosis',
|
||||
element: <FaultDiagnosis />
|
||||
},
|
||||
{
|
||||
path: 'precision-farming',
|
||||
element: <PrecisionFarming />
|
||||
},
|
||||
{
|
||||
path: 'scheduling-management',
|
||||
element: <SchedulingManagement />
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
38
crop-x/src/router/modules/operation.tsx
Normal file
38
crop-x/src/router/modules/operation.tsx
Normal file
@@ -0,0 +1,38 @@
|
||||
import { FarmingEntry } from '@/pages/operation/FarmingEntry'
|
||||
import { TaskPlanning } from '@/pages/operation/TaskPlanning'
|
||||
import { TaskTracking } from '@/pages/operation/TaskTracking'
|
||||
import { TaskAnalysis } from '@/pages/operation/TaskAnalysis'
|
||||
import { ResourceManagement } from '@/pages/operation/ResourceManagement'
|
||||
import { WorkflowManagement } from '@/pages/operation/WorkflowManagement'
|
||||
|
||||
export const operationRoutes = [
|
||||
{
|
||||
path: 'operation',
|
||||
children: [
|
||||
{
|
||||
index: true,
|
||||
element: <FarmingEntry />
|
||||
},
|
||||
{
|
||||
path: 'task-planning',
|
||||
element: <TaskPlanning />
|
||||
},
|
||||
{
|
||||
path: 'task-tracking',
|
||||
element: <TaskTracking />
|
||||
},
|
||||
{
|
||||
path: 'task-analysis',
|
||||
element: <TaskAnalysis />
|
||||
},
|
||||
{
|
||||
path: 'resource-management',
|
||||
element: <ResourceManagement />
|
||||
},
|
||||
{
|
||||
path: 'workflow-management',
|
||||
element: <WorkflowManagement />
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user