123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686 |
- // 此处定义所有有关 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-port-news',
- name: '口岸资讯管理',
- url: 'sa-view/tb-port-news/tb-port-news-list.html',
- childList: [{
- id: 'tb-port-news-add',
- name: '口岸资讯添加',
- isShow: true
- },
- {
- id: 'tb-port-news-edit',
- name: '口岸资讯更新',
- isShow: true
- },
- {
- id: 'tb-port-news-del',
- name: '口岸资讯删除',
- isShow: true
- },
- ]
- },
- {
- id: 'tb-banner',
- name: '轮播图',
- url: 'sa-view/tb-banner/tb-banner-list.html',
- childList: [{
- id: 'tb-banner-add',
- name: '轮播图添加',
- isShow: true
- },
- {
- id: 'tb-banner-edit',
- name: '轮播图更新',
- isShow: true
- },
- {
- id: 'tb-banner-del',
- name: '轮播图删除',
- isShow: true
- },
- ]
- },
- {
- id: 'tb-agreement',
- name: '隐私政策&协议',
- url: 'sa-view/tb-agreement/tb-agreement-list.html',
- childList: [{
- id: 'tb-agreement-add',
- name: '协议表添加',
- isShow: true
- },
- {
- id: 'tb-agreement-edit',
- name: '协议表更新',
- isShow: true
- },
- {
- id: 'tb-agreement-del',
- name: '协议表删除',
- isShow: true
- },
- ]
- },
- ]
- }, {
- id: 'tb-base-data',
- name: '基础数据管理',
- parent: true,
- icon: 'el-icon-copy-document',
- childList: [{
- id: 'tb-trade-area',
- icon: 'el-icon-s-management',
- 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-group',
- icon: 'el-icon-s-data',
- 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-member-list',
- name: '查寻组内成员',
- isShow: false
- },
- ]
- },
- {
- id: 'tb-people',
- icon: 'el-icon-user',
- 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-enterprise-judge',
- icon: 'el-icon-s-check',
- name: '商户审核',
- url: 'sa-view/tb-enterprise/tb-enterprise-judge.html',
- childList: [{
- id: 'tb-enterprise-judge',
- name: '商户审核',
- isShow: false
- }, ]
- },
- {
- id: 'tb-enterprise',
- icon: 'el-icon-film',
- 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',
- icon: 'el-icon-receiving',
- 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-judge',
- icon: 'el-icon-s-check',
- name: '收购商审核',
- url: 'sa-view/tb-purchaser/tb-purchaser-judge.html',
- childList: [{
- id: 'tb-purchaser-judge',
- name: '收购商审核',
- isShow: false
- }, ]
- },
- {
- id: 'tb-purchaser',
- icon: 'el-icon-film',
- 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-message',
- name: '通知消息',
- icon: 'el-icon-receiving',
- url: 'sa-view/tb-message/tb-message-list.html',
- childList: [{
- id: 'tb-message-add',
- name: '通知消息添加',
- isShow: false
- },
- {
- id: 'tb-message-edit',
- name: '通知消息更新',
- isShow: false
- },
- {
- id: 'tb-message-del',
- name: '通知消息删除',
- isShow: false
- },
- ]
- },
- {
- id: 'app-user-login-log',
- name: '移动端登录日志',
- icon: 'el-icon-receiving',
- url: 'sa-view/app-user-login-log/app-user-login-log-list.html',
- childList: [{
- id: 'app-user-login-log-del',
- name: '删除',
- isShow: false
- }, ]
- },
- ]
- }, {
- id: 'app-setting',
- name: '移动端管理',
- icon: 'el-icon-mobile-phone',
- parent: true,
- childList: [{
- id: 'app-menu',
- icon: 'el-icon-s-operation',
- name: '菜单管理',
- url: 'sa-view/app-menu/app-menu-list.html',
- childList: [{
- id: 'app-menu-add',
- name: 'app菜单管理添加',
- isShow: false
- },
- {
- id: 'app-menu-edit',
- name: 'app菜单管理更新',
- isShow: false
- },
- {
- id: 'app-menu-del',
- name: 'app菜单管理删除',
- isShow: false
- },
- ]
- },
- {
- id: 'app-role',
- icon: 'el-icon-user-solid',
- name: '角色管理',
- url: 'sa-view/app-role/app-role-list.html',
- childList: [{
- id: 'app-role-add',
- name: '添加',
- isShow: false
- },
- {
- id: 'app-role-edit',
- name: '更新',
- isShow: false
- },
- {
- id: 'app-role-del',
- name: '删除',
- isShow: false
- },
- ]
- },
- ]
- }, {
- id: 'trade-manager',
- name: '贸易管理',
- parent: true,
- icon: 'el-icon-s-unfold',
- childList: [
- {
- id: 'tb-goods-units',
- 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
- },
- ]
- },
- {
- id: 'tb-goods-type',
- 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: '监管商品',
- 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-demand',
- name: '收购需求',
- url: 'sa-view/tb-goods-demand/tb-goods-demand-list.html',
- childList: [{
- id: 'tb-goods-demand-add',
- name: '二级收购商需求发布表添加',
- isShow: false
- },
- {
- id: 'tb-goods-demand-edit',
- name: '二级收购商需求发布表更新',
- isShow: false
- },
- {
- id: 'tb-goods-demand-del',
- name: '二级收购商需求发布表删除',
- isShow: false
- },
- ]
- },
- {
- id: 'order-list',
- name: '订单管理',
- parent: true,
- icon: 'el-icon-s-grid',
- childList: [{
- id: 'tb-order',
- name: '一级市场订单',
- url: 'sa-view/tb-order/tb-order-list.html'
- },
- {
- id: 'tb-two-market-orders',
- name: '二级市场订单',
- url: 'sa-view/tb-two-market-orders/tb-two-market-orders-list.html'
- }
- ]
- },
- {
- id: 'tb-order-after-sale-list',
- name: '售后管理',
- url: 'sa-view/tb-order-after-sale/tb-order-after-sale-list.html',
- },
- ]
- }, {
- id: 'transport-sys',
- name: '货运管理',
- parent: true,
- icon: 'el-icon-s-grid',
- childList: [{
- id: 'tb-driver',
- icon: 'el-icon-s-custom',
- 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',
- icon: 'el-icon-s-check',
- 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-orders',
- name: '物流订单表',
- icon: 'el-icon-folder-opened',
- parent: true,
- info: '物流订单表表数据的维护',
- childList: [{
- id: 'tb-orders',
- name: '物流订单表-列表',
- url: 'sa-view/tb-orders/tb-orders-list.html'
- }, ]
- },
- ]
- }, {
- id: 'tb-fee-manager',
- name: '费项管理',
- parent: true,
- icon: 'el-icon-s-shop',
- childList: [{
- id: 'tb-company-list',
- name: '收费企业',
- icon: 'el-icon-folder-opened',
- info: '企业管理表数据的维护',
- url: 'sa-view/tb-company/tb-company-list.html',
- childList: [{
- id: 'tb-company-add',
- name: '企业添加',
- isShow: false
- },
- {
- id: 'tb-company-edit',
- name: '企业更新',
- isShow: false
- },
- {
- id: 'tb-company-del',
- name: '企业删除',
- isShow: false
- },
- ]
- },
- {
- id: 'tb-fee-item-list',
- name: '费用管理',
- icon: 'el-icon-folder-opened',
- info: '费项管理表数据的维护',
- url: 'sa-view/tb-fee-item/tb-fee-item-list.html',
- childList: [{
- id: 'tb-fee-item-add',
- name: '费项添加',
- isShow: false
- },
- {
- id: 'tb-fee-item-edit',
- name: '费项更新',
- isShow: false
- },
- {
- id: 'tb-fee-item-del',
- name: '费项删除',
- isShow: false
- },
- ]
- },
- {
- id: 'tb-people-profit-list',
- name: '边民收益设置',
- icon: 'el-icon-folder-opened',
- info: '费项管理表数据的维护',
- url: 'sa-view/tb-people-profit/tb-people-profit-set.html',
- childList: [{
- id: 'tb-people-profit',
- name: '收益设置',
- isShow: false
- }, ]
- },
- {
- id: 'tb-fee-item-record-list',
- name: '收费记录',
- icon: 'el-icon-folder-opened',
- url: 'sa-view/tb-fee-item-record/tb-fee-item-record-list.html'
- },
- {
- id: 'tb-people-profit-record-list',
- name: '边民收益记录',
- icon: 'el-icon-folder-opened',
- url: 'sa-view/tb-people-profit-record/tb-people-profit-record-list.html',
- childList: [
- ]
- }
- ]
- }
- );
|