//合同管理路由模块
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: 'contractmanagelist',
				component: () => import('@/views/contract_manage/contractList.vue'),
				name: '合同列表',
				hidden: false,
				meta: {
					keepAlive: false
				}
			},
			{
				path: 'addcontract',
				component: () => import('@/views/contract_manage/addContract.vue'),
				name: "添加合同",
				hidden: false,
				meta: {
					pathFrom: 'contractmanagelist',
					pathName: '合同列表',
					keepAlive: false
				}
			},
			{
				path: 'contractdetail',
				component: () => import('@/views/contract_manage/contractDetail.vue'),
				name: "合同详情",
				hidden: false,
				meta: {
					pathFrom: 'contractmanagelist',
					pathName: '合同列表',
					keepAlive: false
				}
			},
			{
				path: 'editcontract',
				component: () => import('@/views/contract_manage/editContract.vue'),
				name: "编辑合同",
				hidden: false,
				meta: {
					pathFrom: 'contractmanagelist',
					pathName: '合同列表',
					keepAlive: false
				}
			},
			{
				path: 'retrialcontract',
				component: () => import('@/views/contract_manage/editContract.vue'),
				name: "重审合同",
				hidden: false,
				meta: {
					pathFrom: 'contractmanagelist',
					pathName: '合同列表',
					keepAlive: false
				}
			},
			{
				path: 'copycontract',
				component: () => import('@/views/contract_manage/editContract.vue'),
				name: "复制模板",
				hidden: false,
				meta: {
					pathFrom: 'contractmanagelist',
					pathName: '合同列表',
					keepAlive: false
				}
			},
			{
				path: 'modifyapply',
				component: () => import('@/views/contract_manage/editContract.vue'),
				name: "修改重审",
				hidden: false,
				meta: {
					pathFrom: 'contractmanagelist',
					pathName: '合同列表',
					keepAlive: false
				}
			},
			{
				path: 'addcontractdc',
				component: () => import('@/views/contract_manage/addContractDC.vue'),
				name: "添加代付合同",
				hidden: false,
				meta: {
					pathFrom: 'contractmanagelist',
					pathName: '合同列表',
					keepAlive: false
				}
			},
			{
				path: 'contractdetaildc',
				component: () => import('@/views/contract_manage/contractDetailDC.vue'),
				name: "代付合同详情",
				hidden: false,
				meta: {
					pathFrom: 'contractmanagelist',
					pathName: '合同列表',
					keepAlive: false
				}
			},
			{
				path: 'editcontractdc',
				component: () => import('@/views/contract_manage/editContractDC.vue'),
				name: "代付合同编辑",
				hidden: false,
				meta: {
					pathFrom: 'contractmanagelist',
					pathName: '合同列表',
					keepAlive: false
				}
			},
			{
				path: 'retrialcontractdc',
				component: () => import('@/views/contract_manage/editContractDC.vue'),
				name: "代付合同重审",
				hidden: false,
				meta: {
					pathFrom: 'contractmanagelist',
					pathName: '合同列表',
					keepAlive: false
				}
			},
			{
				path: 'copycontractdc',
				component: () => import('@/views/contract_manage/editContractDC.vue'),
				name: "代付合同复制模板",
				hidden: false,
				meta: {
					pathFrom: 'contractmanagelist',
					pathName: '合同列表',
					keepAlive: false
				}
			},
			{
				path: 'modifyapplydc',
				component: () => import('@/views/contract_manage/editContractDC.vue'),
				name: "代付合同修改重审",
				hidden: false,
				meta: {
					pathFrom: 'contractmanagelist',
					pathName: '合同列表',
					keepAlive: false
				}
			},
			{
				path:"raiAllocationPage",
				component:()=>import("@/views/contract_manage/raiAllocationPage.vue"),
				name:"合同派点",
				hidden:false,
				meta: {
					keepAlive: false
				}
			},
			{
				path:"researcherStatistics",
				component:()=>import("@/views/contract_manage/researcherStatistics.vue"),
				name:"研究员派点统计",
				hidden:false,
				meta: {
					keepAlive: false
				}
			},
			{
				path:"paymentRecords",
				component:()=>import("@/views/contract_manage/paymentRecords.vue"),
				name:"研选支付记录",
				hidden:false,
				meta: {
					keepAlive: false
				}
			},
			{
				path:"refundRecord",
				component:()=>import("@/views/contract_manage/refundRecord.vue"),
				name:"研选退款记录",
				hidden:false,
				meta: {
					keepAlive: false
				}
			},
		]
	},
]