// 碳足迹决策
import type { Route } from '@/global'

const Layout = () => import('@/layouts/index.vue')
const routes: Route.recordRaw[] = [
  {
    path: '/carbonDecision',
    component: Layout,
    redirect: '/carbonDecision/decision',
    name: 'Ddecision',
    meta: {
      title: '碳足迹决策',
      icon: 'ep:key',
      auth: '/decision',
    },
    children: [
      {
        path: 'decision',
        name: 'Decision',
        component: () => import('@/views/decision/index.vue'),
        meta: {
          title: '碳足迹决策',
          auth: '/decision',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/carbonDecision',
        },
      },
    ],
  },
]

export default routes
