//报表统计管理路由模块
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/datareport_ico.png'),
		children: [
            {
				path: 'expiringlist',
				component: () => import('@/views/dataReport_manage/expiringList.vue'),
				name: '即将到期客户',
				hidden: false
			},
			{
				path: 'incrementalist',
				component: () => import('@/views/dataReport_manage/incrementalList.vue'),
				name: '增量客户数据',
				hidden: false
			},
			{
				path: 'stocklist',
				component: () => import('@/views/dataReport_manage/stockCutomList.vue'),
				name: '存量客户数据',
				hidden: false
			},
			{
				path: 'raiStocklist',
				component: () => import('@/views/dataReport_manage/raiStockCutomList.vue'),
				name: '权益存量客户',
				hidden: false
			},
			{
				path: 'contractlist',
				component: () => import('@/views/dataReport_manage/contractList.vue'),
				name: '合同数据报表',
				hidden: false
			},
			{
				path: 'incomelist',
				component: () => import('@/views/dataReport_manage/incomeList.vue'),
				name: '收入统计报表',
				hidden: false
			},
			{
				path: 'readStatistics',
				component: () => import('@/views/dataReport_manage/readStatistics.vue'),
				name: '图库阅读统计',
				hidden: false
			},
			{
				path: 'equityCustomStatistics',
				component: () => import('@/views/dataReport_manage/equityCustomStatistics.vue'),
				name: '权益增量客户',
				hidden: false
			},
			{
				path: 'equityPackageStatistics',
				component: () => import('@/views/dataReport_manage/equityPackageStatistics.vue'),
				name: '权益套餐统计',
				hidden: false
			},
			{
				path: 'readClassify',
				component: () => import('@/views/dataReport_manage/readClassify.vue'),
				name: '',
				hidden: false,
				meta: {
					pathName: '图库阅读统计',
					pathFrom: 'readStatistics',
				}
			},
			{
				path: 'readChart',
				name: '我的图库',
				component: () => import('@/views/mychart_manage/index.vue'),
				hidden: false,
				meta: {
					pathName: '图库阅读统计',
					pathFrom: 'readStatistics',
				}
			},
			{
				path: 'chartJurisdiction',
				component: () => import('@/views/dataReport_manage/jurisdiction.vue'),
				name: '图库权限开通统计',
				hidden: false
			},
			{
				path: 'statisticNewcustom',
				component: () => import('@/views/dataReport_manage/statistic/newCustom.vue'),
				name: '新增客户统计',
				hidden: false
			},
			{
				path: 'statisticStockcustom',
				component: () => import('@/views/dataReport_manage/statistic/stockCustom.vue'),
				name: '存量客户统计',
				hidden: false
			},
			/* {
				path: 'newCustomlist',
				component: () => import('@/views/dataReport_manage/statistic/newCustomlist.vue'),
				name: '新增客户列表',
				meta: {
					pathFrom: 'statisticNewcustom',
					pathName: '新增客户统计'
				},
				hidden: true
			}, */
			{
				path: 'todoTask',
				component: () => import('@/views/dataReport_manage/statistic/todoTask.vue'),
				name: '销售To do任务统计',
				hidden: false
			},
			/* {
				path: 'todoTaskList',
				component: () => import('@/views/dataReport_manage/statistic/todoTaskList.vue'),
				name: '客户任务列表',
				meta: {
					pathFrom: 'todoTask',
					pathName: '销售To do任务统计'
				},
				hidden: true
			}, */
			{
				path: 'equityServiceStatistics',
				component: () => import('@/views/dataReport_manage/equityServiceStatistics.vue'),
				name: '权益服务统计',
				hidden: false
			},
		]
	},
]