diff --git a/crop-x/src/app/(app)/agricultural-asset/basic-information/asset-labeling/layout.tsx b/crop-x/src/app/(app)/agricultural-asset/basic-information/asset-labeling/layout.tsx
deleted file mode 100644
index 88f7ff4..0000000
--- a/crop-x/src/app/(app)/agricultural-asset/basic-information/asset-labeling/layout.tsx
+++ /dev/null
@@ -1,7 +0,0 @@
-export default function AssetLabelingLayout({
- children,
-}: {
- children: React.ReactNode
-}) {
- return <>{children}>
-}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/basic-information/asset-labeling/page.tsx b/crop-x/src/app/(app)/agricultural-asset/basic-information/asset-labeling/page.tsx
deleted file mode 100644
index 7e1e389..0000000
--- a/crop-x/src/app/(app)/agricultural-asset/basic-information/asset-labeling/page.tsx
+++ /dev/null
@@ -1,8 +0,0 @@
-
-export default function HomePage() {
- return (
-
-
-
- 农业资产管理系统
-
-
- 管理农业资产信息、采购库存、物资领用和可视化报表
-
-
-
-
-
- 📋 基础信息管理
-
-
- 资产信息录入和分类管理
-
-
-
-
-
- 🛒 采购管理
-
-
- 采购计划和供应商管理
-
-
-
-
-
- 📦 库存管理
-
-
- 库存监控和调整管理
-
-
-
-
-
- 📤 物资领用管理
-
-
- 领用申请和审批流程
-
-
-
-
-
- 📥 物资归还管理
-
-
- 归还申请和跟踪管理
-
-
-
-
-
- 🚜 农资农具管理
-
-
- 农具农资和维护管理
-
-
-
-
-
- 📊 可视化报表
-
-
- 资产库存成本分析报表
-
-
+
+ 农业资产管理
+
+
+ 页面路径: /agricultural-asset
+
-
-
-
-
-
- 📊 资产概览
-
-
-
- 总资产数
- 1,245 项
-
-
- 库存预警
- 12 项
-
-
- 待审批申请
- 8 项
-
-
-
-
-
-
- 🔧 快速操作
-
-
-
-
-
-
-
-
+
- )
+ );
}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/purchase/order/page.tsx b/crop-x/src/app/(app)/agricultural-asset/purchase/order/page.tsx
new file mode 100644
index 0000000..c647cdc
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/purchase/order/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function OrderPage() {
+ return (
+
+
+ 采购订单
+
+
+ 页面路径: /agricultural-asset/purchase/order
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/purchase/page.tsx b/crop-x/src/app/(app)/agricultural-asset/purchase/page.tsx
new file mode 100644
index 0000000..32ad4e0
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/purchase/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function PurchasePage() {
+ return (
+
+
+ 采购管理
+
+
+ 页面路径: /agricultural-asset/purchase
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/purchase/plan/page.tsx b/crop-x/src/app/(app)/agricultural-asset/purchase/plan/page.tsx
new file mode 100644
index 0000000..7cec763
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/purchase/plan/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function PlanPage() {
+ return (
+
+
+ 采购计划
+
+
+ 页面路径: /agricultural-asset/purchase/plan
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/report/consumption/page.tsx b/crop-x/src/app/(app)/agricultural-asset/report/consumption/page.tsx
new file mode 100644
index 0000000..6db97d6
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/report/consumption/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function ConsumptionPage() {
+ return (
+
+
+ 消耗报表
+
+
+ 页面路径: /agricultural-asset/report/consumption
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/report/inventory/page.tsx b/crop-x/src/app/(app)/agricultural-asset/report/inventory/page.tsx
new file mode 100644
index 0000000..2152844
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/report/inventory/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function InventoryReportPage() {
+ return (
+
+
+ 库存报表
+
+
+ 页面路径: /agricultural-asset/report/inventory
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/report/overview/page.tsx b/crop-x/src/app/(app)/agricultural-asset/report/overview/page.tsx
new file mode 100644
index 0000000..3751e22
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/report/overview/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function OverviewPage() {
+ return (
+
+
+ 总览报表
+
+
+ 页面路径: /agricultural-asset/report/overview
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/report/page.tsx b/crop-x/src/app/(app)/agricultural-asset/report/page.tsx
new file mode 100644
index 0000000..416df08
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/report/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function ReportPage() {
+ return (
+
+
+ 可视化报表
+
+
+ 页面路径: /agricultural-asset/report
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/requisition/apply/page.tsx b/crop-x/src/app/(app)/agricultural-asset/requisition/apply/page.tsx
new file mode 100644
index 0000000..213f299
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/requisition/apply/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function ApplyPage() {
+ return (
+
+
+ 领用申请
+
+
+ 页面路径: /agricultural-asset/requisition/apply
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/requisition/approval/page.tsx b/crop-x/src/app/(app)/agricultural-asset/requisition/approval/page.tsx
new file mode 100644
index 0000000..55902b9
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/requisition/approval/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function ApprovalPage() {
+ return (
+
+
+ 领用审批
+
+
+ 页面路径: /agricultural-asset/requisition/approval
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/requisition/checkout/page.tsx b/crop-x/src/app/(app)/agricultural-asset/requisition/checkout/page.tsx
new file mode 100644
index 0000000..eefc8c5
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/requisition/checkout/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function CheckoutPage() {
+ return (
+
+
+ 领用发放
+
+
+ 页面路径: /agricultural-asset/requisition/checkout
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/requisition/page.tsx b/crop-x/src/app/(app)/agricultural-asset/requisition/page.tsx
new file mode 100644
index 0000000..1617fe5
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/requisition/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function RequisitionPage() {
+ return (
+
+
+ 物资领用
+
+
+ 页面路径: /agricultural-asset/requisition
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/requisition/record/page.tsx b/crop-x/src/app/(app)/agricultural-asset/requisition/record/page.tsx
new file mode 100644
index 0000000..5f3eeb3
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/requisition/record/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function RecordPage() {
+ return (
+
+
+ 领用记录
+
+
+ 页面路径: /agricultural-asset/requisition/record
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/return/history/page.tsx b/crop-x/src/app/(app)/agricultural-asset/return/history/page.tsx
new file mode 100644
index 0000000..305c257
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/return/history/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function HistoryPage() {
+ return (
+
+
+ 归还历史
+
+
+ 页面路径: /agricultural-asset/return/history
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/return/page.tsx b/crop-x/src/app/(app)/agricultural-asset/return/page.tsx
new file mode 100644
index 0000000..7834257
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/return/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function ReturnPage() {
+ return (
+
+
+ 物资归还
+
+
+ 页面路径: /agricultural-asset/return
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/return/process/page.tsx b/crop-x/src/app/(app)/agricultural-asset/return/process/page.tsx
new file mode 100644
index 0000000..6527f03
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/return/process/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function ProcessPage() {
+ return (
+
+
+ 归还处理
+
+
+ 页面路径: /agricultural-asset/return/process
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/return/register/page.tsx b/crop-x/src/app/(app)/agricultural-asset/return/register/page.tsx
new file mode 100644
index 0000000..67323bd
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/return/register/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function RegisterPage() {
+ return (
+
+
+ 归还登记
+
+
+ 页面路径: /agricultural-asset/return/register
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/(app)/agricultural-asset/return/settlement/page.tsx b/crop-x/src/app/(app)/agricultural-asset/return/settlement/page.tsx
new file mode 100644
index 0000000..b62dff8
--- /dev/null
+++ b/crop-x/src/app/(app)/agricultural-asset/return/settlement/page.tsx
@@ -0,0 +1,18 @@
+'use client';
+
+import { Card } from '@/components/ui/card';
+
+export default function SettlementPage() {
+ return (
+
+
+ 归还结算
+
+
+ 页面路径: /agricultural-asset/return/settlement
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/crop-x/src/app/layout.tsx b/crop-x/src/app/layout.tsx
index dc57c74..18725ce 100644
--- a/crop-x/src/app/layout.tsx
+++ b/crop-x/src/app/layout.tsx
@@ -5,7 +5,7 @@ import {SideBarOld} from '@/components/layouts/SideBar/SideBarOld'
import '@/styles/globals.css'
import { ThemeProvider } from 'next-themes'
import { usePathname } from 'next/navigation'
-import { Building2, Users, Cog, Activity, Mail, UserCircle, Database, Map, BarChart3, Cloud, TrendingUp, GitCompare, AlertTriangle, FileText, MapPin, Settings, User, Package, Navigation, Zap, Target, PieChart, Calendar, Shield, Tractor, Clipboard, Brain, Droplets, Book } from 'lucide-react'
+import { Building2, Users, Cog, Activity, Mail, UserCircle, Database, Map, BarChart3, Cloud, TrendingUp, GitCompare, AlertTriangle, FileText, MapPin, Settings, User, Package, Navigation, Zap, Target, PieChart, Calendar, Shield, Tractor, Clipboard, Brain, Droplets, Book, ShoppingCart } from 'lucide-react'
const navbarData = {
logo: {
@@ -776,6 +776,206 @@ const farmingOperation = {
]
}
+// 农业资产管理系统
+const agricultureAsset = {
+ navMain: [
+ {
+ title: "基础信息管理",
+ url: "/agricultural-asset/basic",
+ icon:
,
+ items: [
+ {
+ title: "物料信息",
+ url: "/agricultural-asset/basic/materials",
+ isActive: false
+ },
+ {
+ title: "农具信息",
+ url: "/agricultural-asset/basic/tools",
+ isActive: false
+ },
+ {
+ title: "供应商信息",
+ url: "/agricultural-asset/basic/suppliers",
+ isActive: false
+ },
+ {
+ title: "客户信息",
+ url: "/agricultural-asset/basic/customers",
+ isActive: false
+ }
+ ]
+ },
+ {
+ title: "采购管理",
+ url: "/agricultural-asset/purchase",
+ icon:
,
+ items: [
+ {
+ title: "采购计划",
+ url: "/agricultural-asset/purchase/plan",
+ isActive: false
+ },
+ {
+ title: "采购订单",
+ url: "/agricultural-asset/purchase/order",
+ isActive: false
+ }
+ ]
+ },
+ {
+ title: "库存管理",
+ url: "/agricultural-asset/inventory",
+ icon:
,
+ items: [
+ {
+ title: "入库管理",
+ url: "/agricultural-asset/inventory/in",
+ isActive: false
+ },
+ {
+ title: "出库管理",
+ url: "/agricultural-asset/inventory/out",
+ isActive: false
+ },
+ {
+ title: "库存盘点",
+ url: "/agricultural-asset/inventory/check",
+ isActive: false
+ },
+ {
+ title: "库存预警",
+ url: "/agricultural-asset/inventory/warning",
+ isActive: false
+ },
+ {
+ title: "库存明细",
+ url: "/agricultural-asset/inventory/detail",
+ isActive: false
+ },
+ {
+ title: "库位管理",
+ url: "/agricultural-asset/inventory/location",
+ isActive: false
+ },
+ {
+ title: "补货建议",
+ url: "/agricultural-asset/inventory/suggest",
+ isActive: false
+ }
+ ]
+ },
+ {
+ title: "物资领用",
+ url: "/agricultural-asset/requisition",
+ icon:
,
+ items: [
+ {
+ title: "领用申请",
+ url: "/agricultural-asset/requisition/apply",
+ isActive: false
+ },
+ {
+ title: "领用审批",
+ url: "/agricultural-asset/requisition/approval",
+ isActive: false
+ },
+ {
+ title: "领用发放",
+ url: "/agricultural-asset/requisition/checkout",
+ isActive: false
+ },
+ {
+ title: "领用记录",
+ url: "/agricultural-asset/requisition/record",
+ isActive: false
+ }
+ ]
+ },
+ {
+ title: "物资归还",
+ url: "/agricultural-asset/return",
+ icon:
,
+ items: [
+ {
+ title: "归还登记",
+ url: "/agricultural-asset/return/register",
+ isActive: false
+ },
+ {
+ title: "归还处理",
+ url: "/agricultural-asset/return/process",
+ isActive: false
+ },
+ {
+ title: "归还结算",
+ url: "/agricultural-asset/return/settlement",
+ isActive: false
+ },
+ {
+ title: "归还历史",
+ url: "/agricultural-asset/return/history",
+ isActive: false
+ }
+ ]
+ },
+ {
+ title: "农资农具管理",
+ url: "/agricultural-asset/equipment",
+ icon:
,
+ items: [
+ {
+ title: "设备档案",
+ url: "/agricultural-asset/equipment/archive",
+ isActive: false
+ },
+ {
+ title: "设备调度",
+ url: "/agricultural-asset/equipment/dispatch",
+ isActive: false
+ },
+ {
+ title: "设备维护",
+ url: "/agricultural-asset/equipment/maintenance",
+ isActive: false
+ },
+ {
+ title: "设备折旧",
+ url: "/agricultural-asset/equipment/depreciation",
+ isActive: false
+ },
+ {
+ title: "设备处置",
+ url: "/agricultural-asset/equipment/disposal",
+ isActive: false
+ }
+ ]
+ },
+ {
+ title: "可视化报表",
+ url: "/agricultural-asset/report",
+ icon:
,
+ items: [
+ {
+ title: "总览报表",
+ url: "/agricultural-asset/report/overview",
+ isActive: false
+ },
+ {
+ title: "库存报表",
+ url: "/agricultural-asset/report/inventory",
+ isActive: false
+ },
+ {
+ title: "消耗报表",
+ url: "/agricultural-asset/report/consumption",
+ isActive: false
+ }
+ ]
+ }
+ ]
+}
+
function RootLayoutContent({
children,
}: {
@@ -795,6 +995,8 @@ function RootLayoutContent({
return fieldMessageManagement;
case '/farming-operation':
return farmingOperation;
+ case '/agricultural-asset':
+ return agricultureAsset;
case '/central-config':
return centralConfigData;
default: