Blame view

src/router/routes/modules/project/order.ts 843 Bytes
sanmu authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const order: AppRouteModule = {
  path: '/order',
  name: 'Order',
  component: LAYOUT,
  redirect: '/order',
  meta: {
    hideChildrenInMenu: true,
    orderNo: 2,
    icon: 'ion:grid-outline',
    title: '订单管理',
  },
  children: [
    {
      path: '',
      name: 'Order',
      component: () => import('/@/views/project/order/index.vue'),
      meta: {
        // affix: true,
        title: '订单管理',
      },
    },
    // {
    //   path: 'workbench',
    //   name: 'Workbench',
    //   component: () => import('/@/views/dashboard/workbench/index.vue'),
    //   meta: {
    //     title: t('routes.dashboard.workbench'),
    //   },
    // },
  ],
};

export default order;