123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- // 一个菜单可以包括的所有属性
- // {
- // id: '12345', // 菜单id, 必须唯一
- // name: '用户中心', // 菜单名称, 同时也是tab选项卡上显示的名称
- // icon: 'el-icon-user', // 菜单图标, 参考地址: https://element.eleme.cn/#/zh-CN/component/icon
- // info: '管理所有用户', // 菜单介绍, 在菜单预览和分配权限时会有显示
- // url: 'sa-html/user/user-list.html', // 菜单指向地址
- // parentId: 1, // 所属父菜单id, 如果指定了一个值, sa-admin在初始化时会将此菜单转移到指定菜单上
- // isShow: true, // 是否显示, 默认true
- // isBlank: false, // 是否属于外部链接, 如果为true, 则点击菜单时从新窗口打开
- // childList: [ // 指定这个菜单所有的子菜单, 子菜单可以继续指定子菜单, 至多支持三级菜单
- // // ....
- // ],
- // click: function(){} // 点击菜单执行一个函数
- // }
- // 定义菜单列表
- var menuList = [
- {
- id: 'tb-costomer',
- name: '客户管理',
- icon: 'el-icon-s-custom',
- info: '客户管理表数据的维护',
- childList: [
- {id: 'tb-costomer-list', name: '客户列表', url: 'sa-view/tb-costomer/tb-costomer-list.html'},
- // {id: 'tb-costomer-judge', name: '客户审核', url: 'sa-view/tb-costomer/tb-costomer-judge.html'},
- {id: 'tb-costomer-maintain', name: '信息维护', url: 'sa-view/tb-costomer/tb-costomer-maintain.html'},
- ]
- },
- {
- id: 'tb-partner',
- name: '合作伙伴',
- icon: 'el-icon-s-custom',
- childList: [
- {id: 'tb-costomer-partner', name: '合作伙伴', url: 'sa-view/tb-partner/tb-partner-list.html'},
- ]
- },
- {
- id: 'tb-business-item',
- name: '业务管理',
- icon: 'el-icon-edit-outline',
- info: '我的业务',
- childList: [
- {id: 'tb-business-item-list', name: '我的业务', url: 'sa-view/tb-partner/tb-business-item-list.html'},
- ]
- },
- {
- id: 'tb-business',
- name: '业务录入',
- icon: 'el-icon-edit-outline',
- info: '业务登记表数据的维护',
- childList: [
- {id: 'tb-business-list', name: '业务列表', url: 'sa-view/tb-business/tb-business-list.html'},
- {id: 'tb-business-add', name: '录入业务', url: 'sa-view/tb-business/tb-business-add.html', isShow: false},
- {id: 'tb-business-confirm', name: '业务确认', url: 'sa-view/tb-business/tb-business-list.html', isShow: false},
- {id: 'tb-business-pay', name: '业务支付', url: 'sa-view/tb-business/tb-business-list.html', isShow: false},
- ]
- },
- {
- id: 'tb-business-car',
- name: '放行记录',
- icon: 'el-icon-notebook-2',
- info: '放行日志表数据的维护',
- childList: [
- {id: 'tb-business-car-list', name: '放行列表', url: 'sa-view/tb-business-car/tb-business-car-list.html'},
- ]
- },
- {
- id: 'info-setting',
- name: '信息设置',
- icon: 'el-icon-monitor',
- info: '信息设置',
- childList: [
- {
- id: 'tb-item',
- name: '收费管理',
- icon: 'el-icon-coin',
- info: '收费标准表数据的维护',
- childList: [
- {id: 'tb-item-list', name: '收费标准', url: 'sa-view/tb-item/tb-item-list.html'},
- ]
- },
- ]
- },
- {
- id: 'tb-notices',
- name: '消息管理',
- icon: 'el-icon-news',
- info: '消息表表数据的维护',
- childList: [
- {id: 'tb-notices-list', name: '消息列表', url: 'sa-view/tb-notices/tb-notices-list.html'},
- ]
- },
- {
- id: 'tb-charge-record',
- name: '充值记录',
- icon: 'el-icon-folder-opened',
- info: '充值记录表数据的维护',
- childList: [
- {id: 'tb-charge-record-list', name: '充值记录', url: 'sa-view/tb-charge-record/tb-charge-record-list.html'},
- ]
- },
- {
- id: 'tb-pay-record',
- name: '支付记录',
- icon: 'el-icon-folder-opened',
- info: '支付记录表数据的维护',
- childList: [
- {id: 'tb-pay-record-list', name: '支付记录', url: 'sa-view/tb-pay-record/tb-pay-record-list.html'},
- ]
- },
- {
- id: 'tb-declare',
- name: '申报信息',
- icon: 'el-icon-folder-opened',
- info: '申报表数据的维护',
- childList: [
- {id: 'tb-declare-list', name: '申报列表', url: 'sa-view/tb-declare/tb-declare-list.html'}
- ]
- },
- {
- id: 'tb-disinfect',
- name: '消毒信息',
- icon: 'el-icon-folder-opened',
- info: '消毒申请单表数据的维护',
- childList: [
- {id: 'tb-disinfect-list', name: '申请列表', url: 'sa-view/tb-disinfect/tb-disinfect-list.html'},
- ]
- },
- {
- id: 'tb-discount',
- name: '折扣管理',
- icon: 'el-icon-folder-opened',
- info: '折扣管理表数据的维护',
- childList: [
- {id: 'tb-discount-list', name: '折扣管理-列表', url: 'sa-view/tb-discount/tb-discount-list.html'},
- {id: 'tb-discount-add', name: '折扣管理-添加', url: 'sa-view/tb-discount/tb-discount-add.html'},
- ]
- },
- {
- id: 'tb-fee-statistics',
- name: '收费统计',
- icon: 'el-icon-folder-opened',
- info: '收费统计表表数据的维护',
- childList: [
- {id: 'tb-fee-details-list', name: '收费明细', url: 'sa-view/tb-fee-statistics/tb-fee-details-list.html'},
- {id: 'tb-fee-statistics-list', name: '日统计', url: 'sa-view/tb-fee-statistics/tb-fee-statistics-list.html'},
- {id: 'month-statistcs-list', name: '月统计', url: 'sa-view/tb-fee-statistics/month-statistcs-list.html'},
- {id: 'year-statistcs-list', name: '年统计', url: 'sa-view/tb-fee-statistics/year-statistcs-list.html'},
- ]
- },
- ]
|