import Vue from 'vue' import Router from 'vue-router' Vue.use(Router) /* Layout */ import Layout from '@/layout' /* 所有角色可以访问/没有权限要求的基页 */ export const constantRoutes = [{ path: '/redirect', component: Layout, hidden: true, children: [{ path: '/redirect/:path(.*)', component: () => import('@/views/redirect/index.vue') }] }, { path: '/', redirect: 'index' }, { path: '/index', component: Layout, redirect: '/index', children: [{ path: '/index', component: () => import('@/views/index.vue'), name: 'index', meta: { title: '主页', noCache: true, affix: true } }] }, { path: '/404', component: () => import('@/views/404'), hidden: true }, { path: '/capital', component: Layout, redirect: '/capital', meta: { title: '资方管理' }, children: [{ path: '/capital/capital', component: () => import('@/views/capital/capital.vue'), name: 'Capital', meta: { title: '资方管理', noCache: true } }] }, { path: '/financialpolicymanagement', component: Layout, redirect: '/financialpolicymanagement', meta: { title: '金融产品政策管理' }, children: [{ path: '/financialpolicymanagement/financialpolicymanagement', component: () => import('@/views/financialpolicymanagement/financialpolicymanagement.vue'), name: 'FinancialPolicyManagement', meta: { title: '金融产品政策管理', noCache: true } }] }, { path: '/financialpolicyreporting', component: Layout, redirect: '/financialpolicyreporting', meta: { title: '金融产品政策报备' }, children: [{ path: '/financialpolicyreporting/financialpolicyreporting', component: () => import('@/views/financialpolicyreporting/financialpolicyreporting.vue'), name: 'FinancialPolicyrReporting', meta: { title: '金融产品政策报备', noCache: true } }] }, { path: '/otherfinancialpolicymanagement', component: Layout, redirect: '/otherfinancialpolicymanagement', meta: { title: '其它融产品管理' }, children: [{ path: '/otherfinancialpolicymanagement/otherfinancialpolicymanagement', component: () => import('@/views/otherfinancialpolicymanagement/otherfinancialpolicymanagement.vue'), name: 'OtherFinancialPolicyManagement', meta: { title: '其它融产品管理', noCache: true } }] }, { path: '/otherfinancialproductsreport', component: Layout, redirect: '/otherfinancialproductsreport', meta: { title: '其它融产品报备' }, children: [{ path: '/otherfinancialproductsreport/otherfinancialproductsreport', component: () => import('@/views/otherfinancialproductsreport/otherfinancialproductsreport.vue'), name: 'OtherFinancialProductsReport', meta: { title: '其它融产品报备', noCache: true } }] }, { path: '/customizedfinancialsolutions', component: Layout, redirect: '/customizedfinancialsolutions', meta: { title: '公司定制金融方案' }, children: [{ path: '/customizedfinancialsolutions/customizedfinancialsolutions', component: () => import('@/views/customizedfinancialsolutions/customizedfinancialsolutions.vue'), name: 'CustomizedFinancialSolutions', meta: { title: '公司定制金融方案', noCache: true } }] }, { path: '/creditauditmanagement', component: Layout, redirect: '/creditauditmanagement', meta: { title: '贷前信用审核管理' }, children: [{ path: '/creditauditmanagement/creditauditmanagement', component: () => import('@/views/creditauditmanagement/creditauditmanagement.vue'), name: 'CreditAuditManagement', meta: { title: '贷前信用审核管理', noCache: true } }] }, { path: '/financialclerkbycreditvetting', component: Layout, redirect: '/financialclerkbycreditvetting', meta: { title: '金融内勤信用审核管理' }, children: [{ path: '/financialclerkbycreditvetting/financialclerkbycreditvetting', component: () => import('@/views/financialclerkbycreditvetting/financialclerkbycreditvetting.vue'), name: 'FinancialClerkByCreditVetting', meta: { title: '金融内勤信用审核管理', noCache: true } }] }, { path: '/creditauditappeal', component: Layout, redirect: '/creditauditappeal', meta: { title: '贷前信用审核申诉' }, children: [{ path: '/creditauditappeal/creditauditappeal', component: () => import('@/views/creditauditappeal/creditauditappeal.vue'), name: 'CreditAuditAppeal', meta: { title: '贷前信用审核申诉', noCache: true } }] }, { path: '/homevisitpreparation', component: Layout, redirect: '/homevisitpreparation', meta: { title: '家访准备管理' }, children: [{ path: '/homevisitpreparation/homevisittobeprepared', component: () => import('@/views/homevisitpreparation/homevisittobeprepared.vue'), name: 'HomeVisitToBePrepared', meta: { title: '家访准备管理', noCache: true } }] }, { path: '/riskcontrolparameter', component: Layout, redirect: '/riskcontrolparameter', meta: { title: '风控参数设置' }, children: [{ path: '/riskcontrolparameter/riskcontrolparameter', component: () => import('@/views/riskcontrolparameter/riskcontrolparameter.vue'), name: 'RiskControlParameter', meta: { title: '风控参数设置', noCache: true } }] }, { path: '/homevisitdatareview', component: Layout, redirect: '/homevisitdatareview', meta: { title: '家访资料审核' }, children: [{ path: '/homevisitdatareview/homevisitdatatobereviewed', component: () => import('@/views/homevisitdatareview/homevisitdatatobereviewed.vue'), name: 'HomeVisitDataReview', meta: { title: '家访资料审核', noCache: true } }] }, { path: '/managementcreditaudit', component: Layout, redirect: '/managementcreditaudit', meta: { title: '资方信审终审结果' }, children: [{ path: '/managementcreditaudit/managementcreditaudit', component: () => import('@/views/managementcreditaudit/managementcreditaudit.vue'), name: 'ManagementCreditAudit', meta: { title: '资方信审终审结果', noCache: true } }] }, { path: '/warrantinformation', component: Layout, redirect: '/warrantinformation', meta: { title: '权证资料管理' }, children: [{ path: '/warrantinformation/warrantinformation', component: () => import('@/views/warrantinformation/warrantinformation.vue'), name: 'WarrantInformation', meta: { title: '权证资料管理', noCache: true } }] }, { path: '/repaymentschedule', component: Layout, redirect: '/repaymentschedule', meta: { title: '还款计划表' }, children: [{ path: '/repaymentschedule/repaymentschedule', component: () => import('@/views/repaymentschedule/repaymentschedule.vue'), name: 'RepaymentSchedule', meta: { title: '还款计划表', noCache: true } }] }, { path: '/unsecuredbusiness', component: Layout, redirect: '/unsecuredbusiness', meta: { title: '非担保信审' }, children: [{ path: '/unsecuredbusiness/unsecuredbusiness', component: () => import('@/views/unsecuredbusiness/unsecuredbusiness.vue'), name: 'UnsecuredBusiness', meta: { title: '非担保信审', noCache: true } }] }, { path: '/loandatareview', component: Layout, redirect: '/loandatareview', meta: { title: '放款资料审核' }, children: [{ path: '/loandatareview/loandatareview', component: () => import('@/views/loandatareview/loandatareview.vue'), name: 'LoanDataReview', meta: { title: '放款资料审核', noCache: true } }] }, { path: '/delinquentcustomerfiling', component: Layout, redirect: '/delinquentcustomerfiling', meta: { title: '欠款客户备案' }, children: [{ path: '/delinquentcustomerfiling/delinquentcustomerfiling', component: () => import('@/views/delinquentcustomerfiling/delinquentcustomerfiling.vue'), name: 'DelinquentCustomerFiling', meta: { title: '欠款客户备案', noCache: true } }] }, { path: '/loanbalancerecognition', component: Layout, redirect: '/loanbalancerecognition', meta: { title: '放款差额确认' }, children: [{ path: '/loanbalancerecognition/loanbalancerecognition', component: () => import('@/views/loanbalancerecognition/loanbalancerecognition.vue'), name: 'LoanBalanceRecognition', meta: { title: '放款差额确认', noCache: true } }] }, { path: '/monthlypayment', component: Layout, redirect: '/monthlypayment', meta: { title: '资方划扣还款' }, children: [{ path: '/monthlypayment/monthlypayment', component: () => import('@/views/monthlypayment/monthlypayment.vue'), name: 'MonthlyPayment', meta: { title: '资方划扣还款', noCache: true } }] }, { path: '/deduct', component: Layout, redirect: '/deduct', meta: { title: '划扣申请管理' }, children: [{ path: '/deduct/deduct', component: () => import('@/views/deduct/deduct.vue'), name: 'Deduct', meta: { title: '划扣申请管理', noCache: true } }] }, { path: '/advancerequest', component: Layout, redirect: '/advancerequest', meta: { title: '垫款申请管理' }, children: [{ path: '/advancerequest/advancerequest', component: () => import('@/views/advancerequest/advancerequest.vue'), name: 'AdvanceRequest', meta: { title: '垫款申请管理', noCache: true } }, { path: '/advancerequest/advancedetails', component: () => import('@/views/advancerequest/advancedetails.vue'), name: 'AdvanceDetails', meta: { title: '垫款明细查询', noCache: true } } ] }, { path: '/alsotransfer', component: Layout, redirect: '/alsotransfer', meta: { title: '间还转付记录' }, children: [{ path: '/alsotransfer/pendingtransfer', component: () => import('@/views/alsotransfer/pendingtransfer.vue'), name: 'AlsoTransfer', meta: { title: '间还转付记录', noCache: true } }] }, { path: '/agentbusiness', component: Layout, redirect: '/agentbusiness', meta: { title: '代收代付申请' }, children: [{ path: '/agentbusiness/agentbusiness', component: () => import('@/views/agentbusiness/agentbusiness.vue'), name: 'AgentBusiness', meta: { title: '代收代付申请', noCache: true } }] }, { path: '/monthlyallowance', component: Layout, redirect: '/monthlyallowance', meta: { title: '月还计提申请' }, children: [{ path: '/monthlyallowance/monthlyallowance', component: () => import('@/views/monthlyallowance/monthlyallowance.vue'), name: 'MonthlyAllowance', meta: { title: '月还计提申请', noCache: true } }] }, { path: '/customerrepayment', component: Layout, redirect: '/customerrepayment', meta: { title: '客户还款' }, children: [{ path: '/customerrepayment/customerrepayment', component: () => import('@/views/customerrepayment/customerrepayment.vue'), name: 'CustomerRepayment', meta: { title: '客户还款情况统计', noCache: false } }, { path: '/customerrepayment/customerrepaymentdetails', component: () => import('@/views/customerrepayment/customerrepaymentdetails.vue'), name: 'CustomerRepaymentDetails', meta: { title: '客户还款明细查询', noCache: false } } ] }, { path: '/overduevehicle', component: Layout, redirect: '/overduevehicle', meta: { title: '逾期车辆列表' }, children: [{ path: '/overduevehicle/overduevehicle', component: () => import('@/views/overduevehicle/overduevehicle.vue'), name: 'OverdueVehicle', meta: { title: '逾期车辆列表', noCache: true } }] }, { path: '/overduevehicleByRisk', component: Layout, redirect: '/overduevehicleByRisk', meta: { title: '逾期客户列表' }, children: [{ path: '/overduevehicle/overduevehicleByRisk', component: () => import('@/views/overduevehicle/overduevehicleByRisk.vue'), name: 'OverdueVehicleByRisk', meta: { title: '逾期客户列表', noCache: true } }] }, { path: '/collectionmeasures', component: Layout, redirect: '/collectionmeasures', meta: { title: '催收措施申请' }, children: [{ path: '/collectionmeasures/collectionmeasures', component: () => import('@/views/collectionmeasures/collectionmeasures.vue'), name: 'CollectionMeasures', meta: { title: '催收措施申请', noCache: true } }] }, { path: '/remotedecontrol', component: Layout, redirect: '/remotedecontrol', meta: { title: '车辆远程解控申请' }, children: [{ path: '/remotedecontrol/remotedecontrol', component: () => import('@/views/remotedecontrol/remotedecontrol.vue'), name: 'RemotedeControl', meta: { title: '车辆远程解控申请', noCache: true } }] }, { path: '/returnreserve', component: Layout, redirect: '/returnreserve', meta: { title: '车辆交回事前报备' }, children: [{ path: '/returnreserve/returnreserve', component: () => import('@/views/returnreserve/returnreserve.vue'), name: 'ReturnReserve', meta: { title: '车辆交回事前报备', noCache: true } }] }, { path: '/overduereconciliationfinancing', component: Layout, redirect: '/overduereconciliationfinancing', meta: { title: '财务逾期对账' }, children: [{ path: '/overduereconciliationfinancing/overduereconciliationfinancing', component: () => import('@/views/overduereconciliationfinancing/overduereconciliationfinancing.vue'), name: 'OverdueReconciliationFinancing', meta: { title: '财务逾期对账', noCache: true } }] }, { path: '/overduereconciliationcapital', component: Layout, redirect: '/overduereconciliationcapital', meta: { title: '资方逾期对账' }, children: [{ path: '/overduereconciliationcapital/overduereconciliationcapital', component: () => import('@/views/overduereconciliationcapital/overduereconciliationcapital.vue'), name: 'OverdueReconciliationCapital', meta: { title: '资方逾期对账', noCache: true } }] }, { path: '/returntostorage', component: Layout, redirect: '/returntostorage', meta: { title: '交回车辆入库申请' }, children: [{ path: '/returntostorage/returntostorage', component: () => import('@/views/returntostorage/returntostorage.vue'), name: 'ReturnToStorage', meta: { title: '交回车辆入库申请', noCache: true } }] }, { path: '/returntheaccount', component: Layout, redirect: '/returntheaccount', meta: { title: '交回车辆台账' }, children: [{ path: '/returntheaccount/returntheaccount', component: () => import('@/views/returntheaccount/returntheaccount.vue'), name: 'ReturnTheAccount', meta: { title: '交回车辆台账', noCache: true } }] }, { path: '/surrenderforredemption', component: Layout, redirect: '/surrenderforredemption', meta: { title: '交回车辆赎回申请' }, children: [{ path: '/surrenderforredemption/surrenderforredemption', component: () => import('@/views/surrenderforredemption/surrenderforredemption.vue'), name: 'SurrenderForRedemption', meta: { title: '交回车辆赎回申请', noCache: true } }] }, { path: '/secondarysales', component: Layout, redirect: '/secondarysales', meta: { title: '交回车辆二次销售' }, children: [{ path: '/secondarysales/secondarysales', component: () => import('@/views/secondarysales/secondarysales.vue'), name: 'SecondarySales', meta: { title: '交回车辆二次销售', noCache: true } }] }, { path: '/secondarysublet', component: Layout, redirect: '/secondarysublet', meta: { title: '交回车辆二次转租' }, children: [{ path: '/secondarysublet/secondarysublet', component: () => import('@/views/secondarysublet/secondarysublet.vue'), name: 'SecondarySublet', meta: { title: '交回车辆二次转租', noCache: true } }] }, { path: '/returntothewarehouse', component: Layout, redirect: '/returntothewarehouse', meta: { title: '交回车辆出库申请' }, children: [{ path: '/returntothewarehouse/returntothewarehouse', component: () => import('@/views/returntothewarehouse/returntothewarehouse.vue'), name: 'ReturnToTheWarehouse', meta: { title: '交回车辆出库申请', noCache: true } }] }, { path: '/settle', component: Layout, redirect: '/settle', meta: { title: '车辆结清管理' }, children: [{ path: '/settle/settle', component: () => import('@/views/settle/settle.vue'), name: 'Settle', meta: { title: '车辆结清管理', noCache: true } }] }, { path: '/settlethevehicleaccount', component: Layout, redirect: '/settlethevehicleaccount', meta: { title: '结清车辆台账' }, children: [{ path: '/settlethevehicleaccount/settlethevehicleaccount', component: () => import('@/views/settlethevehicleaccount/settlethevehicleaccount.vue'), name: 'SettleTheVehicleAccount', meta: { title: '结清车辆台账', noCache: true } }] }, { path: '/offset', component: Layout, redirect: '/offset', meta: { title: '车辆解抵管理' }, children: [{ path: '/offset/offset', component: () => import('@/views/offset/offset.vue'), name: 'Offset', meta: { title: '车辆解抵管理', noCache: true } }] }, { path: '/buyback', component: Layout, redirect: '/buyback', meta: { title: '车辆回购管理' }, children: [{ path: '/buyback/buyback', component: () => import('@/views/buyback/buyback.vue'), name: 'BuyBack', meta: { title: '车辆回购管理', noCache: true } }] }, { path: '/caseaction', component: Layout, redirect: '/caseaction', meta: { title: '案件诉讼管理' }, children: [{ path: '/caseaction/caseaction', component: () => import('@/views/caseaction/caseaction.vue'), name: 'CaseAction', meta: { title: '案件诉讼管理', noCache: true } }] }, { path: '/courseofthecase', component: Layout, redirect: '/courseofthecase', meta: { title: '案件进程管理' }, children: [{ path: '/courseofthecase/courseofthecase', component: () => import('@/views/courseofthecase/courseofthecase.vue'), name: 'CourseOfTheCase', meta: { title: '案件进程管理', noCache: true } }] }, { path: '/casedelegation', component: Layout, redirect: '/casedelegation', meta: { title: '案件委托律师管理' }, children: [{ path: '/casedelegation/casedelegation', component: () => import('@/views/casedelegation/casedelegation.vue'), name: 'CaseDelegation', meta: { title: '案件委托律师管理', noCache: true } }] }, { path: '/caseappeal', component: Layout, redirect: '/caseappeal', meta: { title: '案件上诉管理' }, children: [{ path: '/caseappeal/caseappeal', component: () => import('@/views/caseappeal/caseappeal.vue'), name: 'CaseAppeal', meta: { title: '案件上诉管理', noCache: true } }] }, { path: '/caseexecution', component: Layout, redirect: '/caseexecution', meta: { title: '案件执行管理' }, children: [{ path: '/caseexecution/caseexecution', component: () => import('@/views/caseexecution/caseexecution.vue'), name: 'CaseExecution', meta: { title: '案件执行管理', noCache: true } }] }, { path: '/caseclosed', component: Layout, redirect: '/caseclosed', meta: { title: '案件结案管理' }, children: [{ path: '/caseclosed/caseclosed', component: () => import('@/views/caseclosed/caseclosed.vue'), name: 'CaseClosed', meta: { title: '案件结案管理', noCache: true } }] }, { path: '/provisionoffunds', component: Layout, redirect: '/provisionoffunds', meta: { title: '资金占用费计提查询' }, children: [{ path: '/provisionoffunds/provisionoffunds', component: () => import('@/views/provisionoffunds/provisionoffunds.vue'), name: 'ProvisionOfFunds', meta: { title: '资金占用费计提查询', noCache: true } }] }, { path: '/financialdetails', component: Layout, redirect: '/financialdetails', meta: { title: '资金占用费明细查询' }, children: [{ path: '/financialdetails/financialdetails', component: () => import('@/views/financialdetails/financialdetails.vue'), name: 'FinancialDetails', meta: { title: '资金占用费明细查询', noCache: true } }] }, { path: '/auditSupervision', component: Layout, redirect: '/auditSupervision', meta: { title: '审计监管' }, children: [{ path: '/auditSupervision/auditSupervision', component: () => import('@/views/auditSupervision/auditSupervision.vue'), name: 'AuditSupervision', meta: { title: '审计监管', noCache: true } }] }, // 流程审批 // 金融产品政策报备--编辑 { path: '/jinrongzhengceFlow/financialpolicyreportingEdit', component: () => import('@/views/workFlow/jinrongzhengceFlow/financialpolicyreportingEdit.vue'), name: 'FinancialPolicyReportingEdit' }, // 金融产品政策报备--待办 { path: '/jinrongzhengceFlow/financialpolicyreportingDaiBanInfo', component: () => import('@/views/workFlow/jinrongzhengceFlow/financialpolicyreportingDaiBanInfo.vue'), name: 'FinancialPolicyReportingBaiBanInfo' }, // 金融产品政策报备--待办--总经理跳转风控中心 { path: '/jinrongzhengceFlow/financialpolicyreportingByDivisionOperateInfo', component: () => import('@/views/workFlow/jinrongzhengceFlow/financialpolicyreportingByDivisionOperateInfo.vue'), name: 'FinancialPolicyReportingByDivisionOperateInfo' }, // 金融产品政策报备--已办 { path: '/jinrongzhengceFlow/financialpolicyreportingYiBanInfo', component: () => import('@/views/workFlow/jinrongzhengceFlow/financialpolicyreportingYiBanInfo.vue'), name: 'FinancialPolicyReportingYiBanInfo' }, // 流程审批 // 其它融产品报备--编辑 { path: '/qitarongchanpinFlow/otherfinancialproductsreportEdit', component: () => import('@/views/workFlow/qitarongchanpinFlow/otherfinancialproductsreportEdit.vue'), name: 'OtherFinancialProductsReportEdit' }, // 其它融产品报备--待办 { path: '/qitarongchanpinFlow/otherfinancialproductsreportDaiBan', component: () => import('@/views/workFlow/qitarongchanpinFlow/otherfinancialproductsreportDaiBan.vue'), name: 'OtherFinancialProductsReportDaiBan' }, // 其它融产品报备--待办--总经理跳转风控中心 { path: '/qitarongchanpinFlow/otherfinancialproductsreportByDivisionOperate', component: () => import('@/views/workFlow/qitarongchanpinFlow/otherfinancialproductsreportByDivisionOperate.vue'), name: 'OtherFinancialProductsReportByDivisionOperate' }, // 其它融产品报备--已办 { path: '/qitarongchanpinFlow/otherfinancialproductsreportYiBan', component: () => import('@/views/workFlow/qitarongchanpinFlow/otherfinancialproductsreportYiBan.vue'), name: 'OtherFinancialProductsReportYiBan' }, // 信用申诉--编辑 { path: '/xinyongshensuFlow/creditauditappealEdit', component: () => import('@/views/workFlow/xinyongshensuFlow/creditauditappealEdit.vue'), name: 'CreditAuditAppealEdit' }, // 信用申诉--待办 { path: '/xinyongshensuFlow/creditauditappealDaiBan', component: () => import('@/views/workFlow/xinyongshensuFlow/creditauditappealDaiBan.vue'), name: 'CreditAuditAppealDaiBan' }, // 信用申诉--已办 { path: '/xinyongshensuFlow/creditauditappealYiBan', component: () => import('@/views/workFlow/xinyongshensuFlow/creditauditappealYiBan.vue'), name: 'CreditAuditAppealYiBan' }, // 公司定制金融方案--编辑 { path: '/dingzhijinrongFlow/customizedfinancialsolutionsEdit', component: () => import('@/views/workFlow/dingzhijinrongFlow/customizedfinancialsolutionsEdit.vue'), name: 'CustomizedFinancialSolutionsEdit' }, // 公司定制金融方案--待办 { path: '/dingzhijinrongFlow/customizedfinancialsolutionsDaiBan', component: () => import('@/views/workFlow/dingzhijinrongFlow/customizedfinancialsolutionsDaiBan.vue'), name: 'CustomizedFinancialSolutionsDaiBan' }, // 公司定制金融方案--已办 { path: '/dingzhijinrongFlow/customizedfinancialsolutionsYiban', component: () => import('@/views/workFlow/dingzhijinrongFlow/customizedfinancialsolutionsYiban.vue'), name: 'CustomizedFinancialSolutionsYiBan' }, // 欠款客户备案--编辑 { path: '/qiankuanbeianFlow/delinquentcustomerfilingEdit', component: () => import('@/views/workFlow/qiankuanbeianFlow/delinquentcustomerfilingEdit.vue'), name: 'DelinquentCustomerFilingEdit' }, // 欠款客户备案--待办 { path: '/qiankuanbeianFlow/delinquentcustomerfilingDaiBan', component: () => import('@/views/workFlow/qiankuanbeianFlow/delinquentcustomerfilingDaiBan.vue'), name: 'DelinquentCustomerFilingDaiBan' }, // 欠款客户备案--已办 { path: '/qiankuanbeianFlow/customizedfinancialsolutionsYiban', component: () => import('@/views/workFlow/qiankuanbeianFlow/delinquentcustomerfilingYiBan.vue'), name: 'DelinquentCustomerFilingYiBan' }, // 家访考察申诉--待办 { path: '/jiafangshensuFlow/homeappealDaiBan', component: () => import('@/views/workFlow/jiafangshensuFlow/homeappealDaiBan.vue'), name: 'HomeAppealDaiBan' }, // 家访考察申诉--已办 { path: '/jiafangshensuFlow/homeappealYiBan', component: () => import('@/views/workFlow/jiafangshensuFlow/homeappealYiBan.vue'), name: 'HomeAppealYiBan' }, // 放款差额确认--编辑 { path: '/fangkuanquerenFlow/loanbalancerecognitionEdit', component: () => import('@/views/workFlow/fangkuanquerenFlow/loanbalancerecognitionEdit.vue'), name: 'LoanBalanceRecognitionEdit' }, // 放款差额确认--待办 { path: '/fangkuanquerenFlow/loanbalancerecognitionDaiBan', component: () => import('@/views/workFlow/fangkuanquerenFlow/loanbalancerecognitionDaiBan.vue'), name: 'LoanBalanceRecognitionDaiBan' }, // 放款差额确认--已办 { path: '/fangkuanquerenFlow/loanbalancerecognitionYiBan', component: () => import('@/views/workFlow/fangkuanquerenFlow/loanbalancerecognitionYiBan.vue'), name: 'LoanBalanceRecognitionYiBan' }, // 划扣申请管理--编辑 { path: '/huakouFlow/deductEdit', component: () => import('@/views/workFlow/huakouFlow/deductEdit.vue'), name: 'DeductEdit' }, // 划扣申请管理--待办 { path: '/huakouFlow/deductDaiBan', component: () => import('@/views/workFlow/huakouFlow/deductDaiBan.vue'), name: 'DeductDaiBan' }, // 划扣申请管理--已办 { path: '/huakouFlow/deductYiBan', component: () => import('@/views/workFlow/huakouFlow/deductYiBan.vue'), name: 'DeductYiBan' }, // 垫款申请管理--编辑 { path: '/diankuanFlow/advancerequestEdit', component: () => import('@/views/workFlow/diankuanFlow/advancerequestEdit.vue'), name: 'AdvanceRequestEdit' }, // 垫款申请管理--待办 { path: '/diankuanFlow/advancerequestDaiBan', component: () => import('@/views/workFlow/diankuanFlow/advancerequestDaiBan.vue'), name: 'AdvanceRequestDaiBan' }, // 垫款申请管理--已办 { path: '/diankuanFlow/advancerequestYiBan', component: () => import('@/views/workFlow/diankuanFlow/advancerequestYiBan.vue'), name: 'AdvanceRequestYiBan' }, // 代收代付申请管理--编辑 { path: '/daishoudaifuFlow/agentbusinessEdit', component: () => import('@/views/workFlow/daishoudaifuFlow/agentbusinessEdit.vue'), name: 'AgentBusinessEdit' }, // 代收代付申请管理--待办 { path: '/daishoudaifuFlow/agentbusinessDaiBan', component: () => import('@/views/workFlow/daishoudaifuFlow/agentbusinessDaiBan.vue'), name: 'AgentBusinessDaiBan' }, // 代收代付申请管理--已办 { path: '/daishoudaifuFlow/agentbusinessYiBan', component: () => import('@/views/workFlow/daishoudaifuFlow/agentbusinessYiBan.vue'), name: 'AgentBusinessYiBan' }, // 月还计提申请管理--编辑 { path: '/yuehuanjitiFlow/monthlyallowanceEdit', component: () => import('@/views/workFlow/yuehuanjitiFlow/monthlyallowanceEdit.vue'), name: 'MonthlyAllowanceEdit' }, // 月还计提申请管理--待办 { path: '/yuehuanjitiFlow/monthlyallowanceDaiBan', component: () => import('@/views/workFlow/yuehuanjitiFlow/monthlyallowanceDaiBan.vue'), name: 'MonthlyAllowanceDaiBan' }, // 月还计提申请管理--已办 { path: '/yuehuanjitiFlow/monthlyallowanceYiBan', component: () => import('@/views/workFlow/yuehuanjitiFlow/monthlyallowanceYiBan.vue'), name: 'MonthlyAllowanceYiBan' }, // 催收措施申请管理--编辑 { path: '/cuishoucuoshiFlow/collectionmeasuresEdit', component: () => import('@/views/workFlow/cuishoucuoshiFlow/collectionmeasuresEdit.vue'), name: 'CollectionMeasuresEdit' }, // 催收措施申请管理--待办 { path: '/cuishoucuoshiFlow/collectionmeasuresDaiBan', component: () => import('@/views/workFlow/cuishoucuoshiFlow/collectionmeasuresDaiBan.vue'), name: 'CollectionMeasuresDaiBan' }, // 催收措施申请管理--已办 { path: '/cuishoucuoshiFlow/collectionmeasuresYiBan', component: () => import('@/views/workFlow/cuishoucuoshiFlow/collectionmeasuresYiBan.vue'), name: 'CollectionMeasuresYiBan' }, // 车辆远程解控申请管理--编辑 { path: '/yuanchengjiekongFlow/remotedecontrolEdit', component: () => import('@/views/workFlow/yuanchengjiekongFlow/remotedecontrolEdit.vue'), name: 'RemotedeControlEdit' }, // 车辆远程解控申请管理--待办 { path: '/yuanchengjiekongFlow/remotedecontrolDaiBan', component: () => import('@/views/workFlow/yuanchengjiekongFlow/remotedecontrolDaiBan.vue'), name: 'RemotedeControlDaiBan' }, // 车辆远程解控申请管理--已办 { path: '/yuanchengjiekongFlow/remotedecontrolYiBan', component: () => import('@/views/workFlow/yuanchengjiekongFlow/remotedecontrolYiBan.vue'), name: 'RemotedeControlYiBan' }, // 车辆交回事前报备申请管理--编辑 { path: '/jiaohuibaobeiFlow/returnreserveEdit', component: () => import('@/views/workFlow/jiaohuibaobeiFlow/returnreserveEdit.vue'), name: 'ReturnReserveEdit' }, // 车辆交回事前报备申请管理--待办 { path: '/jiaohuibaobeiFlow/returnreserveDaiBan', component: () => import('@/views/workFlow/jiaohuibaobeiFlow/returnreserveDaiBan.vue'), name: 'ReturnReserveDaiBan' }, // 车辆交回事前报备申请管理--已办 { path: '/jiaohuibaobeiFlow/returnreserveYiBan', component: () => import('@/views/workFlow/jiaohuibaobeiFlow/returnreserveYiBan.vue'), name: 'ReturnReserveYiBan' }, // 财务逾期对账申请管理--编辑 { path: '/caiwuduizhangFlow/caiwuduizhangEdit', component: () => import('@/views/workFlow/caiwuduizhangFlow/caiwuduizhangEdit.vue'), name: 'CaiWuDuiZhangEdit' }, // 财务逾期对账申请管理--待办 { path: '/caiwuduizhangFlow/caiwuduizhangDaiBan', component: () => import('@/views/workFlow/caiwuduizhangFlow/caiwuduizhangDaiBan.vue'), name: 'CaiWuDuiZhangDaiBan' }, // 财务逾期对账申请管理--待办--金融审批导入 { path: '/caiwuduizhangFlow/caiwuduizhangByExport', component: () => import('@/views/workFlow/caiwuduizhangFlow/caiwuduizhangByExport.vue'), name: 'CaiWuDuiZhangByExport' }, // 财务逾期对账申请管理--已办 { path: '/caiwuduizhangFlow/caiwuduizhangYiBan', component: () => import('@/views/workFlow/caiwuduizhangFlow/caiwuduizhangYiBan.vue'), name: 'CaiWuDuiZhangYiBan' }, // 资方逾期对账申请管理--编辑 { path: '/zifangduizhangFlow/zifangduizhangEdit', component: () => import('@/views/workFlow/zifangduizhangFlow/zifangduizhangEdit.vue'), name: 'ZiFangDuiZhangEdit' }, // 资方逾期对账申请管理--待办 { path: '/zifangduizhangFlow/zifangduizhangDaiBan', component: () => import('@/views/workFlow/zifangduizhangFlow/zifangduizhangDaiBan.vue'), name: 'ZiFangDuiZhangDaiBan' }, // 资方逾期对账申请管理--已办 { path: '/zifangduizhangFlow/zifangduizhangYiBan', component: () => import('@/views/workFlow/zifangduizhangFlow/zifangduizhangYiBan.vue'), name: 'ZiFangDuiZhangYiBan' }, // 交回车辆入库申请管理--编辑 { path: '/jiaohuirukuFlow/returntostorageEdit', component: () => import('@/views/workFlow/jiaohuirukuFlow/returntostorageEdit.vue'), name: 'ReturnToStorageEdit' }, // 交回车辆入库申请管理--待办 { path: '/jiaohuirukuFlow/returntostorageDaiBan', component: () => import('@/views/workFlow/jiaohuirukuFlow/returntostorageDaiBan.vue'), name: 'ReturnToStorageDaiBan' }, // 交回车辆入库申请管理--已办 { path: '/jiaohuirukuFlow/returntostorageYiBan', component: () => import('@/views/workFlow/jiaohuirukuFlow/returntostorageYiBan.vue'), name: 'ReturnToStorageYiBan' }, // 交回车辆赎回申请管理--编辑 { path: '/jiaohuishuhuiFlow/surrenderforredemptionEdit', component: () => import('@/views/workFlow/jiaohuishuhuiFlow/surrenderforredemptionEdit.vue'), name: 'SurrenderForRedemptionEdit' }, // 交回车辆赎回申请管理--待办 { path: '/jiaohuishuhuiFlow/surrenderforredemptionDaiBan', component: () => import('@/views/workFlow/jiaohuishuhuiFlow/surrenderforredemptionDaiBan.vue'), name: 'SurrenderForRedemptionDaiBan' }, // 交回车辆赎回申请管理--已办 { path: '/jiaohuishuhuiFlow/surrenderforredemptionYiBan', component: () => import('@/views/workFlow/jiaohuishuhuiFlow/surrenderforredemptionYiBan.vue'), name: 'SurrenderForRedemptionYiBan' }, // 交回车辆二次销售申请管理--编辑 { path: '/ercixiaoshouFlow/secondarysalesEdit', component: () => import('@/views/workFlow/ercixiaoshouFlow/secondarysalesEdit.vue'), name: 'SecondarySalesEdit' }, // 交回车辆二次销售申请管理--待办 { path: '/ercixiaoshouFlow/secondarysalesDaiBan', component: () => import('@/views/workFlow/ercixiaoshouFlow/secondarysalesDaiBan.vue'), name: 'SecondarySalesDaiBan' }, // 交回车辆二次销售申请管理--待办--风控中心处置岗填写车辆评估价 { path: '/ercixiaoshouFlow/secondarysalesByPGJ', component: () => import('@/views/workFlow/ercixiaoshouFlow/secondarysalesByPGJ.vue'), name: 'SecondarySalesByPGJ' }, // 交回车辆二次销售申请管理--已办 { path: '/ercixiaoshouFlow/secondarysalesYiBan', component: () => import('@/views/workFlow/ercixiaoshouFlow/secondarysalesYiBan.vue'), name: 'SecondarySalesYiBan' }, // 交回车辆二次转租申请管理--编辑 { path: '/ercizhuanzuFlow/secondarysubletEdit', component: () => import('@/views/workFlow/ercizhuanzuFlow/secondarysubletEdit.vue'), name: 'SecondarySubletEdit' }, // 交回车辆二次转租申请管理--待办 { path: '/ercizhuanzuFlow/secondarysubletDaiBan', component: () => import('@/views/workFlow/ercizhuanzuFlow/secondarysubletDaiBan.vue'), name: 'SecondarySubletDaiBan' }, // 交回车辆二次转租申请管理--已办 { path: '/ercizhuanzuFlow/secondarysubletYiBan', component: () => import('@/views/workFlow/ercizhuanzuFlow/secondarysubletYiBan.vue'), name: 'SecondarySubletYiBan' }, // 交回车辆出库申请管理--编辑 { path: '/jiaohuichukuFlow/returntothewarehouseEdit', component: () => import('@/views/workFlow/jiaohuichukuFlow/returntothewarehouseEdit.vue'), name: 'ReturnToTheWarehouseEdit' }, // 交回车辆出库申请管理--待办 { path: '/jiaohuichukuFlow/returntothewarehouseDaiBan', component: () => import('@/views/workFlow/jiaohuichukuFlow/returntothewarehouseDaiBan.vue'), name: 'ReturnToTheWarehouseDaiBan' }, // 交回车辆出库申请管理--已办 { path: '/jiaohuichukuFlow/returntothewarehouseYiBan', component: () => import('@/views/workFlow/jiaohuichukuFlow/returntothewarehouseYiBan.vue'), name: 'ReturnToTheWarehouseYiBan' }, // 车辆结清管理--编辑 { path: '/jieqingFlow/settleEdit', component: () => import('@/views/workFlow/jieqingFlow/settleEdit.vue'), name: 'SettleEdit' }, // 车辆结清管理--待办 { path: '/jieqingFlow/settleDaiBan', component: () => import('@/views/workFlow/jieqingFlow/settleDaiBan.vue'), name: 'SettleDaiBan' }, // 车辆结清管理--已办 { path: '/jieqingFlow/settleYiBan', component: () => import('@/views/workFlow/jieqingFlow/settleYiBan.vue'), name: 'SettleYiBan' }, // 车辆回购管理--编辑 { path: '/huigouFlow/buybackEdit', component: () => import('@/views/workFlow/huigouFlow/buybackEdit.vue'), name: 'BuyBackEdit' }, // 车辆回购管理--待办 { path: '/huigouFlow/buybackDaiBan', component: () => import('@/views/workFlow/huigouFlow/buybackDaiBan.vue'), name: 'BuyBackDaiBan' }, // 车辆回购管理--已办 { path: '/huigouFlow/buybackYiBan', component: () => import('@/views/workFlow/huigouFlow/buybackYiBan.vue'), name: 'BuyBackYiBan' }, // 案件诉讼管理--编辑 { path: '/susongFlow/caseactionEdit', component: () => import('@/views/workFlow/susongFlow/caseactionEdit.vue'), name: 'CaseActionEdit' }, // 案件诉讼管理--待办 { path: '/susongFlow/caseactionDaiBan', component: () => import('@/views/workFlow/susongFlow/caseactionDaiBan.vue'), name: 'CaseActionDaiBan' }, // 案件诉讼管理--已办 { path: '/susongFlow/caseactionYiBan', component: () => import('@/views/workFlow/susongFlow/caseactionYiBan.vue'), name: 'CaseActionYiBan' }, // 案件委托律师管理--编辑 { path: '/weituoFlow/casedelegationEdit', component: () => import('@/views/workFlow/weituoFlow/casedelegationEdit.vue'), name: 'CaseDelegationEdit' }, // 案件委托律师管理--待办 { path: '/weituoFlow/casedelegationDaiBan', component: () => import('@/views/workFlow/weituoFlow/casedelegationDaiBan.vue'), name: 'CaseDelegationDaiBan' }, // 案件委托律师管理--已办 { path: '/weituoFlow/casedelegationYiBan', component: () => import('@/views/workFlow/weituoFlow/casedelegationYiBan.vue'), name: 'CaseDelegationYiBan' }, // 案件上诉管理--编辑 { path: '/shangsuFlow/caseappealEdit', component: () => import('@/views/workFlow/shangsuFlow/caseappealEdit.vue'), name: 'CaseAppealEdit' }, // 案件上诉管理--待办 { path: '/shangsuFlow/caseappealDaiBan', component: () => import('@/views/workFlow/shangsuFlow/caseappealDaiBan.vue'), name: 'CaseAppealDaiBan' }, // 案件上诉管理--已办 { path: '/shangsuFlow/caseappealYiBan', component: () => import('@/views/workFlow/shangsuFlow/caseappealYiBan.vue'), name: 'CaseAppealYiBan' }, // 案件执行管理--编辑 { path: '/zhixingFlow/CaseExecutionEdit', component: () => import('@/views/workFlow/zhixingFlow/caseexecutionEdit.vue'), name: 'CaseExecutionEdit' }, // 案件执行管理--待办 { path: '/zhixingFlow/caseexecutionDaiBan', component: () => import('@/views/workFlow/zhixingFlow/caseexecutionDaiBan.vue'), name: 'CaseExecutionDaiBan' }, // 案件执行管理--已办 { path: '/zhixingFlow/caseexecutionYiBan', component: () => import('@/views/workFlow/zhixingFlow/caseexecutionYiBan.vue'), name: 'CaseExecutionYiBan' }, // 案件结案管理--编辑 { path: '/jieanFlow/caseclosedEdit', component: () => import('@/views/workFlow/jieanFlow/caseclosedEdit.vue'), name: 'CaseClosedEdit' }, // 案件结案管理--待办 { path: '/jieanFlow/caseclosedDaiBan', component: () => import('@/views/workFlow/jieanFlow/caseclosedDaiBan.vue'), name: 'CaseClosedDaiBan' }, // 案件结案管理--已办 { path: '/jieanFlow/caseclosedYiBan', component: () => import('@/views/workFlow/jieanFlow/caseclosedYiBan.vue'), name: 'CaseClosedYiBan' }, // 404 page must be placed at the end !!! // { path: '*', redirect: '/404', hidden: true } ] const createRouter = () => new Router({ // mode: 'history', // require service support scrollBehavior: () => ({ y: 0 }), routes: constantRoutes }) const router = createRouter() // Detail see: https://github.com/vuejs/vue-router/issues/1234#issuecomment-357941465 export function resetRouter() { const newRouter = createRouter() router.matcher = newRouter.matcher // reset router } export default router