// 此处定义所有有关 sa-plus 的路由菜单 // 如需添加自定义菜单,请不要更改此文件,请在 menu-list.js 里添加 (没有这个文件就新建) window.menuList = window.menuList || []; window.menuList.unshift({ id: 'bas', name: '身份相关', isShow: false, // 隐藏显示 info: '身份相关权限,不显示在菜单上', childList: [{ id: '1', name: '身份-超管', info: '最高权限,超管身份的代表(请谨慎授权)', isShow: false }, { id: '11', name: '身份-普通账号', isShow: false, info: '无特殊权限' }, { id: '99', name: '允许进入后台管理', isShow: false, info: '只有拥有这个权限的角色才可以进入后台' }, ] }, { id: 'console', name: '监控中心', icon: 'el-icon-view', info: '对本系统的各种监控', parent: true, childList: [{ id: 'sql-console', name: 'SQL监控台', url: 'sa-view-sp/sp-console/sql-console.html', info: 'sql控制台' }, { id: 'redis-console', name: 'Redis控制台', url: 'sa-view-sp/sp-console/redis-console.html', info: 'redis常用工具' }, { id: 'apilog-list', name: 'API请求日志', url: 'sa-view-sp/sp-apilog/api-log-list.html', info: '记录本系统所有的api请求' }, { id: 'form-generator', name: '在线表单构建', url: 'https://mrhj.gitee.io/form-generator/#/' }, ] }, { id: 'auth', name: '权限控制', parent: true, icon: 'el-icon-unlock', info: '对系统角色权限的分配等设计,敏感度较高,请谨慎授权', childList: [{ id: 'role-list', name: '角色列表', url: 'sa-view-sp/sp-role/role-list.html', info: '管理系统各种角色', childList: [{id:'role-add',name:'添加角色',info:'添加角色的权限',isShow:false}] }, { id: 'menu-list', name: '菜单列表', url: 'sa-view-sp/sp-role/menu-list.html', info: '所有菜单项预览' }, { id: 'admin-list', name: '管理员列表', url: 'sa-view-sp/sp-admin/admin-list.html', info: '所有管理员账号' }, { id: 'admin-add', name: '管理员添加', url: 'sa-view-sp/sp-admin/admin-add.html', info: '添加一个管理员' }, // {id: 'apilog-list', name: '请求日志监控', url: 'sa-view-sp/sp-apilog/api-log-list.html', info: '记录本系统所有的api请求'}, ] }, { id: 'sp-cfg', name: '系统配置', icon: 'el-icon-setting', parent: true, info: '有关系统的一些配置', childList: [{ id: 'sp-cfg-app', name: '系统对公配置', url: 'sa-view-sp/sp-cfg/app-cfg.html' }, { id: 'sp-cfg-server', name: '服务器私有配置', url: 'sa-view-sp/sp-cfg/server-cfg.html' }, ] },{ id: 'tb-driver', name: '司机', icon: 'el-icon-folder-opened', parent:true, info: '司机表数据的维护', childList: [ {id: 'tb-driver-list', name: '司机-列表', url: 'sa-view/tb-driver/tb-driver-list.html', childList:[ {id:'tb-driver-add',name:'司机添加',isShow:true}, {id:'tb-driver-edit',name:'司机更新',isShow:true}, {id:'tb-driver-del',name:'司机删除',isShow:true}, ] }, ] },{ id: 'tb-vehicle', name: '车辆', icon: 'el-icon-folder-opened', parent:true, info: '车辆表数据的维护', childList: [ {id: 'tb-vehicle-list', name: '车辆-列表', url: 'sa-view/tb-vehicle/tb-vehicle-list.html', childList:[ {id:'tb-vehicle-add',name:'车辆添加',isShow:true}, {id:'tb-vehicle-edit',name:'车辆更新',isShow:true}, {id:'tb-vehicle-del',name:'车辆删除',isShow:true}, ] }, ] },{ id: 'tb-trade-area', name: '贸易区域', icon: 'el-icon-folder-opened', parent:true, info: '贸易区域表数据的维护', childList: [ {id: 'tb-trade-area-list', name: '贸易区域-列表', url: 'sa-view/tb-trade-area/tb-trade-area-list.html', childList:[ {id:'tb-trade-area-add',name:'贸易区域添加',isShow:false}, {id:'tb-trade-area-edit',name:'贸易区域更新',isShow:false}, {id:'tb-trade-area-del',name:'贸易区域删除',isShow:false}, ] }, ] },{ id: 'tb-enterprise', name: '商家', icon: 'el-icon-folder-opened', parent:true, info: '商家表数据的维护', childList: [ {id: 'tb-enterprise-list', name: '商家-列表', url: 'sa-view/tb-enterprise/tb-enterprise-list.html', childList:[ {id:'tb-enterprise-add',name:'商家添加',isShow:false}, {id:'tb-enterprise-edit',name:'商家更新',isShow:false}, {id:'tb-enterprise-del',name:'商家删除',isShow:false}, ] }, ] },{ id: 'tb-shop', name: '铺位', icon: 'el-icon-folder-opened', parent:true, info: '铺位表数据的维护', childList: [ {id: 'tb-shop-list', name: '铺位-列表', url: 'sa-view/tb-shop/tb-shop-list.html', childList:[ {id:'tb-shop-add',name:'铺位添加',isShow:false}, {id:'tb-shop-edit',name:'铺位更新',isShow:false}, {id:'tb-shop-del',name:'铺位删除',isShow:false}, ] }, ] },{ id: 'tb-purchaser', name: '收购商', icon: 'el-icon-folder-opened', parent:true, info: '收购商表数据的维护', childList: [ {id: 'tb-purchaser-list', name: '收购商-列表', url: 'sa-view/tb-purchaser/tb-purchaser-list.html', childList:[ {id:'tb-purchaser-add',name:'收购商添加',isShow:false}, {id:'tb-purchaser-edit',name:'收购商更新',isShow:false}, {id:'tb-purchaser-del',name:'收购商删除',isShow:false}, ] }, ] },{ id: 'tb-people', name: '边民', icon: 'el-icon-folder-opened', parent:true, info: '边民表数据的维护', childList: [ {id: 'tb-people-list', name: '边民-列表', url: 'sa-view/tb-people/tb-people-list.html', childList:[ {id:'tb-people-add',name:'边民添加',isShow:false}, {id:'tb-people-edit',name:'边民更新',isShow:false}, {id:'tb-people-del',name:'边民删除',isShow:false}, ] }, ] },{ id: 'tb-group', name: '互助组', icon: 'el-icon-folder-opened', parent:true, info: '互助组表数据的维护', childList: [ {id: 'tb-group-list', name: '互助组-列表', url: 'sa-view/tb-group/tb-group-list.html', childList:[ {id:'tb-group-add',name:'互助组添加',isShow:false}, {id:'tb-group-edit',name:'互助组更新',isShow:false}, {id:'tb-group-del',name:'互助组删除',isShow:false}, ] }, ] },{ id: 'tb-order', name: '商品订单表', icon: 'el-icon-folder-opened', parent:true, info: '商品订单表表数据的维护', childList: [ {id: 'tb-order-list', name: '商品订单表-列表', url: 'sa-view/tb-order/tb-order-list.html', childList:[ {id:'tb-order-add',name:'商品订单表添加',isShow:true}, {id:'tb-order-edit',name:'商品订单表更新',isShow:true}, {id:'tb-order-del',name:'商品订单表删除',isShow:true}, ] }, ] },{ id: 'tb-orders', name: '物流订单表', icon: 'el-icon-folder-opened', parent:true, info: '物流订单表表数据的维护', childList: [ {id: 'tb-orders-list', name: '物流订单表-列表', url: 'sa-view/tb-orders/tb-orders-list.html', childList:[ {id:'tb-orders-add',name:'物流订单表添加',isShow:true}, {id:'tb-orders-edit',name:'物流订单表更新',isShow:true}, {id:'tb-orders-del',name:'物流订单表删除',isShow:true}, ] }, ] },{ id: 'tb-goods-type', name: '商品分类', icon: 'el-icon-folder-opened', parent:true, info: '商品分类表数据的维护', childList: [ {id: 'tb-goods-type-list', name: '商品分类-列表', url: 'sa-view/tb-goods-type/tb-goods-type-list.html', childList:[ {id:'tb-goods-type-add',name:'商品分类添加',isShow:true}, {id:'tb-goods-type-edit',name:'商品分类更新',isShow:true}, {id:'tb-goods-type-del',name:'商品分类删除',isShow:true}, ] }, ] },{ id: 'tb-goods', name: '商品', icon: 'el-icon-folder-opened', parent:true, info: '商品表数据的维护', childList: [ {id: 'tb-goods-list', name: '商品-列表', url: 'sa-view/tb-goods/tb-goods-list.html', childList:[ {id:'tb-goods-add',name:'商品添加',isShow:false}, {id:'tb-goods-edit',name:'商品更新',isShow:false}, {id:'tb-goods-del',name:'商品删除',isShow:false}, ] }, ] },{ id: 'tb-goods-units', name: '商品单位', icon: 'el-icon-folder-opened', parent:true, info: '商品单位表数据的维护', childList: [ {id: 'tb-goods-units-list', name: '商品单位-列表', url: 'sa-view/tb-goods-units/tb-goods-units-list.html', childList:[ {id:'tb-goods-units-add',name:'商品单位添加',isShow:false}, {id:'tb-goods-units-edit',name:'商品单位更新',isShow:false}, {id:'tb-goods-units-del',name:'商品单位删除',isShow:false}, ] }, ] } );