You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
730 lines
21 KiB
730 lines
21 KiB
import Vue from 'vue'
|
|
import Router from 'vue-router'
|
|
/* Layout */
|
|
import Layout from '@/layout'
|
|
/* 所有角色可以访问/没有权限要求的基页 */
|
|
import codemenu from './modules/codemenu'
|
|
|
|
Vue.use(Router)
|
|
|
|
export const constantRoutes = [
|
|
{
|
|
path: '/redirect',
|
|
component: Layout,
|
|
hidden: true,
|
|
children: [{
|
|
path: '/redirect/:path(.*)',
|
|
component: () => import('@/views/redirect/index.vue')
|
|
}]
|
|
},
|
|
{
|
|
path: '/',
|
|
redirect: 'index'
|
|
}, {
|
|
path: '/login',
|
|
component: () => import('@/views/login/login.vue')
|
|
}, {
|
|
path: '/home',
|
|
component: () => import('@/views/Home/Home.vue'),
|
|
name: 'home'
|
|
|
|
}, {
|
|
path: '/index',
|
|
component: Layout,
|
|
redirect: '/index',
|
|
children: [{
|
|
path: '/index',
|
|
component: () =>
|
|
import('@/views/index.vue'),
|
|
name: 'index',
|
|
meta: {
|
|
title: '主页',
|
|
noCache: true,
|
|
affix: true
|
|
}
|
|
}]
|
|
},
|
|
...codemenu,
|
|
{
|
|
path: '/404',
|
|
component: () =>
|
|
import('@/views/404'),
|
|
hidden: true
|
|
},
|
|
// 询价车型
|
|
{
|
|
path: '/xunjiachexing',
|
|
component: Layout,
|
|
redirect: '/xunjiachexing',
|
|
meta: {
|
|
title: '询价车型'
|
|
},
|
|
children: [{
|
|
path: '/xunjiachexing/chexinghejia',
|
|
component: () =>
|
|
import('@/views/xunjiachexing/chexinghejia.vue'),
|
|
name: 'chexinghejia',
|
|
meta: {
|
|
title: '车型核价'
|
|
}
|
|
}]
|
|
},
|
|
//
|
|
{
|
|
path: '/teshushenpi',
|
|
component: Layout,
|
|
redirect: '/teshushenpi',
|
|
meta: {
|
|
title: '特殊审批'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/teshushenpi/qiankuanticheguanli',
|
|
component: () =>
|
|
import('@/views/teshushenpi/qiankuanticheguanli/qiankuanticheguanli.vue'),
|
|
name: 'qiankuanticheguanli',
|
|
meta: { title: '欠款提车', noCache: true }
|
|
}
|
|
]
|
|
},
|
|
// 客户管理
|
|
{
|
|
path: '/kehuguanli',
|
|
component: Layout,
|
|
redirect: '/kehuguanli',
|
|
meta: {
|
|
title: '客户管理'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/kehuguanli/kehudangan',
|
|
component: () =>
|
|
import('@/views/kehuguanli/kehudangan/kehudangan.vue'),
|
|
name: 'kehudangan',
|
|
meta: { title: '客户档案', noCache: true }
|
|
}
|
|
]
|
|
},
|
|
// 客户查询
|
|
{
|
|
path: '/kehuguanli',
|
|
component: Layout,
|
|
redirect: '/kehuguanli',
|
|
meta: {
|
|
title: '客户查询'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/kehuguanli/kehuchaxun',
|
|
component: () =>
|
|
import('@/views/kehuguanli/kehuchaxun/kehuchaxun.vue'),
|
|
name: 'kehuchaxun',
|
|
meta: { title: '客户查询', noCache: true }
|
|
}]
|
|
},
|
|
// 出库管理
|
|
{
|
|
path: '/chukuguanli',
|
|
component: Layout,
|
|
redirect: '/chukuguanli',
|
|
meta: {
|
|
title: '出库管理'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/chukuguanli/chukubanli',
|
|
component: () =>
|
|
import('@/views/chukuguanli/chukubanli/chukushenqing.vue'),
|
|
name: 'chukushenqing',
|
|
meta: { title: '出库办理', noCache: true }
|
|
}
|
|
]
|
|
},
|
|
// 销售管理
|
|
{
|
|
path: '/xiaoshouguanli',
|
|
component: Layout,
|
|
redirect: '/xiaoshouguanli',
|
|
meta: {
|
|
title: '销售管理'
|
|
},
|
|
children: [
|
|
// 简易订单(原虚拟订车单)
|
|
{
|
|
path: '/xiaoshouguanli/xunidingdanguanli',
|
|
component: () =>
|
|
import('@/views/xiaoshouguanli/xunidingdan/xunidingdanguanli.vue'),
|
|
name: 'xunidingdanguanli',
|
|
meta: {
|
|
title: '简易订单'
|
|
}
|
|
},
|
|
// 销售订单管理
|
|
{
|
|
path: '/xiaoshouguanli/dingdanxinxi',
|
|
component: () =>
|
|
import('@/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdan.vue'),
|
|
name: 'xiaoshoudingdan',
|
|
meta: {
|
|
title: '销售订单管理'
|
|
}
|
|
},
|
|
// 销售订单退车申请
|
|
{
|
|
path: '/xiaoshouguanli/xiaoshoudingdantuiche',
|
|
component: () =>
|
|
import('@/views/xiaoshouguanli/xiaoshoudingdantuiche/salesorderbycar.vue'),
|
|
name: 'XiaoShouDingDanTuiChe',
|
|
meta: {
|
|
title: '销售订单退车', noCache: true
|
|
}
|
|
},
|
|
{
|
|
path: '/xiaoshouguanli/xiaoshouzhengce',
|
|
component: () =>
|
|
import('@/views/xiaoshouguanli/xiaoshouzhengce/xiaoshouzhengce.vue'),
|
|
name: 'xiaoshouzhengce',
|
|
meta: {
|
|
title: '销售政策管理'
|
|
}
|
|
},
|
|
{
|
|
path: '/xiaoshouguanli/xiaoshourangjia',
|
|
component: () =>
|
|
import('@/views/xiaoshouguanli/xiaoshourangjia/xiaoshourangjiaguanli.vue'),
|
|
name: 'xiaoshourangjiaguanli',
|
|
meta: {
|
|
title: '销售让价权限管理'
|
|
}
|
|
},
|
|
{
|
|
path: '/xiaoshouguanli/dingdanchaxun',
|
|
component: () =>
|
|
import('@/views/xiaoshouguanli/dingdanchaxun/xiaoshoudingdanchaxun.vue'),
|
|
name: 'XiaoShouDingDanChaXun',
|
|
meta: {
|
|
title: '销售订单查询', noCache: true
|
|
}
|
|
},
|
|
{
|
|
path: '/xiaoshouguanli/suicheziliaojiaojie',
|
|
component: () =>
|
|
import('@/views/xiaoshouguanli/suicheziliaojiaojie/cardatatobehandedover.vue'),
|
|
name: 'DaiJiaoJieSuiCheZiLiao',
|
|
meta: { title: '随车资料交接管理', noCache: true }
|
|
},
|
|
// {
|
|
// path: '/xiaoshouguanli/suicheziliaoguanli',
|
|
// component: () =>
|
|
// import('@/views/xiaoshouguanli/suicheziliaoguanli/datapreparation.vue'),
|
|
// name: 'JiaoCheCheZiLiao',
|
|
// meta: { title: '交车资料管理', noCache: true }
|
|
// },
|
|
// 车辆交付
|
|
{
|
|
path: '/xiaoshouguanli/cheliangjiaofu',
|
|
component: () =>
|
|
import('@/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue'),
|
|
name: 'cheliangjiaofu',
|
|
meta: {
|
|
title: '车辆交付'
|
|
}
|
|
},
|
|
// 客户登记单
|
|
{
|
|
path: '/xiaoshouguanli/kehudengjidan',
|
|
component: () =>
|
|
import('@/views/xiaoshouguanli/kehudengjidan/kehudengjidan.vue'),
|
|
name: 'kehudengjidan',
|
|
meta: {
|
|
title: '客户登记单'
|
|
}
|
|
},
|
|
// 客户登记单下的车辆需求
|
|
{
|
|
path: '/xiaoshouguanli/cheliangxuqiu',
|
|
component: () =>
|
|
import('@/views/xiaoshouguanli/cheliangxuqiu/cheliangxuqiu.vue'),
|
|
name: 'cheliangxuqiu',
|
|
meta: {
|
|
title: '车辆需求'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
// 合同管理
|
|
{
|
|
path: '/hetongguanli',
|
|
component: Layout,
|
|
redirect: '/hetongguanli',
|
|
meta: {
|
|
title: '合同管理'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/hetongguanli/hetongdanganguanli',
|
|
component: () =>
|
|
import('@/views/hetongguanli/hetongdanganguanli/hetongdanganguanli.vue'),
|
|
name: 'HeTongDangAnGuanLi',
|
|
meta: { title: '合同审核管理', noCache: true }
|
|
},
|
|
{
|
|
path: '/hetongguanli/hetongshenheguanli',
|
|
component: () =>
|
|
import('@/views/hetongguanli/hetongshenheguanli/hetongshenheguanli.vue'),
|
|
name: 'HeTongShenHeGuanLi',
|
|
meta: { title: '合同档案管理', noCache: true }
|
|
},
|
|
// 模板
|
|
{
|
|
path: '/hetongguanli/hetongmobanguanli',
|
|
component: () =>
|
|
import('@/views/hetongguanli/hetongmobanguanli/hetongmobanguanli.vue'),
|
|
name: 'HeTongMoBanGuanLi',
|
|
meta: { title: '合同模板管理', noCache: true }
|
|
}
|
|
]
|
|
},
|
|
// 车型简介
|
|
{
|
|
path: '/chexingchaxun',
|
|
component: Layout,
|
|
redirect: '/chexingchaxun',
|
|
meta: {
|
|
title: '车型简介'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/chexingchaxun/modelinquire',
|
|
component: () =>
|
|
import('@/views/chexingchaxun/modelinquire/modellibrary.vue'),
|
|
name: 'chexingchaxun',
|
|
meta: {
|
|
title: '车型简介'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
// 盖章管理
|
|
{
|
|
path: '/gaizhangguanli',
|
|
component: Layout,
|
|
redirect: '/gaizhangguanli',
|
|
meta: {
|
|
title: '盖章管理'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/gaizhangguanli/gaizhangshenqingguanli',
|
|
component: () =>
|
|
import('@/views/gaizhanggunali/gaizhangshenqingguanli/gaizhangguanli.vue'),
|
|
name: 'gaizhangguanli',
|
|
meta: {
|
|
title: '盖章申请管理'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
// 正常开票管理
|
|
{
|
|
path: '/kaipiaoguanli',
|
|
component: Layout,
|
|
redirect: '/kaipiaoguanli',
|
|
meta: {
|
|
title: '企业开票信息管理'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/kaipiaoguanli/qiyekaipiaoxinxi',
|
|
component: () =>
|
|
import('@/views/kaipiaoguanli/qiyekaipiaoxinxi/kaipiaoxinxiguanli.vue'),
|
|
name: 'kaipiaoxinxiguanli',
|
|
meta: {
|
|
title: '企业开票信息管理', noCache: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
// 优惠包
|
|
{
|
|
path: '/discountpackage',
|
|
component: Layout,
|
|
redirect: '/discountpackage',
|
|
meta: {
|
|
title: '优惠包申请'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/discountpackage',
|
|
component: () =>
|
|
import('@/views/discountpackage/discountpackage.vue'),
|
|
name: 'YouHuiBaoShenQing',
|
|
meta: { title: '优惠包申请', noCache: true }
|
|
}
|
|
]
|
|
},
|
|
// 交车准备
|
|
{
|
|
path: '/xiaoshouguanli/jiaochezhunbei',
|
|
component: Layout,
|
|
redirect: '/xiaoshouguanli/jiaochezhunbei',
|
|
meta: {
|
|
title: '交车准备'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/xiaoshouguanli/jiaochezhunbei',
|
|
component: () =>
|
|
import('@/views/xiaoshouguanli/jiaochezhunbei/readyfordelivery.vue'),
|
|
name: 'DaiJiaoCheZhunBei',
|
|
meta: { title: '交车准备', noCache: true }
|
|
}
|
|
]
|
|
},
|
|
// 交车准备
|
|
{
|
|
path: '/xiaoshouguanli/jiaochebanli',
|
|
component: Layout,
|
|
redirect: '/xiaoshouguanli/jiaochebanli',
|
|
meta: {
|
|
title: '交车办理'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/xiaoshouguanli/jiaochebanli',
|
|
component: () =>
|
|
import('@/views/xiaoshouguanli/jiaochebanli/cartobedelivered.vue'),
|
|
name: 'DaiJiaoChe',
|
|
meta: { title: '交车办理', noCache: true }
|
|
}
|
|
]
|
|
},
|
|
{
|
|
path: '/fapiaoneibujieshou',
|
|
component: Layout,
|
|
redirect: '/fapiaoneibujieshou',
|
|
meta: {
|
|
title: '发票内部接收管理'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/fapiaoneibujieshou',
|
|
component: () =>
|
|
import('@/views/fapiaoneibujieshou/Internalinvoicetobereceived.vue'),
|
|
name: 'fapiaoneibudaijieshou',
|
|
meta: { title: '发票内部接收管理', noCache: true }
|
|
}
|
|
]
|
|
},
|
|
{
|
|
path: '/discountpackagehandover',
|
|
component: Layout,
|
|
redirect: '/discountpackagehandover',
|
|
meta: {
|
|
title: '优惠包交接'
|
|
},
|
|
children: [
|
|
{
|
|
path: '/discountpackagehandover',
|
|
component: () =>
|
|
import('@/views/discountpackagehandover/discountpackagetobehandover.vue'),
|
|
name: 'YouHuiBaoDaiJiaoJie',
|
|
meta: { title: '优惠包交接', noCache: true }
|
|
}
|
|
]
|
|
},
|
|
// 流程所需页面路径
|
|
// 订金收取审批、发起人详情页面
|
|
{
|
|
path: '/xiaoshouguanliFlow/xunidingdan/dingjinshouquInfo',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xunidingdanFlow/dingjinshouquInfo.vue'),
|
|
name: 'dingjinshouquInfo'
|
|
},
|
|
// 订金收取发起人办理编辑页面
|
|
{
|
|
path: '/xiaoshouguanliFlow/xunidingdan/dingjinshouquEdit',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xunidingdanFlow/dingjinshouquEdit.vue'),
|
|
name: 'dingjinshouquEdit'
|
|
},
|
|
// 订金收取审批办理页面
|
|
{
|
|
path: '/xiaoshouguanliFlow/xunidingdan/dingjinshouqu',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xunidingdanFlow/dingjinshouqu.vue'),
|
|
name: 'dingjinshouqu'
|
|
},
|
|
|
|
// 车辆预定审批办理页面
|
|
{
|
|
path: '/xiaoshouguanliFlow/xunidingdan/cheliangyuding',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xunidingdanFlow/cheliangyuding.vue'),
|
|
name: 'cheliangyuding'
|
|
},
|
|
// 车辆预定发起人办理编辑页面
|
|
{
|
|
path: '/xiaoshouguanliFlow/xunidingdan/cheliangyudingEdit',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xunidingdanFlow/cheliangyudingEdit.vue'),
|
|
name: 'cheliangyudingEdit'
|
|
},
|
|
// 车辆预定审批、发起人详情页面
|
|
{
|
|
path: '/xiaoshouguanliFlow/xunidingdan/cheliangyudingInfo',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xunidingdanFlow/cheliangyudingInfo.vue'),
|
|
name: 'cheliangyudingInfo'
|
|
},
|
|
|
|
// 特殊审批
|
|
// 欠款提车申请已办详情
|
|
{
|
|
path: '/teshushenpiFlow/qiankuanticheguanli/qiankuanticheYiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/teshushenpiFlow/qiankuanticheguanli/qiankuanticheYiBanInfo.vue'),
|
|
name: 'qiankuanticheYiBanInfo'
|
|
},
|
|
// 欠款提车编辑
|
|
{
|
|
path: '/teshushenpiFlow/qiankuanticheguanli/qiankuanticheEdit',
|
|
component: () =>
|
|
import('@/views/workflow/teshushenpiFlow/qiankuanticheguanli/qiankuanticheEdit.vue'),
|
|
name: 'qiankuanticheEdit'
|
|
},
|
|
// 欠款提车待办
|
|
{
|
|
path: '/teshushenpiFlow/qiankuanticheguanli/qiankuanticheDaiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/teshushenpiFlow/qiankuanticheguanli/qiankuanticheDaiBanInfo.vue'),
|
|
name: 'qiankuanticheDaiBanInfo'
|
|
},
|
|
// 欠款提车待办-- 修改附件信息(销售内勤--车辆买卖合同、总经理担保书、欠款提车担保承诺书必须上传)
|
|
{
|
|
path: '/teshushenpiFlow/qiankuanticheguanli/qiankuanticheDaiBanByFileInfo',
|
|
component: () =>
|
|
import('@/views/workflow/teshushenpiFlow/qiankuanticheguanli/qiankuanticheDaiBanByFileInfo.vue'),
|
|
name: 'qiankuanticheDaiBanByFileInfo'
|
|
},
|
|
// 欠款提车待办-- 修改附件信息(销售经理--其他附件(信审截图)必须上传)
|
|
{
|
|
path: '/teshushenpiFlow/qiankuanticheguanli/qiankuanticheDaiBanByFileAndQiTaInfo',
|
|
component: () =>
|
|
import('@/views/workflow/teshushenpiFlow/qiankuanticheguanli/qiankuanticheDaiBanByFileAndQiTaInfo.vue'),
|
|
name: 'qiankuanticheDaiBanByFileAndQiTaInfo'
|
|
},
|
|
// 欠款提车待办-- 跨事业部
|
|
{
|
|
path: '/teshushenpiFlow/qiankuanticheguanli/qiankuanticheByDivisionDaiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/teshushenpiFlow/qiankuanticheguanli/qiankuanticheByDivisionDaiBanInfo.vue'),
|
|
name: 'qiankuanticheByDivisionDaiBanInfo'
|
|
},
|
|
|
|
// 合同管理
|
|
// 合同档案编辑
|
|
{
|
|
path: '/hetongguanliFlow/hetongdanganguanli/hetongdanganEdit',
|
|
component: () =>
|
|
import('@/views/workflow/hetongguanliFlow/hetongdanganguanli/hetongdanganEdit.vue'),
|
|
name: 'HeTongDangAnEdit'
|
|
},
|
|
// 合同档案已办详情
|
|
{
|
|
path: '/hetongguanliFlow/hetongdanganguanli/hetongdanganYiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/hetongguanliFlow/hetongdanganguanli/hetongdanganYiBanInfo.vue'),
|
|
name: 'HeTongDangAnYiBanInfo'
|
|
},
|
|
// 合同档案待办详情--审核过程中修改附件
|
|
{
|
|
path: '/hetongguanliFlow/hetongdanganguanli/hetongdanganDaiBanByFileInfo',
|
|
component: () =>
|
|
import('@/views/workflow/hetongguanliFlow/hetongdanganguanli/hetongdanganDaiBanByFileInfo.vue'),
|
|
name: 'hetongdanganDaiBanByFileInfo'
|
|
},
|
|
|
|
// 盖章管理
|
|
// 盖章申请详情
|
|
{
|
|
path: '/gaizhangguanliFlow/gaizhangshenqingguanli/gaizhangshenqingInfo.vue',
|
|
component: () =>
|
|
import('@/views/workflow/gaizhangguanliFlow/gaizhangshenqingguanli/gaizhangshenqingInfo.vue'),
|
|
name: 'gaizhangshenqingInfo'
|
|
},
|
|
// 盖章申请编辑
|
|
{
|
|
path: '/gaizhangguanliFlow/gaizhangshenqingguanli/gaizhangshenqingEdit.vue',
|
|
component: () =>
|
|
import('@/views/workflow/gaizhangguanliFlow/gaizhangshenqingguanli/gaizhangshenqingEdit.vue'),
|
|
name: 'gaizhangshenqingEdit'
|
|
},
|
|
// 销售管理-销售订单流程
|
|
// 销售管理办理详情
|
|
{
|
|
path: '/xiaoshouguanliFlow/xiaoshoudingdan/xiaoshoudingdan',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdan.vue'),
|
|
name: 'XiaoShouDingDanDaiBanInfo'
|
|
},
|
|
// 销售管理已办详情
|
|
{
|
|
path: '/xiaoshouguanliFlow/xiaoshoudingdan/xiaoshoudingdanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdanInfo.vue'),
|
|
name: 'XiaoShouDingDanYiBanInfo'
|
|
},
|
|
// 销售管理待办详情--销售支出部经理审批环节--选择采购系统
|
|
{
|
|
path: '/xiaoshouguanliFlow/xiaoshoudingdan/xiaoshoudingdanByCaiGou',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdanByCaiGou.vue'),
|
|
name: 'xiaoshoudingdanByCaiGou'
|
|
},
|
|
// 销售管理待办详情--金融部经理审批环节--金融方案可编辑
|
|
{
|
|
path: '/xiaoshouguanliFlow/xiaoshoudingdan/xiaoshoudingdanByJinRong',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdanByJinRong.vue'),
|
|
name: 'xiaoshoudingdanByJinRong'
|
|
},
|
|
// 销售管理驳回到发起人办理
|
|
{
|
|
path: '/xiaoshouguanliFlow/xiaoshoudingdan/xiaoshoudingdanEdit',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xiaoshoudingdanFlow/xiaoshoudingdanEdit.vue'),
|
|
name: 'xiaoshoudingdanFlowEdit'
|
|
},
|
|
// 出库申请管理待办详情
|
|
{
|
|
path: '/chukuguanliFlow/chukuguanli/chukuDaiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/chukuguanliFlow/chukuguanli/chukuDaiBanInfo.vue'),
|
|
name: 'chukuDaiBanInfo'
|
|
},
|
|
// 出库申请管理已办详情
|
|
{
|
|
path: '/chukuguanliFlow/chukuguanli/chukuYiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/chukuguanliFlow/chukuguanli/chukuYiBanInfo.vue'),
|
|
name: 'chukuYiBanInfo'
|
|
},
|
|
// 出库申请管理驳回到发起人办理
|
|
{
|
|
path: '/chukuguanliFlow/chukuguanli/chukuEdit',
|
|
component: () =>
|
|
import('@/views/workflow/chukuguanliFlow/chukuguanli/chukuEdit.vue'),
|
|
name: 'chukuEdit'
|
|
},
|
|
|
|
// 销售政策申请管理待办详情
|
|
{
|
|
path: '/xiaoshouguanliFlow/xiaoshouzhengceFlow/xiaoshouzhengceDaiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xiaoshouzhengceFlow/xiaoshouzhengceDaiBanInfo.vue'),
|
|
name: 'xiaoshouzhengceDaiBanInfo'
|
|
},
|
|
// 销售政策申请管理已办详情
|
|
{
|
|
path: '/xiaoshouguanliFlow/xiaoshouzhengceFlow/xiaoshouzhengceYiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xiaoshouzhengceFlow/xiaoshouzhengceYiBanInfo.vue'),
|
|
name: 'xiaoshouzhengceYiBanInfo'
|
|
},
|
|
// 销售政策申请管理驳回到发起人办理
|
|
{
|
|
path: '/xiaoshouguanliFlow/xiaoshouzhengceFlow/xiaoshouzhengceEdit',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xiaoshouzhengceFlow/xiaoshouzhengceEdit.vue'),
|
|
name: 'xiaoshouzhengceEdit'
|
|
},
|
|
|
|
// 销售订单退车申请管理待办详情
|
|
{
|
|
path: '/xiaoshouguanliFlow/xiaoshoudingdantuicheFlow/salesorderbycarDaiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xiaoshoudingdantuicheFlow/salesorderbycarDaiBanInfo.vue'),
|
|
name: 'XiaoShouDingDanTuiCheDaiBanInfo'
|
|
},
|
|
// 销售订单退车申请管理已办详情
|
|
{
|
|
path: '/xiaoshouguanliFlow/xiaoshoudingdantuicheFlow/salesorderbycarYiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xiaoshoudingdantuicheFlow/salesorderbycarYiBanInfo.vue'),
|
|
name: 'XiaoShouDingDanTuiCheYiBanInfo'
|
|
},
|
|
// 销售订单退车申请管理驳回到发起人办理
|
|
{
|
|
path: '/xiaoshouguanliFlow/xiaoshoudingdantuicheFlow/salesorderbycarEdit',
|
|
component: () =>
|
|
import('@/views/workflow/xiaoshouguanliFlow/xiaoshoudingdantuicheFlow/salesorderbycarEdit.vue'),
|
|
name: 'XiaoShouDingDanTuiCheEdit'
|
|
},
|
|
|
|
// 优惠包申请管理待办详情
|
|
{
|
|
path: '/youhuibaoFlow/youhuibaoDaiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/youhuibaoFlow/youhuibaoDaiBanInfo.vue'),
|
|
name: 'YouHuiBaoDaiBanInfo'
|
|
},
|
|
// 优惠包申请管理已办详情
|
|
{
|
|
path: '/youhuibaoFlow/youhuibaoYiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/youhuibaoFlow/youhuibaoYiBanInfo.vue'),
|
|
name: 'YouHuiBaoYiBanInfo'
|
|
},
|
|
// 优惠包申请管理驳回到发起人办理
|
|
{
|
|
path: '/youhuibaoFlow/youhuibaoEdit',
|
|
component: () =>
|
|
import('@/views/workflow/youhuibaoFlow/youhuibaoEdit.vue'),
|
|
name: 'YouHuiBaoEdit'
|
|
},
|
|
|
|
// 交车办理待办详情
|
|
{
|
|
path: '/jiaochebanliFlow/deliveryconfirmationDaiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/jiaochebanliFlow/deliveryconfirmationDaiBanInfo.vue'),
|
|
name: 'DeliveryconfirmationDaiBanInfo'
|
|
},
|
|
// 交车办理已办详情
|
|
{
|
|
path: '/jiaochebanliFlow/deliveryconfirmationYiBanInfo',
|
|
component: () =>
|
|
import('@/views/workflow/jiaochebanliFlow/deliveryconfirmationYiBanInfo.vue'),
|
|
name: 'DeliveryconfirmationYiBanInfo'
|
|
},
|
|
// 交车办理驳回到发起人办理
|
|
{
|
|
path: '/jiaochebanliFlow/deliveryconfirmationEdit',
|
|
component: () =>
|
|
import('@/views/workflow/jiaochebanliFlow/deliveryconfirmationEdit.vue'),
|
|
name: 'DeliveryconfirmationEdit'
|
|
}
|
|
|
|
// 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
|
|
|