2024-03-15 10:59:17 +08:00
|
|
|
import VueRouter from "vue-router";
|
|
|
|
|
|
|
|
|
|
const routes=[
|
|
|
|
|
{
|
|
|
|
|
path:'/login',
|
|
|
|
|
name:'login',
|
|
|
|
|
component: () => import('../components/Login')
|
|
|
|
|
},
|
2024-04-03 14:41:00 +08:00
|
|
|
{
|
|
|
|
|
path:'/',
|
|
|
|
|
name:'login',
|
|
|
|
|
component: () => import('../components/Login')
|
|
|
|
|
},
|
2024-03-15 10:59:17 +08:00
|
|
|
{
|
|
|
|
|
path:'/index',
|
|
|
|
|
name:'index',
|
|
|
|
|
component: () => import('../components/Index'),
|
|
|
|
|
children:[
|
|
|
|
|
{
|
|
|
|
|
path:'/home',
|
|
|
|
|
name:'home',
|
|
|
|
|
meta:{
|
|
|
|
|
title:'首页'
|
|
|
|
|
},
|
2024-04-12 11:52:09 +08:00
|
|
|
component: () => import('../components/duochaxun/dcx')
|
2024-03-15 10:59:17 +08:00
|
|
|
},
|
|
|
|
|
{
|
2024-04-02 09:34:54 +08:00
|
|
|
path:'/Zhengliqingdan',
|
|
|
|
|
name:'Zhengliqingdan',
|
2024-03-15 10:59:17 +08:00
|
|
|
meta:{
|
2024-04-02 09:34:54 +08:00
|
|
|
title:'整理完成未上架清单'
|
2024-03-15 10:59:17 +08:00
|
|
|
},
|
2024-04-02 09:34:54 +08:00
|
|
|
component: () => import('@/components/duochaxun/Zhengliqingdan.vue')
|
2024-03-15 10:59:17 +08:00
|
|
|
},
|
|
|
|
|
{
|
2024-04-02 09:34:54 +08:00
|
|
|
path:'/Rukuzhengli',
|
|
|
|
|
name:'Rukuzhengli',
|
2024-03-15 10:59:17 +08:00
|
|
|
meta:{
|
2024-04-08 17:44:37 +08:00
|
|
|
title:'入库整理'
|
2024-03-15 10:59:17 +08:00
|
|
|
},
|
2024-04-02 09:34:54 +08:00
|
|
|
component: () => import('@/components/duochaxun/Rukuzhengli.vue')
|
2024-04-08 17:44:37 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path:'/Kucunhuizong',
|
|
|
|
|
name:'Kucunhuizong',
|
|
|
|
|
meta:{
|
|
|
|
|
title:'库存汇总界面'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/components/duochaxun/Kucunhuizong.vue')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path:'/Jianhuojiemian',
|
|
|
|
|
name:'Jianhuojiemian',
|
|
|
|
|
meta:{
|
|
|
|
|
title:'拣货界面'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/components/duochaxun/Jianhuojiemian.vue')
|
|
|
|
|
},
|
2024-04-09 14:30:07 +08:00
|
|
|
{
|
|
|
|
|
path:'/Kucunrizhi',
|
|
|
|
|
name:'Kucunrizhi',
|
|
|
|
|
meta:{
|
|
|
|
|
title:'库存操作日志'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/components/duochaxun/Kucunrizhi.vue')
|
|
|
|
|
},
|
2024-04-12 11:52:09 +08:00
|
|
|
{
|
|
|
|
|
path:'/dcx',
|
|
|
|
|
name:'dcx',
|
|
|
|
|
meta:{
|
|
|
|
|
title:'多查询'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/components/duochaxun/dcx.vue')
|
|
|
|
|
},
|
2024-04-02 09:34:54 +08:00
|
|
|
|
2024-03-15 10:59:17 +08:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
const route=new VueRouter({
|
|
|
|
|
mode:'history',
|
|
|
|
|
routes
|
|
|
|
|
})
|
|
|
|
|
const VueRouterPush = VueRouter.prototype.push
|
|
|
|
|
VueRouter.prototype.push = function push (to) {
|
|
|
|
|
return VueRouterPush.call(this, to).catch(err => err)
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-15 15:54:57 +08:00
|
|
|
export default route;
|