子仓库提交
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function ClassificationPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">农机分类管理</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/archive/classification
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { FileText } from 'lucide-react';
|
||||
|
||||
export default function AgriculturalMachineryEntryPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<FileText className="w-6 h-6 text-blue-600" />
|
||||
<h2 className="text-xl font-semibold">农机录入维护</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机设备信息录入、编辑和维护管理界面。支持农机基本信息、技术参数、购置信息等全面管理。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/archive/entry
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong> 农机设备信息录入、档案编辑、状态更新、设备台账管理
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Package } from 'lucide-react';
|
||||
|
||||
export default function ArchivePage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Package className="w-6 h-6 text-blue-600" />
|
||||
<h2 className="text-xl font-semibold">农机档案</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机档案管理模块用于管理农业机械的基础信息和档案资料。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/archive
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong>农机信息录入、分类管理、二维码生成等
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { QrCode } from 'lucide-react';
|
||||
|
||||
export default function AgriculturalMachineryQrCodePage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<QrCode className="w-6 h-6 text-purple-600" />
|
||||
<h2 className="text-xl font-semibold">农机二维码管理</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机设备二维码生成和管理平台。支持设备身份识别、信息追溯、移动端扫描查询等功能。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/archive/qrcode
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong> 二维码生成、批量打印、扫描验证、设备信息追溯
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function AnalysisPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">作业数据分析</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/data-analysis/analysis
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function ComparisonPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">历史数据对比</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/data-analysis/comparison
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { PieChart } from 'lucide-react';
|
||||
|
||||
export default function DataAnalysisPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<PieChart className="w-6 h-6 text-cyan-600" />
|
||||
<h2 className="text-xl font-semibold">数据管理与分析报告</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
数据管理与分析报告模块用于农机作业数据的分析、统计和报告生成。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/data-analysis
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong>作业数据分析、历史数据对比、报告生成等
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { User } from 'lucide-react';
|
||||
|
||||
export default function DriverInfoManagementPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<User className="w-6 h-6 text-orange-600" />
|
||||
<h2 className="text-xl font-semibold">驾驶员信息管理</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机驾驶员档案信息管理系统。包括驾驶员基本信息、资质证书、培训记录、考核情况等。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/driver-archive/info
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong> 驾驶员档案管理、资质认证、培训记录、证书到期提醒
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { User } from 'lucide-react';
|
||||
|
||||
export default function DriverArchivePage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<User className="w-6 h-6 text-green-600" />
|
||||
<h2 className="text-xl font-semibold">驾驶员档案</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
驾驶员档案管理模块用于管理农机驾驶员的基本信息、资质认证和工作记录。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/driver-archive
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong>驾驶员信息管理、资质审核、任务分配等
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Calendar } from 'lucide-react';
|
||||
|
||||
export default function DriverTaskManagementPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Calendar className="w-6 h-6 text-indigo-600" />
|
||||
<h2 className="text-xl font-semibold">驾驶员任务管理</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
驾驶员作业任务分配和执行管理系统。支持任务派发、进度跟踪、绩效评估等功能。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/driver-archive/task
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong> 任务分配、作业安排、进度监控、绩效考核、工时统计
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
35
crop-x-new/src/app/(app)/agricultural-machinery/error.tsx
Normal file
35
crop-x-new/src/app/(app)/agricultural-machinery/error.tsx
Normal file
@@ -0,0 +1,35 @@
|
||||
'use client'
|
||||
|
||||
import { useEffect } from 'react'
|
||||
|
||||
export default function AgriculturalMachineryError({
|
||||
error,
|
||||
reset,
|
||||
}: {
|
||||
error: Error & { digest?: string }
|
||||
reset: () => void
|
||||
}) {
|
||||
useEffect(() => {
|
||||
console.error('农机管理系统错误:', error)
|
||||
}, [error])
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-gray-50 flex items-center justify-center">
|
||||
<div className="text-center">
|
||||
<div className="text-6xl mb-4">🚙</div>
|
||||
<h2 className="text-2xl font-bold text-red-800 mb-4">
|
||||
农机系统出现了错误
|
||||
</h2>
|
||||
<p className="text-red-600 mb-6">
|
||||
{error.message || '未知系统错误'}
|
||||
</p>
|
||||
<button
|
||||
onClick={reset}
|
||||
className="px-6 py-3 bg-red-600 text-white rounded-md hover:bg-red-700 transition-colors"
|
||||
>
|
||||
重新加载
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function AlertRulesPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">故障预警规则</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/fault-diagnosis/alert-rules
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function HealthPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">设备健康管理</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/fault-diagnosis/health
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Zap } from 'lucide-react';
|
||||
|
||||
export default function FaultDiagnosisPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Zap className="w-6 h-6 text-red-600" />
|
||||
<h2 className="text-xl font-semibold">远程诊断与故障预警</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
远程诊断与故障预警模块用于农机设备的健康监测、故障预警和远程诊断。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/fault-diagnosis
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong>故障预警规则、预警管理、设备健康监控等
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function ParameterPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">设备参数监控</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/fault-diagnosis/parameter
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function WarningPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">故障预警管理</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/fault-diagnosis/warning
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
export default function AgriculturalMachineryLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return <>{children}</>
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Cog } from 'lucide-react';
|
||||
|
||||
export default function LoadDeviceManagementPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Cog className="w-6 h-6 text-red-600" />
|
||||
<h2 className="text-xl font-semibold">负载设备管理</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机负载设备的日常管理和维护系统。支持设备状态监控、维护计划、备件管理等。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/load-management/device
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong> 设备台账、维护管理、故障记录、备件库存、状态监控
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Database } from 'lucide-react';
|
||||
|
||||
export default function LoadDeviceLibraryPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Database className="w-6 h-6 text-emerald-600" />
|
||||
<h2 className="text-xl font-semibold">负载设备库</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机负载设备信息库管理系统。建立完整的负载设备档案,支持设备查询和对比分析。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/load-management/library
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong> 设备信息库、技术规格、性能参数、设备选型推荐
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Settings } from 'lucide-react';
|
||||
|
||||
export default function LoadManagementPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Settings className="w-6 h-6 text-orange-600" />
|
||||
<h2 className="text-xl font-semibold">农机负载管理</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机负载管理模块用于管理农机设备的负载配置、参数设置和设备库管理。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/load-management
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong>负载类型管理、参数配置、设备库管理等
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Settings } from 'lucide-react';
|
||||
|
||||
export default function LoadParameterManagementPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Settings className="w-6 h-6 text-amber-600" />
|
||||
<h2 className="text-xl font-semibold">负载参数管理</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机负载设备参数配置和优化管理。支持作业参数调整、性能优化、标准配置等。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/load-management/parameter
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong> 参数配置、性能调优、作业标准设置、参数模板管理
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Package } from 'lucide-react';
|
||||
|
||||
export default function LoadTypeManagementPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Package className="w-6 h-6 text-cyan-600" />
|
||||
<h2 className="text-xl font-semibold">负载类型管理</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机负载设备类型分类和管理系统。支持播种、施肥、收割等各类作业负载的类型定义。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/load-management/type
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong> 负载类型定义、作业分类、设备规格配置、类型参数设置
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
10
crop-x-new/src/app/(app)/agricultural-machinery/loading.tsx
Normal file
10
crop-x-new/src/app/(app)/agricultural-machinery/loading.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
export default function AgriculturalMachineryLoading() {
|
||||
return (
|
||||
<div className="min-h-screen bg-gray-50 flex items-center justify-center">
|
||||
<div className="text-center">
|
||||
<div className="animate-spin rounded-full h-12 w-12 border-b-2 border-green-600 mx-auto mb-4"></div>
|
||||
<p className="text-gray-600">正在加载农机管理系统...</p>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { MapPin } from 'lucide-react';
|
||||
|
||||
export default function RealTimeLocationMonitoringPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<MapPin className="w-6 h-6 text-blue-600" />
|
||||
<h2 className="text-xl font-semibold">实时定位监控</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机设备实时GPS定位和轨迹监控系统。提供地图可视化、位置追踪、历史轨迹回放等功能。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/monitoring/location
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong> GPS定位、地图显示、实时轨迹、位置历史、电子围栏
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { BarChart3 } from 'lucide-react';
|
||||
|
||||
export default function OperationDataMonitoringPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<BarChart3 className="w-6 h-6 text-orange-600" />
|
||||
<h2 className="text-xl font-semibold">作业数据监控</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机作业数据采集和分析监控。实时收集作业数据,监控作业质量和效率指标。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/monitoring/operation
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong> 数据采集、作业监控、质量分析、效率统计、报表生成
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Navigation } from 'lucide-react';
|
||||
|
||||
export default function MonitoringPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Navigation className="w-6 h-6 text-purple-600" />
|
||||
<h2 className="text-xl font-semibold">设备实时监控与定位</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
设备实时监控与定位模块用于实时监控农机设备的位置、状态和作业数据。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/monitoring
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong>实时定位监控、作业状态监控、数据监控等
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Activity } from 'lucide-react';
|
||||
|
||||
export default function WorkStatusMonitoringPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Activity className="w-6 h-6 text-green-600" />
|
||||
<h2 className="text-xl font-semibold">作业状态监控</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机设备作业状态实时监控系统。跟踪设备运行状态、作业进度、工作效率等关键指标。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/monitoring/status
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong> 状态监控、作业跟踪、效率分析、异常报警、状态统计
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
93
crop-x-new/src/app/(app)/agricultural-machinery/page.tsx
Normal file
93
crop-x-new/src/app/(app)/agricultural-machinery/page.tsx
Normal file
@@ -0,0 +1,93 @@
|
||||
import Link from 'next/link'
|
||||
|
||||
export default function AgriculturalMachineryPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<div className="bg-white rounded-lg shadow p-6">
|
||||
<h2 className="text-xl font-semibold text-gray-800 mb-4">
|
||||
智能农机管理系统
|
||||
</h2>
|
||||
<p className="text-gray-600 mb-6">
|
||||
管理农机设备档案、监控实时状态、优化调度方案
|
||||
</p>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
||||
<Link
|
||||
href="/agricultural-machinery/archive/machinery-entry"
|
||||
className="block p-4 bg-green-50 rounded-lg hover:bg-green-100 transition-colors"
|
||||
>
|
||||
<h3 className="font-semibold text-green-900 mb-2">
|
||||
📋 农机档案录入与维护
|
||||
</h3>
|
||||
<p className="text-green-700 text-sm">
|
||||
农机设备信息管理
|
||||
</p>
|
||||
</Link>
|
||||
|
||||
<Link
|
||||
href="/agricultural-machinery/monitoring/real-time-location-tracking"
|
||||
className="block p-4 bg-blue-50 rounded-lg hover:bg-blue-100 transition-colors"
|
||||
>
|
||||
<h3 className="font-semibold text-blue-900 mb-2">
|
||||
📍 实时位置追踪
|
||||
</h3>
|
||||
<p className="text-blue-700 text-sm">
|
||||
农机设备定位监控
|
||||
</p>
|
||||
</Link>
|
||||
|
||||
<Link
|
||||
href="/agricultural-machinery/scheduling/task-assignment"
|
||||
className="block p-4 bg-purple-50 rounded-lg hover:bg-purple-100 transition-colors"
|
||||
>
|
||||
<h3 className="font-semibold text-purple-900 mb-2">
|
||||
📅 任务分配
|
||||
</h3>
|
||||
<p className="text-purple-700 text-sm">
|
||||
农机作业任务分配
|
||||
</p>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
||||
<div className="bg-white rounded-lg shadow p-6">
|
||||
<h3 className="text-lg font-semibold text-gray-800 mb-4">
|
||||
📊 农机状态概览
|
||||
</h3>
|
||||
<div className="space-y-2">
|
||||
<div className="flex justify-between items-center">
|
||||
<span className="text-gray-600">运行中</span>
|
||||
<span className="text-green-600 font-semibold">12 台</span>
|
||||
</div>
|
||||
<div className="flex justify-between items-center">
|
||||
<span className="text-gray-600">空闲中</span>
|
||||
<span className="text-gray-600 font-semibold">8 台</span>
|
||||
</div>
|
||||
<div className="flex justify-between items-center">
|
||||
<span className="text-gray-600">维护中</span>
|
||||
<span className="text-yellow-600 font-semibold">3 台</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="bg-white rounded-lg shadow p-6">
|
||||
<h3 className="text-lg font-semibold text-gray-800 mb-4">
|
||||
🔧 快速操作
|
||||
</h3>
|
||||
<div className="space-y-2">
|
||||
<button className="w-full px-4 py-2 bg-green-600 text-white rounded hover:bg-green-700 transition-colors">
|
||||
添加新农机
|
||||
</button>
|
||||
<button className="w-full px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 transition-colors">
|
||||
生成报表
|
||||
</button>
|
||||
<button className="w-full px-4 py-2 bg-purple-600 text-white rounded hover:bg-purple-700 transition-colors">
|
||||
批量操作
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function CockpitPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">作业驾驶舱</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/precision-operation/cockpit
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function DispatchPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">作业计划调度</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/precision-operation/dispatch
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Target } from 'lucide-react';
|
||||
|
||||
export default function PrecisionOperationPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Target className="w-6 h-6 text-indigo-600" />
|
||||
<h2 className="text-xl font-semibold">精准作业管理与支持</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
精准作业管理与支持模块用于管理农机的精准作业、路径规划和作业调度。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/precision-operation
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong>作业记录管理、路径规划、作业调度、作业驾驶舱等
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function RecordPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">作业记录管理</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/precision-operation/record
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function RoutePage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">路径规划管理</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/precision-operation/route
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function AssignmentPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">任务分配管理</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/scheduling/assignment
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function DispatchPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">实时调度管理</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/scheduling/dispatch
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Calendar } from 'lucide-react';
|
||||
|
||||
export default function SchedulingPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Calendar className="w-6 h-6 text-amber-600" />
|
||||
<h2 className="text-xl font-semibold">农机管理与调度</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
农机管理与调度模块用于农机的任务分配、实时调度和轨迹回放管理。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/scheduling
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong>任务分配管理、实时调度管理、轨迹回放等
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function PlaybackPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">轨迹回放管理</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/scheduling/playback
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
export default function FencePage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<h2 className="text-xl font-semibold">地理围栏管理</h2>
|
||||
<div className="p-3 bg-muted rounded-lg mt-3">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/security/fence
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
'use client';
|
||||
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Shield } from 'lucide-react';
|
||||
|
||||
export default function SecurityPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Card className="p-6">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<Shield className="w-6 h-6 text-emerald-600" />
|
||||
<h2 className="text-xl font-semibold">安全与安防</h2>
|
||||
</div>
|
||||
<div className="space-y-3">
|
||||
<p className="text-muted-foreground">
|
||||
安全与安防模块用于农机的安全管理、地理围栏和安全防护。
|
||||
</p>
|
||||
<div className="p-3 bg-muted rounded-lg">
|
||||
<p className="text-sm">
|
||||
<strong>页面路径:</strong> /agricultural-machinery/security
|
||||
</p>
|
||||
<p className="text-sm mt-1">
|
||||
<strong>主要功能:</strong>地理围栏管理、安全监控、防护设置等
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user