//审批管理路由模块
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: "contractapprovallist",
				component: () => import("@/views/contract_manage/approvalList.vue"),
				name: "合同审批",
				hidden: false,
				meta: {
					keepAlive: false
				}
			},
			{
				path: 'contractdetailapr',
				component: () => import('@/views/contract_manage/contractDetail.vue'),
				name: "合同详情",
				hidden: false,
				meta: {
					pathFrom: 'contractapprovallist',
					pathName: '合同审批',
					keepAlive: false
				}
			},
			{
				path: 'contractdetaildcapr',
				component: () => import('@/views/contract_manage/contractDetailDC.vue'),
				name: "代付合同详情",
				hidden: false,
				meta: {
					pathFrom: 'contractapprovallist',
					pathName: '合同审批',
					keepAlive: false
				}
			},
			{
				path: 'approvalList',
				component: () => import('@/views/custom_manage/approvalList.vue'),
				name: '客户审批',
				hidden: false,
				meta: {
					keepAlive: false
				}
			},
			{
				path: "sealApprovalList",
				component: () => import('@/views/seal_manage/approvalList.vue'),
				name: '用印审批',
				hidden: false,
				meta: {
					keepAlive: false
				}
			},
			{
				path: "addSeal",
				component: () => import('@/views/seal_manage/updateSeal.vue'),
				name: '新增用印',
				hidden: true,
				meta: {
					keepAlive: false
				}
			},
			{
				path: "editSeal",
				component: () => import('@/views/seal_manage/updateSeal.vue'),
				name: '编辑用印',
				hidden: true,
				meta: {
					keepAlive: false
				}
			}
		]
	},
]