170 lines
4.2 KiB
TypeScript
170 lines
4.2 KiB
TypeScript
import type { AppRouteModule } from '/@/router/types'
|
|
import { getParentLayout, LAYOUT } from '/@/router/constant'
|
|
const main: AppRouteModule = {
|
|
path: '/base',
|
|
name: 'Base',
|
|
component: LAYOUT,
|
|
redirect: '/permission/front/page',
|
|
meta: {
|
|
orderNo: 2,
|
|
icon: 'base|svg',
|
|
title: '基础数据管理',
|
|
},
|
|
children: [
|
|
{
|
|
path: 'basics',
|
|
name: 'Basics',
|
|
meta: {
|
|
title: '全市基础数据',
|
|
// icon: 'ion:key-outline',
|
|
},
|
|
children: [
|
|
{
|
|
path: 'town-base',
|
|
name: 'TownBase',
|
|
component: () => import('/@/views/base/city-data/index.vue'),
|
|
meta: {
|
|
title: '城镇数据',
|
|
},
|
|
},
|
|
{
|
|
path: 'basics-base',
|
|
name: 'BasicsBase',
|
|
component: () => import('/@/views/base/base-data/index.vue'),
|
|
meta: {
|
|
title: '基地数据',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: 'crop',
|
|
name: 'Crop',
|
|
meta: {
|
|
title: '农作物数据',
|
|
// icon: 'ion:key-outline',
|
|
},
|
|
children: [
|
|
{
|
|
path: 'town-crop',
|
|
name: 'TownCrop',
|
|
component: () => import('/@/views/base/crops/town-crops/index.vue'),
|
|
meta: {
|
|
title: '城镇农作物',
|
|
},
|
|
},
|
|
{
|
|
path: 'basics-crop',
|
|
name: 'BasicsCrop',
|
|
component: () => import('/@/views/base/crops/base-crops/index.vue'),
|
|
meta: {
|
|
title: '基地农作物',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: 'yield',
|
|
name: 'Yield',
|
|
meta: {
|
|
title: '农作物产量',
|
|
// icon: 'ion:key-outline',
|
|
},
|
|
children: [
|
|
{
|
|
path: 'town-yield',
|
|
name: 'TownYield',
|
|
component: () => import('/@/views/base/crop-yields/town-yields/index.vue'),
|
|
meta: {
|
|
title: '城镇产量',
|
|
},
|
|
},
|
|
{
|
|
path: 'basics-yield',
|
|
name: 'BasicsYield',
|
|
component: () => import('/@/views/base/crop-yields/base-yields/index.vue'),
|
|
meta: {
|
|
title: '基地产量',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: 'estate',
|
|
name: 'estate',
|
|
meta: {
|
|
title: '重点产业',
|
|
// icon: 'ion:key-outline',
|
|
},
|
|
children: [
|
|
{
|
|
path: 'estate-price',
|
|
name: 'EstatePrice',
|
|
component: () => import('/@/views/base/estate/shrim-price/index.vue'),
|
|
meta: {
|
|
title: '稻虾价格',
|
|
},
|
|
},
|
|
{
|
|
path: 'estate-industry',
|
|
name: 'EstateIndustry',
|
|
component: () => import('/@/views/base/estate/shrimp-industries/index.vue'),
|
|
meta: {
|
|
title: '稻虾产业',
|
|
},
|
|
},
|
|
{
|
|
path: 'estate-flows',
|
|
name: 'EstateFlows',
|
|
component: () => import('/@/views/base/estate/shrimp-flows/index.vue'),
|
|
meta: {
|
|
title: '稻虾流向',
|
|
},
|
|
},
|
|
{
|
|
path: 'estate-materiels',
|
|
name: 'EstateMateriels',
|
|
component: () => import('/@/views/base/estate/materiels/index.vue'),
|
|
meta: {
|
|
title: '大宗物资',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
// {
|
|
// path: 'industrial-structure',
|
|
// name: 'BaseIndustrialStructure',
|
|
// component: () => import('/@/views/base/industrial-structure/index.vue'),
|
|
// meta: {
|
|
// title: '农业产业结构',
|
|
// },
|
|
// },
|
|
// {
|
|
// path: 'ranking-list',
|
|
// name: 'BaseRankingList',
|
|
// component: () => import('/@/views/base/ranking-list/index.vue'),
|
|
// meta: {
|
|
// title: '产量排行榜', //
|
|
// },
|
|
// },
|
|
// {
|
|
// path: 'flow-to',
|
|
// name: 'BaseFlowTo',
|
|
// component: () => import('/@/views/base/flow-to/index.vue'),
|
|
// meta: {
|
|
// title: '农产品流向',
|
|
// },
|
|
// },
|
|
// {
|
|
// path: 'trend',
|
|
// name: 'BaseTrend',
|
|
// component: () => import('/@/views/base/trend/index.vue'),
|
|
// meta: {
|
|
// title: '农产品价格走势',
|
|
// },
|
|
// },
|
|
],
|
|
}
|
|
|
|
export default main
|