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 ( -
- 资产标签 -
- ) - } \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/basic/customers/page.tsx b/crop-x/src/app/(app)/agricultural-asset/basic/customers/page.tsx new file mode 100644 index 0000000..2bf9eb4 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/basic/customers/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function CustomersPage() { + return ( +
+ +

客户信息

+
+

+ 页面路径: /agricultural-asset/basic/customers +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/basic/materials/page.tsx b/crop-x/src/app/(app)/agricultural-asset/basic/materials/page.tsx new file mode 100644 index 0000000..8b9a849 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/basic/materials/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function MaterialsPage() { + return ( +
+ +

物料信息

+
+

+ 页面路径: /agricultural-asset/basic/materials +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/basic/page.tsx b/crop-x/src/app/(app)/agricultural-asset/basic/page.tsx new file mode 100644 index 0000000..d4ea61f --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/basic/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function BasicPage() { + return ( +
+ +

基础信息管理

+
+

+ 页面路径: /agricultural-asset/basic +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/basic/suppliers/page.tsx b/crop-x/src/app/(app)/agricultural-asset/basic/suppliers/page.tsx new file mode 100644 index 0000000..9cb8605 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/basic/suppliers/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function SuppliersPage() { + return ( +
+ +

供应商信息

+
+

+ 页面路径: /agricultural-asset/basic/suppliers +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/basic/tools/page.tsx b/crop-x/src/app/(app)/agricultural-asset/basic/tools/page.tsx new file mode 100644 index 0000000..127081a --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/basic/tools/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function ToolsPage() { + return ( +
+ +

农具信息

+
+

+ 页面路径: /agricultural-asset/basic/tools +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/equipment/archive/page.tsx b/crop-x/src/app/(app)/agricultural-asset/equipment/archive/page.tsx new file mode 100644 index 0000000..c105885 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/equipment/archive/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function ArchivePage() { + return ( +
+ +

设备档案

+
+

+ 页面路径: /agricultural-asset/equipment/archive +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/equipment/depreciation/page.tsx b/crop-x/src/app/(app)/agricultural-asset/equipment/depreciation/page.tsx new file mode 100644 index 0000000..2f275a6 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/equipment/depreciation/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function DepreciationPage() { + return ( +
+ +

设备折旧

+
+

+ 页面路径: /agricultural-asset/equipment/depreciation +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/equipment/dispatch/page.tsx b/crop-x/src/app/(app)/agricultural-asset/equipment/dispatch/page.tsx new file mode 100644 index 0000000..aae24a8 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/equipment/dispatch/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function DispatchPage() { + return ( +
+ +

设备调度

+
+

+ 页面路径: /agricultural-asset/equipment/dispatch +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/equipment/disposal/page.tsx b/crop-x/src/app/(app)/agricultural-asset/equipment/disposal/page.tsx new file mode 100644 index 0000000..482166c --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/equipment/disposal/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function DisposalPage() { + return ( +
+ +

设备处置

+
+

+ 页面路径: /agricultural-asset/equipment/disposal +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/equipment/maintenance/page.tsx b/crop-x/src/app/(app)/agricultural-asset/equipment/maintenance/page.tsx new file mode 100644 index 0000000..09a5bd3 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/equipment/maintenance/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function MaintenancePage() { + return ( +
+ +

设备维护

+
+

+ 页面路径: /agricultural-asset/equipment/maintenance +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/equipment/page.tsx b/crop-x/src/app/(app)/agricultural-asset/equipment/page.tsx new file mode 100644 index 0000000..3dc8d93 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/equipment/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function EquipmentPage() { + return ( +
+ +

农资农具管理

+
+

+ 页面路径: /agricultural-asset/equipment +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/inventory/check/page.tsx b/crop-x/src/app/(app)/agricultural-asset/inventory/check/page.tsx new file mode 100644 index 0000000..ea3ac3e --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/inventory/check/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function CheckPage() { + return ( +
+ +

库存盘点

+
+

+ 页面路径: /agricultural-asset/inventory/check +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/inventory/detail/page.tsx b/crop-x/src/app/(app)/agricultural-asset/inventory/detail/page.tsx new file mode 100644 index 0000000..02b77a2 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/inventory/detail/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function DetailPage() { + return ( +
+ +

库存明细

+
+

+ 页面路径: /agricultural-asset/inventory/detail +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/inventory/in/page.tsx b/crop-x/src/app/(app)/agricultural-asset/inventory/in/page.tsx new file mode 100644 index 0000000..d732853 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/inventory/in/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function InPage() { + return ( +
+ +

入库管理

+
+

+ 页面路径: /agricultural-asset/inventory/in +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/inventory/location/page.tsx b/crop-x/src/app/(app)/agricultural-asset/inventory/location/page.tsx new file mode 100644 index 0000000..e195263 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/inventory/location/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function LocationPage() { + return ( +
+ +

库位管理

+
+

+ 页面路径: /agricultural-asset/inventory/location +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/inventory/page.tsx b/crop-x/src/app/(app)/agricultural-asset/inventory/page.tsx new file mode 100644 index 0000000..ff069f0 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/inventory/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function InventoryPage() { + return ( +
+ +

库存管理

+
+

+ 页面路径: /agricultural-asset/inventory +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/inventory/suggest/page.tsx b/crop-x/src/app/(app)/agricultural-asset/inventory/suggest/page.tsx new file mode 100644 index 0000000..9331eb2 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/inventory/suggest/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function SuggestPage() { + return ( +
+ +

补货建议

+
+

+ 页面路径: /agricultural-asset/inventory/suggest +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/inventory/warning/page.tsx b/crop-x/src/app/(app)/agricultural-asset/inventory/warning/page.tsx new file mode 100644 index 0000000..61a9392 --- /dev/null +++ b/crop-x/src/app/(app)/agricultural-asset/inventory/warning/page.tsx @@ -0,0 +1,18 @@ +'use client'; + +import { Card } from '@/components/ui/card'; + +export default function WarningPage() { + return ( +
+ +

库存预警

+
+

+ 页面路径: /agricultural-asset/inventory/warning +

+
+
+
+ ); +} \ No newline at end of file diff --git a/crop-x/src/app/(app)/agricultural-asset/page.tsx b/crop-x/src/app/(app)/agricultural-asset/page.tsx index 89146ec..d8b2bcb 100644 --- a/crop-x/src/app/(app)/agricultural-asset/page.tsx +++ b/crop-x/src/app/(app)/agricultural-asset/page.tsx @@ -1,147 +1,18 @@ -import Link from 'next/link' -import { Metadata } from 'next' +'use client'; -export const metadata: Metadata = { - title: '农业资产管理 - Crop-X 智慧农业管理系统', - description: '农业资产管理系统主页面', -} +import { Card } from '@/components/ui/card'; export default function AgriculturalAssetPage() { 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: