forked from huge/frontEnd/hugeOA

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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/**
 * 菜单列表
 * key, path需要保持唯一
 * permKey表示权限Key值
 */
const menus = [
  {
    name: '用户管理',
    path: '/baseManage/user',
    icon: 'user',
    key: '/baseManage/user'
  },
  {
    name: '组管理',
    path: '/baseManage/group',
    icon: 'team',
    key: '/baseManage/group',
  },
  {
    name: '组织管理',
    icon: 'solution',
    path: '/organizationMgt',
    key: '/organizationMgt',
    children: [
      {
        name: '单位管理',
        path: '/organizationMgt/unit',
        parentKey: '/organizationMgt',
      },
      {
        name: '部门管理',
        path: '/organizationMgt/department',
        parentKey: '/organizationMgt',
      },
      {
        name: '岗位管理',
        path: '/organizationMgt/job',
        parentKey: '/organizationMgt',
      },
    ],
  },
  {
    name: '资源管理',
    icon: 'book',
    path: '/resourceMgt',
    key: '/resourceMgt',
    children: [
      {
        name: '应用服务管理',
        path: '/resourceMgt/appService',
        parentKey: '/resourceMgt'
      },
      {
        name: '模块管理',
        path: '/resourceMgt/modules',
        parentKey: '/resourceMgt'
      },
      {
        name: '功能管理',
        path: '/resourceMgt/function',
        parentKey: '/resourceMgt'
      },
    ],
  },
  {
    name: '权限管理',
    icon: 'tool',
    path: '/authorityMgt',
    key: '/authorityMgt',
    children: [
      {
        name: '角色管理',
        path: '/authorityMgt/role',
        parentKey: '/authorityMgt'
      },
      {
        name: '权限管理',
        path: '/authorityMgt/authority',
        parentKey: '/authorityMgt'
      },
    ],
  },
  // ,{
  //   name: '工作流管理',
  //   children: [{
  //     name: '流程部署管理',
  //     path: '/activitiManage/deploy',
  //   }
  // ]
  // }
];
 
export default menus;