|
|
@@ -172,6 +172,14 @@ export async function getInitialState() { |
|
|
|
component: './device/deviceVesion', |
|
|
|
access: 'k14', |
|
|
|
}, |
|
|
|
{ |
|
|
|
code: 'devicepush', |
|
|
|
name: '设备数据同步', |
|
|
|
icon: 'smile', |
|
|
|
path: '/device/devicepush', |
|
|
|
component: './device/devicepush', |
|
|
|
access: 'k14', |
|
|
|
}, |
|
|
|
// { |
|
|
|
// code: 'devicetechnology', |
|
|
|
// name: '设备工艺信息', |
|
|
@@ -246,48 +254,31 @@ export async function getInitialState() { |
|
|
|
}, |
|
|
|
] |
|
|
|
}, |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
code: 'scene', |
|
|
|
name: '场景管理', |
|
|
|
icon: 'PrinterOutlined', |
|
|
|
path: '/scene', |
|
|
|
routes: [ |
|
|
|
{ |
|
|
|
code: 'store', |
|
|
|
name: '场景基础信息', |
|
|
|
icon: 'smile', |
|
|
|
path: '/scene/store', |
|
|
|
component: './scene/store', |
|
|
|
access: 'k12', |
|
|
|
}, |
|
|
|
{ |
|
|
|
code: 'foodmenu', |
|
|
|
name: '场景菜谱信息', |
|
|
|
icon: 'smile', |
|
|
|
path: '/scene/foodmenu', |
|
|
|
component: './scene/foodmenu', |
|
|
|
access: 'k14', |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
code: 'order', |
|
|
|
name: '订单管理', |
|
|
|
icon: 'PrinterOutlined', |
|
|
|
path: '/order', |
|
|
|
routes: [ |
|
|
|
{ |
|
|
|
code: 'orderrecode', |
|
|
|
name: '订单流水', |
|
|
|
code: 'scene', |
|
|
|
name: '场景管理', |
|
|
|
icon: 'smile', |
|
|
|
path: '/order/orderrecode', |
|
|
|
component: './order/orderrecode', |
|
|
|
access: 'k12', |
|
|
|
path: '/scene', |
|
|
|
routes:[ |
|
|
|
{ |
|
|
|
code: 'storeinfo', |
|
|
|
name: '场景基础信息', |
|
|
|
icon: 'smile', |
|
|
|
path: '/scene/store', |
|
|
|
component: './scene/store', |
|
|
|
access: 'k11', |
|
|
|
}, |
|
|
|
{ |
|
|
|
code: 'foodmenu', |
|
|
|
name: '场景菜谱信息', |
|
|
|
icon: 'smile', |
|
|
|
path: '/scene/foodmenu', |
|
|
|
component: './scene/foodmenu', |
|
|
|
access: 'k10', |
|
|
|
}, |
|
|
|
] |
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
] |
|
|
|
}, |
|
|
|
]; |
|
|
|
// api.queryMenus(); |
|
|
|