authRoutes.js 1.58 KB
Newer Older
wuhao's avatar
wuhao committed
1
export default [
TZW's avatar
TZW committed
2
  { path: '/welcome', name: '欢迎', icon: 'smile', component: './Welcome' },
wuhao's avatar
wuhao committed
3
  {
TZW's avatar
TZW committed
4 5 6 7
    name: '基础设置',
    icon: 'setting',
    path: '/setting',
    routes: [
wuhao's avatar
wuhao committed
8
      {
TZW's avatar
TZW committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
        name: '用户管理',
        path: '/setting/users',
        component: './setting/users',
      },
      {
        name: '角色管理',
        path: '/setting/role',
        component: './setting/role',
      },
      {
        name: '组织管理',
        path: '/setting/organization',
        component: './setting/organization',
      },
      {
        name: '工厂管理',
        path: '/setting/factory',
        component: './setting/factory',
      },
      {
        name: '车间管理',
        path: '/setting/workshop',
        component: './setting/workshop',
      },
TZW's avatar
TZW committed
33 34 35 36 37 38 39 40 41 42
      {
        name: '工段管理',
        path: '/setting/section',
        component: './setting/section',
      },
      {
        name: '产线管理',
        path: '/setting/production',
        component: './setting/production',
      },
TZW's avatar
TZW committed
43 44
    ],
  },
TZW's avatar
TZW committed
45
  {
TZW's avatar
TZW committed
46 47
    name: '设备管理',
    icon: 'bulb',
TZW's avatar
TZW committed
48
    path: '/device',
TZW's avatar
TZW committed
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
    routes: [
      {
        name: '设备台账',
        path: '/device/account',
        component: './device/account',
      },
      {
        name: '设备类型',
        path: '/device/type',
        component: './device/type',
      },
      {
        name: '设备型号',
        path: '/device/model',
        component: './device/model',
      },
      {
        name: '设备供应商',
        path: '/device/supplier',
        component: './device/supplier',
      },
    ],
  },
wuhao's avatar
wuhao committed
72
];