|
@@ -80,7 +80,7 @@ export const constantRoutes = [
|
|
|
|
|
|
]
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
{
|
|
|
path: '/order',
|
|
|
component: Layout,
|
|
@@ -107,7 +107,7 @@ export const constantRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
{
|
|
|
path: '/myDrugStore',
|
|
|
component: Layout,
|
|
@@ -180,26 +180,26 @@ export const constantRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- path: '/moneys',
|
|
|
- component: Layout,
|
|
|
- meta: { title: '财务管理', icon: 'money', noCache: true, affix: false },
|
|
|
- redirect: 'noredirect',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'extract',
|
|
|
- component: (resolve) => require(['@/views/moneys/extract/index'], resolve),
|
|
|
- name: '提现管理',
|
|
|
- meta: { title: '提现管理', icon: 'log', noCache: true, affix: false }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'bill',
|
|
|
- component: (resolve) => require(['@/views/moneys/bill/index'], resolve),
|
|
|
- name: '收入管理',
|
|
|
- meta: { title: '收入管理', icon: 'guide', noCache: true, affix: false }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // path: '/moneys',
|
|
|
+ // component: Layout,
|
|
|
+ // meta: { title: '财务管理', icon: 'money', noCache: true, affix: false },
|
|
|
+ // redirect: 'noredirect',
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'extract',
|
|
|
+ // component: (resolve) => require(['@/views/moneys/extract/index'], resolve),
|
|
|
+ // name: '提现管理',
|
|
|
+ // meta: { title: '提现管理', icon: 'log', noCache: true, affix: false }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'bill',
|
|
|
+ // component: (resolve) => require(['@/views/moneys/bill/index'], resolve),
|
|
|
+ // name: '收入管理',
|
|
|
+ // meta: { title: '收入管理', icon: 'guide', noCache: true, affix: false }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
{
|
|
|
path: '/watch',
|
|
|
component: Layout,
|
|
@@ -248,7 +248,7 @@ Router.prototype.push = function push (location, onResolve, onReject) {
|
|
|
}
|
|
|
return originalPush.call(this, location).catch(err => err)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
export default new Router({
|
|
|
mode: 'history', // 去掉url中的#
|
|
|
scrollBehavior: () => ({ y: 0 }),
|