import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';
const main: AppRouteModule = {
  path: '/base',
  name: 'Base',
  component: LAYOUT,
  redirect: '/permission/front/page',
  meta: {
    orderNo: 2,
    icon: 'ion:key-outline',
    title: '基础数据管理',
  },
  children: [
    {
      path: 'city-data',
      name: 'BaseCityData',
      component: () => import('/@/views/base/city-data/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;
