|
|
@@ -160,215 +160,29 @@ let menu = {
|
|
|
],
|
|
|
menus: [
|
|
|
// 商家管理
|
|
|
- {
|
|
|
- id: '1',
|
|
|
- parentId: null,
|
|
|
- name: '商家',
|
|
|
- type: 0,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 1,
|
|
|
- router: '',
|
|
|
- viewPath: '',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '11',
|
|
|
- parentId: '1',
|
|
|
- name: '申请记录',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 1,
|
|
|
- router: '/',
|
|
|
- viewPath: 'saas/shop/apply',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '13',
|
|
|
- parentId: '1',
|
|
|
- name: '门店管理',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 1,
|
|
|
- router: '/saas/shop/shop',
|
|
|
- viewPath: 'saas/shop/shop',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '12',
|
|
|
- parentId: '1',
|
|
|
- name: '商家列表',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 1,
|
|
|
- router: '/saas/shop/list',
|
|
|
- viewPath: 'saas/shop/list',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '14',
|
|
|
- parentId: '1',
|
|
|
- name: '员工管理',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 1,
|
|
|
- router: '/saas/shop/manage',
|
|
|
- viewPath: 'saas/shop/manage',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '15',
|
|
|
- parentId: '1',
|
|
|
- name: '小程序',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 1,
|
|
|
- router: '/saas/shop/upgrade',
|
|
|
- viewPath: 'saas/shop/upgrade',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '16',
|
|
|
- parentId: '1',
|
|
|
- name: '付费订单',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 1,
|
|
|
- router: '/saas/shop/buy',
|
|
|
- viewPath: 'saas/shop/buy',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '17',
|
|
|
- parentId: '1',
|
|
|
- name: '提现申请',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 1,
|
|
|
- router: '/saas/shop/deposit',
|
|
|
- viewPath: 'saas/shop/deposit',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '2',
|
|
|
- parentId: null,
|
|
|
- name: '订单',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 2,
|
|
|
- router: '/saas/order/list',
|
|
|
- viewPath: 'saas/order/list',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '3',
|
|
|
- parentId: null,
|
|
|
- name: '客户',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 3,
|
|
|
- router: '/saas/member/list',
|
|
|
- viewPath: 'saas/member/list',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '4',
|
|
|
- parentId: null,
|
|
|
- name: '店长',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 4,
|
|
|
- router: '/saas/pt-member/list',
|
|
|
- viewPath: 'saas/pt-member/list',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '5',
|
|
|
- parentId: null,
|
|
|
- name: '商品',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 5,
|
|
|
- router: '/saas/goods/list',
|
|
|
- viewPath: 'saas/goods/list',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '6',
|
|
|
- parentId: null,
|
|
|
- name: '节日',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 6,
|
|
|
- router: '/saas/fest/list',
|
|
|
- viewPath: 'saas/fest/list',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '8',
|
|
|
- parentId: null,
|
|
|
- name: '花材',
|
|
|
- type: 0,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 4,
|
|
|
- router: '/item/list',
|
|
|
- viewPath: 'views/item/list.vue',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '810',
|
|
|
- parentId: '8',
|
|
|
- name: '花材列表',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 4,
|
|
|
- router: '/item/list',
|
|
|
- viewPath: 'views/item/list.vue',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '805',
|
|
|
- parentId: '8',
|
|
|
- name: '花材分类',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 4,
|
|
|
- router: '/item-class/list',
|
|
|
- viewPath: 'views/item-class/list.vue',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '7',
|
|
|
- parentId: null,
|
|
|
- name: '套餐',
|
|
|
- type: 0,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 7,
|
|
|
- router: '/saas/manage/list',
|
|
|
- viewPath: 'saas/manage/list',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '701',
|
|
|
- parentId: '7',
|
|
|
- name: '套餐列表',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 7,
|
|
|
- router: '/saas/manage/package',
|
|
|
- viewPath: 'saas/manage/package',
|
|
|
- keepAlive: 1
|
|
|
- },
|
|
|
- {
|
|
|
- id: '701',
|
|
|
- parentId: '7',
|
|
|
- name: '权限',
|
|
|
- type: 1,
|
|
|
- icon: 'icongongzuotai',
|
|
|
- orderNum: 7,
|
|
|
- router: '/saas/manage/auth',
|
|
|
- viewPath: 'saas/manage/auth',
|
|
|
- keepAlive: 1
|
|
|
- }
|
|
|
+ {id: '9',parentId: null,name: '控制台',type: 0,icon: 'icongongzuotai',orderNum: 1,router: '',viewPath: '',keepAlive: 1},
|
|
|
+ {id: '91',parentId: '9',name: '今日概况',type: 1,icon: 'icongongzuotai',orderNum: 1,router: '/',viewPath: 'Home',keepAlive: 1},
|
|
|
+ {id: '1',parentId: null,name: '商家',type: 0,icon: 'icongongzuotai',orderNum: 1,router: '',viewPath: '',keepAlive: 1},
|
|
|
+ {id: '11',parentId: '1',name: '申请记录',type: 1,icon: 'icongongzuotai',orderNum: 1,router: '/saas/shop/apply',viewPath: 'saas/shop/apply',keepAlive: 1},
|
|
|
+ {id: '13',parentId: '1',name: '门店管理',type: 1,icon: 'icongongzuotai',orderNum: 1,router: '/saas/shop/shop',viewPath: 'saas/shop/shop',keepAlive: 1},
|
|
|
+ {id: '12',parentId: '1',name: '商家列表',type: 1,icon: 'icongongzuotai',orderNum: 1,router: '/saas/shop/list',viewPath: 'saas/shop/list',keepAlive: 1},
|
|
|
+ {id: '14',parentId: '1',name: '员工管理',type: 1,icon: 'icongongzuotai',orderNum: 1,router: '/saas/shop/manage',viewPath: 'saas/shop/manage',keepAlive: 1},
|
|
|
+ {id: '15',parentId: '1',name: '小程序',type: 1,icon: 'icongongzuotai',orderNum: 1,router: '/saas/shop/upgrade',viewPath: 'saas/shop/upgrade',keepAlive: 1},
|
|
|
+ {id: '16',parentId: '1',name: '付费订单',type: 1,icon: 'icongongzuotai',orderNum: 1,router: '/saas/shop/buy',viewPath: 'saas/shop/buy',keepAlive: 1},
|
|
|
+ {id: '17',parentId: '1',name: '提现申请',type: 1,icon: 'icongongzuotai',orderNum: 1,router: '/saas/shop/deposit',viewPath: 'saas/shop/deposit',keepAlive: 1},
|
|
|
+ {id: '10',parentId: null,name: '资产',type: 0,icon: 'icongongzuotai',orderNum: 1,router: '',viewPath: '',keepAlive: 1},
|
|
|
+ {id: '101',parentId: '10',name: '余额明细',type: 1,icon: 'icongongzuotai',orderNum: 1,router: '/assets/ptYeChange',viewPath: 'views/assets/ptYeChange',keepAlive: 1},
|
|
|
+ {id: '2',parentId: null,name: '订单',type: 1,icon: 'icongongzuotai',orderNum: 2,router: '/saas/order/list',viewPath: 'saas/order/list',keepAlive: 1},
|
|
|
+ {id: '3',parentId: null,name: '客户',type: 1,icon: 'icongongzuotai',orderNum: 3,router: '/saas/member/list',viewPath: 'saas/member/list',keepAlive: 1},
|
|
|
+ {id: '4',parentId: null,name: '店长',type: 1,icon: 'icongongzuotai',orderNum: 4,router: '/saas/pt-member/list',viewPath: 'saas/pt-member/list',keepAlive: 1},
|
|
|
+ {id: '5',parentId: null,name: '商品',type: 1,icon: 'icongongzuotai',orderNum: 5,router: '/saas/goods/list',viewPath: 'saas/goods/list',keepAlive: 1},
|
|
|
+ {id: '6',parentId: null,name: '节日',type: 1,icon: 'icongongzuotai',orderNum: 6,router: '/saas/fest/list',viewPath: 'saas/fest/list',keepAlive: 1},
|
|
|
+ {id: '8',parentId: null,name: '花材',type: 0,icon: 'icongongzuotai',orderNum: 4,router: '/item/list',viewPath: 'views/item/list.vue',keepAlive: 1},
|
|
|
+ {id: '810',parentId: '8',name: '花材列表',type: 1,icon: 'icongongzuotai',orderNum: 4,router: '/item/list',viewPath: 'views/item/list.vue',keepAlive: 1},
|
|
|
+ {id: '805',parentId: '8',name: '花材分类',type: 1,icon: 'icongongzuotai',orderNum: 4,router: '/item-class/list',viewPath: 'views/item-class/list.vue',keepAlive: 1},
|
|
|
+ {id: '7',parentId: null,name: '套餐',type: 0,icon: 'icongongzuotai',orderNum: 7,router: '/saas/manage/list',viewPath: 'saas/manage/list',keepAlive: 1},
|
|
|
+ {id: '701',parentId: '7',name: '套餐列表',type: 1,icon: 'icongongzuotai',orderNum: 7,router: '/saas/manage/package',viewPath: 'saas/manage/package',keepAlive: 1},
|
|
|
+ {id: '701',parentId: '7',name: '权限',type: 1,icon: 'icongongzuotai',orderNum: 7,router: '/saas/manage/auth',viewPath: 'saas/manage/auth',keepAlive: 1}
|
|
|
]
|
|
|
};
|
|
|
|