智慧农业后台管理页面
Administrator
2022-06-01 00a2a8e080d0822529c8b09fc5029ac6519fda16
src/router/views/index.js
@@ -107,6 +107,62 @@
        }]
    },
    {
        path: '/LandDetail',
        redirect: '/land/LandDetail',
        component: Layout,
        children: [{
            path: '/LandDetail',
            name: '地块详情',
            meta: {
                i18n: 'index',
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/land/LandDetail')
        }]
    },
    {
        path: '/stockout',
        redirect: '/stock/stockout',
        component: Layout,
        children: [{
            path: '/stockout',
            name: '已出资待使用农资',
            meta: {
                i18n: 'index',
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/stock/stockout')
        }]
    },
    {
        path: '/landMap',
        redirect: '/land/landMap',
        component: Layout,
        children: [{
            path: '/landMap',
            name: '地块位置',
            meta: {
                i18n: 'index',
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/land/landMap')
        }]
    },
    {
        path: '/recovery',
        redirect: '/recovery/recovery',
        component: Layout,
        children: [{
            path: 'recovery',
            name: '采收记录',
            meta: {
                i18n: 'index',
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/recovery/recovery')
        }]
    },
    {
        path: '/dict-horizontal',
        component: Layout,
        redirect: '/dict-horizontal/index',
@@ -144,7 +200,7 @@
                i18n: 'land'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/land/land')
                import ( /* webpackChunkName: "views" */ '@/views/land/cs')
        }]
    },
    {
@@ -162,6 +218,34 @@
        }]
    },
    {
        path: '/stockmanage',
        component: Layout,
        redirect: '/stockmanage/index',
        children: [{
            path: 'index',
            name: '农资库存管理',
            meta: {
                i18n: 'stockmanage'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/stock/stockmanage')
        }]
    },
    {
        path: '/statistics',
        component: Layout,
        redirect: '/statistics/index',
        children: [{
            path: 'index',
            name: '数据统计',
            meta: {
                i18n: 'statistics'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/statistics/statistics')
        }]
    },
    {
        path: '/traceability',
        component: Layout,
        redirect: '/traceability/index',