|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454 |
- /**
- * SYS 系统设置
- * admin 系统用户
- * erp 供应链管理
- * basic 基础信息管理
- * bill 单据管理
- * crm crm会员管理
- * franchisee 加盟商
- * srd 店铺管理
- **/
- export default [
- {
- path: '/user',
- layout: false,
- routes: [
- {
- name: '系统登录',
- path: '/user/login',
- component: './user/login',
- access: 'k1',
- },
- ],
- },
- {
- name: '系统管理',
- icon: 'SettingOutlined',
- path: '/sys',
- routes: [
- {
- name: '系统菜单',
- icon: 'smile',
- path: '/sys/menus',
- component: './sys/menus',
- access: 'k6',
- },
- // {
- // name: '字典信息',
- // icon: 'smile',
- // path: '/sys/dictionary/dictdata',
- // component: './sys/dictionary/dictdata',
- // access: 'k6',
- // },
- // {
- // name: '字典类型',
- // icon: 'smile',
- // path: '/sys/dictionary/dicttype',
- // component: './sys/dictionary/dicttype',
- // access: 'k6',
- // },
- // {
- // name: '操作日志',
- // icon: 'smile',
- // path: '/sys/log',
- // component: './sys/log',
- // access: 'k3',
- // },
- // {
- // name: '错误日志',
- // icon: 'smile',
- // path: '/sys/log',
- // component: './sys/log',
- // access: 'k3',
- // },
- {
- name: '设备日志',
- icon: 'smile',
- path: '/sys/devicelog',
- component: './sys/devicelog',
- access: 'k3',
- },
- ],
- },
- {
- name: '加盟商管理',
- icon: 'SettingOutlined',
- path: '/company',
- routes: [
- {
- name: '账号管理',
- icon: 'smile',
- path: '/company/account',
- component: './company/account',
- access: 'k2',
- },
- ]
- },
- {
- name: '组织管理',
- icon: 'SettingOutlined',
- path: '/org',
- routes: [
- {
- name: '机构管理',
- icon: 'smile',
- path: '/org/orgamange',
- component: './org/orgamange',
- access: 'k2',
- },
- {
- name: '角色管理',
- icon: 'smile',
- path: '/org/roles',
- component: './org/roles',
- access: 'k5',
- },
- {
- name: '用户账号管理',
- icon: 'smile',
- path: '/org/users',
- component: './org/users',
- access: 'k5',
- },
- ]
- },
- {
- name: '元数据管理',
- icon: 'DropboxSquareFilled',
- path: '/database',
- routes: [
- {
- name: '物料管理',
- icon: 'smile',
- path: '/database/basic/batching',
- component: './database/basic/batching',
- access: 'k7',
- },
- {
- name: '配方管理',
- icon: 'smile',
- path: '/database/bom',
- component: './database/bom',
- access: 'k7',
- },
- {
- name: '商品管理',
- icon: 'smile',
- path: '/database',
- routes: [
- {
- name: '商品分类',
- icon: 'smile',
- path: '/database/goods/goodsclassify',
- component: './database/goods/goodsclassify',
- access: 'k7',
- },
- {
- name: '工艺分类',
- icon: 'smile',
- path: '/database/goods/goodstypemanage',
- component: './database/goods/goodstypemanage',
- access: 'k7',
- },
- {
- name: '商品多属性',
- icon: 'smile',
- path: '/database/goods/goodsattribute',
- component: './database/goods/goodsattribute',
- access: 'k7',
- },
- {
- name: '商品基础信息',
- icon: 'smile',
- path: '/database/goods/newgoods',
- component: './database/goods/newgoods',
- access: 'k7',
- },
- {
- name: '添加商品基础信息',
- icon: 'smile',
- path: '/database/goods/goodsInfo',
- component: './database/goods/goodsInfo',
- access: 'k7',
- },
- {
- name: '商品配方',
- icon: 'smile',
- path: '/database/goods/goodsbom',
- component: './database/goods/goodsbom',
- access: 'k7',
- },
- {
- name: '商品工艺',
- icon: 'smile',
- path: '/database/goods/goodstechnology',
- component: './database/goods/goodstechnology',
- access: 'k7',
- },
- {
- name: '商品属性配置',
- icon: 'smile',
- path: '/database/goods/goodsattributeprice',
- component: './database/goods/goodsattributeprice',
- access: 'k7',
- },
- ]
- },
- ],
- },
-
- {
- name: '设备管理',
- icon: 'BankFilled',
- path: '/device',
- routes: [
- {
- name: '产品管理',
- icon: 'smile',
- path: '/device/product',
- component: './device/product',
- access: 'k12',
- },
- {
- name: '设备信息',
- icon: 'smile',
- path: '/device/deviceInfo',
- component: './device/deviceInfo',
- access: 'k14',
- },
- {
- name: '设备仓位模板',
- icon: 'smile',
- path: '/device/warehousepostion',
- component: './device/warehousepostion',
- access: 'k14',
- },
- {
- name: '版本管理',
- icon: 'smile',
- path: '/device/deviceVesion',
- component: './device/deviceVesion',
- access: 'k14',
- },
- {
- name: '产品功能',
- icon: 'smile',
- path: '/device/productmanage',
- component: './device/productmanage',
- access: 'k14',
- },
- {
- name: '设备工艺',
- icon: 'smile',
- path: '/device/technology',
- component: './device/technology',
- access: 'k14',
- },
- // {
- // name: '设备工艺信息',
- // icon: 'smile',
- // path: '/device/devicetechnology',
- // component: './device/devicetechnology',
- // access: 'k9',
- // },
- // {
- // name: '设备商品管理',
- // icon: 'smile',
- // path: '/device/deviceFood',
- // component: './device/deviceFood',
- // access: 'k14',
- // },
- ],
- },
-
- {
- name: '场景管理',
- icon: 'BankFilled',
- path: '/scene',
- routes: [
- {
- name: '场景基础信息',
- icon: 'smile',
- path: '/scene/store',
- component: './scene/store',
- access: 'k12',
- },
- {
- name: '场景菜谱信息',
- icon: 'smile',
- path: '/scene/foodmenu',
- component: './scene/foodmenu',
- access: 'k14',
- },
- ],
- },
- {
- name: '设备数据下发',
- icon: 'BankFilled',
- path: '/push',
- routes: [
- {
- name: '商品数据下发',
- icon: 'smile',
- path: '/push/goodspush',
- component: './push/goodspush',
- access: 'k12',
- },
- {
- name: '物料数据下发',
- icon: 'smile',
- path: '/push/batchingpush',
- component: './push/batchingpush',
- access: 'k14',
- },
- {
- name: '配方数据下发',
- icon: 'smile',
- path: '/push/bompush',
- component: './push/bompush',
- access: 'k14',
- },
- {
- name: '工艺数据下发',
- icon: 'smile',
- path: '/push/technologypush',
- component: './push/technologypush',
- access: 'k14',
- },
- ],
- },
- {
- name: '订单管理',
- icon: 'BankFilled',
- path: '/order',
- routes: [
- {
- name: '订单流水',
- icon: 'smile',
- path: '/order/orderflow',
- component: './order/orderflow',
- access: 'k12',
- },
- {
- name: '订单授权',
- icon: 'smile',
- path: '/order/thirdAuthorize',
- component: './order/thirdAuthorize',
- access: 'k12',
- },
- {
- name: '第三方订单',
- icon: 'smile',
- path: '/order/thirdOrder',
- component: './order/thirdOrder',
- access: 'k12',
- },
- ],
- },
- {
- name: '授权管理',
- icon: 'BankFilled',
- path: '/authorization',
- routes: [
- {
- name: '平台授权',
- icon: 'smile',
- path: '/authorization/platformAuthorization',
- component: './authorization/platformAuthorization',
- access: 'k12',
- },
- {
- name: '店铺授权',
- icon: 'smile',
- path: '/authorization/storeAuthorization',
- component: './authorization/storeAuthorization',
- access: 'k12',
- }
- ],
- },
- {
- name: '接口文档',
- icon: 'smile',
- path: '/interfacedoc/index',
- component: './interfacedoc/index',
- access: 'k12'
- },
- {
- name: '物料管理',
- icon: 'BankFilled',
- path: '/batching',
- routes: [
- {
- name: '物料信息',
- icon: 'smile',
- path: '/batching/batchinginfo',
- component: './batching/batchinginfo',
- access: 'k12',
- }
- ]
- },
- {
- name: '配方管理',
- icon: 'BankFilled',
- path: '/recipe',
- routes: [
- {
- name: '配方信息',
- icon: 'smile',
- path: '/recipe/recipeinfo',
- component: './recipe/recipeinfo',
- access: 'k12',
- }
- ]
- },
- {
- name: '门店管理',
- icon: 'BankFilled',
- path: '/store',
- routes: [
- {
- name: '门店基础信息',
- icon: 'smile',
- path: '/store/storeinfo',
- component: './store/storeinfo',
- access: 'k12',
- }
- ]
- },
- {
- name: '报表管理',
- icon: 'BankFilled',
- path: '/report',
- routes: [
- {
- name: '配方明细',
- icon: 'smile',
- path: '/report/recipereport',
- component: './report/recipereport',
- access: 'k12',
- },
- {
- name: '物料明细',
- icon: 'smile',
- path: '/report/batchingreport',
- component: './report/batchingreport',
- access: 'k12',
- }
- ]
- },
- {
- path: '/',
- redirect: '/welcome',
- },
- {
- path: '/welcome',
- name: 'welcome',
- icon: 'smile',
- component: './Welcome',
- },
-
- //什么都不要想404直接放最后
- {
- component: './404',
- },
- ];
|