Newer
Older
jh-business-system / src / router / modules / cert.ts
dutingting 5 days ago 1 KB 委托单完成、证书管理90%
import type { Route } from '@/global'
const Layout = () => import('@/layouts/index.vue')

const routes: Route.recordRaw[] = [
  {
    path: '/certManage',
    component: Layout,
    redirect: '/certManage/list',
    name: 'CertManage',
    meta: {
      title: '证书管理',
      icon: 'ep:key',
      auth: '/certManage',
    },
    children: [
      {
        path: 'list',
        name: 'CertManageList',
        component: () => import('@/views/certManage/list.vue'),
        meta: {
          title: '证书管理',
          auth: '/certManage',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: false,
          activeMenu: '/certManage',
        },
      },
      {
        path: '/cert/:type/:id?',
        name: 'certManageDetail',
        component: () =>
          import('@/views/certManage/detail.vue'),
        meta: {
          title: '证书管理',
          icon: 'ep:key',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/certManage/list',
        },
      },
    ],
  },
]

export default routes