//系统设置路由模块
const home = r => require.ensure([], () => r(require('@/views/Home.vue')), 'Home'); //主页


export default [
    {
		path: '/',
		component: home,
		name: '系统设置',
		hidden: false,
		icon_path: require('@/assets/img/home/set_ico.png'),
        children:[
            {
				path: 'Sysrole',
				component: () => import('@/views/system_manage/roleManage.vue'),
				name: '角色管理',
				hidden: false,
				meta: {
					keepAlive: false
				}
			},
			{
				path: 'Sysauth',
				component: () => import('@/views/system_manage/authManage.vue'),
				name: '设置权限',
				hidden: true,
				meta: {
					pathFrom: 'Sysrole',
					pathName: '角色管理',
					keepAlive: false
				}
			},
            {
				path: 'Sysdepart',
				component: () => import('@/views/system_manage/departManage.vue'),
				name: '部门管理',
				hidden: false,
				meta: {
					keepAlive: false
				}
			},
            {
				path: "approvalset",
				component: () => import('@/views/system_manage/approvalManage.vue'),
				name: '审批配置',
				hidden: false,
			}
        ]
    }
]
