/** * 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: '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', routes: [ { 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: 'BankFilled', path: '/device', routes: [ { name: '产品管理', icon: 'smile', path: '/device/deviceType', component: './device/deviceType', access: 'k12', }, { name: '设备信息', icon: 'smile', path: '/device/deviceInfo', component: './device/deviceInfo', access: 'k14', }, { name: '版本管理', icon: 'smile', path: '/device/deviceVesion', component: './device/deviceVesion', access: 'k14', }, // { // name: '设备工艺信息', // icon: 'smile', // path: '/device/devicetechnology', // component: './device/devicetechnology', // access: 'k9', // }, // { // name: '设备商品管理', // icon: 'smile', // path: '/device/deviceFood', // component: './device/deviceFood', // access: 'k14', // }, ], }, { path: '/shop', icon: 'SettingOutlined', name: '门店管理', component: './shop', }, { name: '小程序管理', icon: 'BankFilled', path: '/applet', routes: [ { name: '页面管理', icon: 'smile', path: '/applet/paytemplate', component: './applet/paytemplate', }, { name: '素材管理', icon: 'smile', path: '/applet/basicconfiguration', component: './applet/basicconfiguration', }, { name: '小程序基础配置', icon: 'smile', path: '/applet/appidmanager', routes: [ { name: '支付配置', icon: 'smile', path: '/applet/appidmanager/payment', component: './applet/appidmanager/payment', }, { name: 'APPID', icon: 'smile', path: '/applet/appidmanager/appid', component: './applet/appidmanager/appid', }, ], }, ], }, { name: '门店管理', icon: 'BankFilled', path: '/shopmanage', routes: [ { name: '员工管理', icon: 'smile', path: '/shopmanage/storeStaff', component: './shopmanage/storeStaff', }, { name: '打印机模板', icon: 'smile', path: '/shopmanage/printerTemplate', component: './shopmanage/printerTemplate', }, { name: '店铺小票打印机', icon: 'smile', path: '/shopmanage/Printer', component: './shopmanage/Printer', }, { name: '店铺桌面码', icon: 'smile', path: '/shopmanage/storeDesktopNumber', component: './shopmanage/storeDesktopNumber', }, { name: '店铺广告', icon: 'smile', path: '/shopmanage/storeAdvertisement', component: './shopmanage/storeAdvertisement', }, { name: '店铺菜谱', icon: 'smile', path: '/shopmanage/storeGoodsInfo', component: './shopmanage/storeGoodsInfo', }, { name: '加购商品', icon: 'smile', hideInMenu: true, path: '/shopmanage/storeAddGoodsInfo', component: './shopmanage/storeAddGoodsInfo', }, ], }, {     name: '订单管理',     icon: 'BankFilled',     path: '/order',     routes: [       {         name: '订单流水',         icon: 'smile',         path: '/order/orderflow',         component: './order/orderflow',       },       {         name: '第三方订单',         icon: 'smile',         path: '/order/thirdOrder',         component: './order/thirdOrder',       },       {         name: '授权管理',         icon: 'smile',         path: '/order/thirdAuthorize',         component: './order/thirdAuthorize',       },     ],   }, { path: '/', redirect: '/welcome', }, { path: '/welcome', name: 'welcome', icon: 'smile', component: './Welcome', }, //什么都不要想404直接放最后 { component: './404', }, ];