|
|
@ -8,6 +8,15 @@ 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' |
|
|
@ -53,7 +62,8 @@ export const constantRoutes = [ |
|
|
|
import('@/views/changshang/changshangguanli/changshangguanli.vue'), |
|
|
|
name: 'changshangguanli', |
|
|
|
meta: { |
|
|
|
title: '厂商管理' |
|
|
|
title: '厂商管理', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
] |
|
|
@ -73,7 +83,8 @@ export const constantRoutes = [ |
|
|
|
import('@/views/pinpai/pinpaiguanli/pinpaiguanli.vue'), |
|
|
|
name: 'pinpaiguanli', |
|
|
|
meta: { |
|
|
|
title: '品牌管理' |
|
|
|
title: '品牌管理', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -83,7 +94,8 @@ export const constantRoutes = [ |
|
|
|
name: 'pinpaiAdd', |
|
|
|
hidden: true, |
|
|
|
meta: { |
|
|
|
title: '品牌管理' |
|
|
|
title: '品牌管理', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -93,7 +105,8 @@ export const constantRoutes = [ |
|
|
|
name: 'pinpaiInfo', |
|
|
|
hidden: true, |
|
|
|
meta: { |
|
|
|
title: '品牌详情' |
|
|
|
title: '品牌详情', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -123,7 +136,8 @@ export const constantRoutes = [ |
|
|
|
import('@/views/jingxiaoshang/jingxiaoshangguanli/jingxiaoshangguanli.vue'), |
|
|
|
name: 'jingxiaoshangguanli', |
|
|
|
meta: { |
|
|
|
title: '经销商管理' |
|
|
|
title: '经销商管理', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -133,7 +147,8 @@ export const constantRoutes = [ |
|
|
|
name: 'jingxiaoshangAdd', |
|
|
|
hidden: true, |
|
|
|
meta: { |
|
|
|
title: '经销商添加' |
|
|
|
title: '经销商添加', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -143,7 +158,8 @@ export const constantRoutes = [ |
|
|
|
name: 'jingxiaoshangEdit', |
|
|
|
hidden: true, |
|
|
|
meta: { |
|
|
|
title: '经销商修改' |
|
|
|
title: '经销商修改', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -153,7 +169,8 @@ export const constantRoutes = [ |
|
|
|
name: 'jingxiaoshangInfo', |
|
|
|
hidden: true, |
|
|
|
meta: { |
|
|
|
title: '经销商详情' |
|
|
|
title: '经销商详情', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
} |
|
|
|
// {
|
|
|
@ -185,7 +202,8 @@ export const constantRoutes = [ |
|
|
|
import('@/views/guakaogongsi/guakaogongsiguanli/guakaogongsiguanli.vue'), |
|
|
|
name: 'guakaogongsiguanli', |
|
|
|
meta: { |
|
|
|
title: '经销商' |
|
|
|
title: '经销商', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
// {
|
|
|
@ -245,7 +263,8 @@ export const constantRoutes = [ |
|
|
|
import('@/views/zifang/zifangguanli/zifangguanli.vue'), |
|
|
|
name: 'zifangguanli', |
|
|
|
meta: { |
|
|
|
title: '资方信息管理' |
|
|
|
title: '资方信息管理', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -255,7 +274,8 @@ export const constantRoutes = [ |
|
|
|
name: 'zifangguanliAdd', |
|
|
|
hidden: true, |
|
|
|
meta: { |
|
|
|
title: '资方信息添加' |
|
|
|
title: '资方信息添加', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -265,7 +285,8 @@ export const constantRoutes = [ |
|
|
|
name: 'zifangguanliInfo', |
|
|
|
hidden: true, |
|
|
|
meta: { |
|
|
|
title: '资方信息详细信息' |
|
|
|
title: '资方信息详细信息', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -274,7 +295,8 @@ export const constantRoutes = [ |
|
|
|
import('@/views/zifang/zifangzhengce/zifangzhengce.vue'), |
|
|
|
name: 'zifangzhengce', |
|
|
|
meta: { |
|
|
|
title: '资方政策管理' |
|
|
|
title: '资方政策管理', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -284,7 +306,8 @@ export const constantRoutes = [ |
|
|
|
name: 'zifangzhengceAdd', |
|
|
|
hidden: true, |
|
|
|
meta: { |
|
|
|
title: '资方政策添加' |
|
|
|
title: '资方政策添加', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -294,7 +317,8 @@ export const constantRoutes = [ |
|
|
|
name: 'zifangzhengceInfo', |
|
|
|
hidden: true, |
|
|
|
meta: { |
|
|
|
title: '资方政策详细信息' |
|
|
|
title: '资方政策详细信息', |
|
|
|
noCache: true, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -313,7 +337,7 @@ export const constantRoutes = [ |
|
|
|
path: '/fileList/index', |
|
|
|
component: () => import('@/views/fileList/fileList.vue'), |
|
|
|
name: 'fileList', |
|
|
|
meta: { title: '资料清单' } |
|
|
|
meta: { title: '资料清单',noCache: true, } |
|
|
|
}] |
|
|
|
}, |
|
|
|
|
|
|
|