//运营管理路由模块
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/custom_ico.png'),
		children:[
			{
				path:'daynews',
				component:()=> import('@/views/report_manage/dayilyNews.vue'),
				name:'每日资讯',
				hidden:false
			},
            {
				path: "jmAttendList",
				name: '进门到会管理',
				component: () => import('@/views/ficc_manage/activity/jmAttendList.vue'),
				hidden: false,
			}, 
            {
				path: 'jmAttendDetail',
				name: '进门到会详情',
				component: () => import('@/views/ficc_manage/activity/jmAttendDetail.vue'),
				hidden: true,
				meta: {
					pathFrom: 'jmAttendList',
					pathName: '进门到会管理',
					keepAlive: false
				}
			},
            {
				path:"pdfList",
				name:"PDF报告",
				component:()=>import('@/views/report_manage/pdfList.vue')
			},
            {
				path:"Sysoperations",
				component: () => import('@/views/system_manage/operationsManage.vue'),
				name: '运营管理员',
				hidden: false,
			},
            {
				path: "messageSetting",
				component: () => import('@/views/system_manage/messageManage.vue'),
				name: '留言管理员',
				hidden: false,
			},
			{
				path:"voiceManage",
				component: () => import('@/views/system_manage/voiceManage.vue'),
				name: '语音播报管理',
				hidden: false,
			},
			{
				path:"updateLogManage",
				component: () => import('@/views/system_manage/updateLogManage.vue'),
				name: '更新日志配置',
				hidden: false,
			},
			{
				path:"assistanceCenter",
				component: () => import('@/views/system_manage/assistance_center/assistanceCenter.vue'),
				name: '帮助中心配置',
				hidden: false,
			},
			{
				path:"assistanceDocDetail",
				component: () => import('@/views/system_manage/assistance_center/assistanceDocDetail.vue'),
				name: '查看文章',
				hidden: true,
				meta: {
					pathFrom: 'assistanceCenter',
					pathName: '帮助中心配置'
				}
			},
			{
				path:"assistanceDocAdd",
				component: () => import('@/views/system_manage/assistance_center/assistanceDocAdd.vue'),
				name: '添加文章',
				hidden: true,
				meta: {
					pathFrom: 'assistanceCenter',
					pathName: '帮助中心配置'
				}
			},
			{
				path:"assistanceDocEdit",
				component: () => import('@/views/system_manage/assistance_center/assistanceDocAdd.vue'),
				name: '编辑文章',
				hidden: true,
				meta: {
					pathFrom: 'assistanceCenter',
					pathName: '帮助中心配置'
				}
			},
			{
				path:"assistanceDocEdit",
				component: () => import('@/views/system_manage/assistance_center/assistanceDocAdd.vue'),
				name: '编辑文章',
				hidden: true,
				meta: {
					pathFrom: 'assistanceCenter',
					pathName: '帮助中心配置'
				}
			},
			{
				path:"docClassifyManage",
				component: () => import('@/views/system_manage/assistance_center/docClassifyManage.vue'),
				name: '分类管理',
				hidden: true,
				meta: {
					pathFrom: 'assistanceCenter',
					pathName: '帮助中心配置'
				}
			},
			{
				path:"etaMenuConfig",
				component:() => import('@/views/system_manage/etaMenu_manage/etaMenuConfig'),
				name:'ETA菜单配置',
				hidden:false,
			}
		]
	}
]