// 定义菜单列表 var menuList = [{ id: 'auth', parent: true, name: '权限控制', icon: 'el-icon-unlock', childList: [{ id: 'role-list', name: '角色列表', url: 'sa-view-sp/sp-role/role-list.html', }, { id: 'admin-list', name: '管理员列表', url: 'sa-view-sp/sp-admin/admin-list.html', }, { id: 'customer-auth-list', name: '客户权限列表', url: 'sa-view/tb-costomer/tb-menu-list.html', }, { id: 'partner-auth-list', name: '合作伙伴列表', url: 'sa-view/tb-partner/tb-menu-list.html', }, ] }, { id: 'tb-costomer', name: '客户管理', parent: true, icon: 'el-icon-s-custom', childList: [{ id: 'tb-costomer-list', name: '客户列表', url: 'sa-view/tb-costomer/tb-costomer-list.html' }, { id: 'tb-costomer-add', name: '添加', isShow: false }, { id: 'tb-costomer-judge', name: '审核', isShow: false }, { id: 'tb-costomer-del', name: '删除', isShow: false }, { id: 'tb-costomer-edit', name: '修改', isShow: false }, { id: 'tb-costomer-account', name: '账户', isShow: false, childList: [{ id: 'tb-costomer-account-charge', name: '充值', isShow: false, }] }, { id: 'tb-costomer-user', name: '用户管理', isShow: false, childList: [{ id: 'tb-costomer-user-add', name: '添加', isShow: false, }, { id: 'tb-costomer-user-del', name: '删除', isShow: false, }, { id: 'tb-costomer-user-edit', name: '编辑', isShow: false, }, ] }, ] }, { id: 'tb-costomer-maintain', name: '信息维护', parent: true, icon: 'el-icon-s-custom', childList: [{ id: 'tb-costomer-maintain-list', name: '企业信息', icon: 'el-icon-s-custom', url: 'sa-view/tb-costomer/tb-costomer-maintain.html', childList: [{ id: 'tb-costomer-maintain-edit', name: '编辑信息', isShow: false }, { id: 'tb-costomer-maintain-account', name: '账户管理', isShow: false }, { id: 'tb-costomer-maintain-user', name: '用户管理', parent: true, isShow: false, childList: [{ id: 'tb-costomer-maintain-user-add', name: '添加', isShow: false, }, { id: 'tb-costomer-maintain-user-del', name: '删除', isShow: false, }, { id: 'tb-costomer-maintain-user-edit', name: '编辑', isShow: false, }, ] }, ] }, ] }, { id: 'tb-partner', name: '合作伙伴', parent: true, icon: 'el-icon-s-custom', childList: [{ id: 'tb-partner-list', name: '信息管理', url: 'sa-view/tb-partner/tb-partner-list.html', childList: [{ id: 'tb-partner-add', name: '添加伙伴', isShow: false, }, { id: 'tb-partner-del', name: '删除伙伴', isShow: false, }, { id: 'tb-partner-edit', name: '编辑伙伴', isShow: false, }, { id: 'tb-partner-user', name: '伙伴用户', isShow: false, parent: true, childList: [{ id: 'tb-partner-user-add', name: '添加用户', isShow: false, }, { id: 'tb-partner-user-edit', name: '编辑用户', isShow: false, }, { id: 'tb-partner-user-del', name: '删除用户', isShow: false, }, ] }, ], }, ] }, { id: 'tb-car', name: '车辆管理', parent: true, icon: 'el-icon-s-platform', childList: [{ id: 'tb-car-list', name: '车辆列表', icon: 'el-icon-s-platform', url: 'sa-view/tb-car/tb-car-list.html', childList: [{ id: 'tb-car-add', name: '添加车辆', isShow: false }, { id: 'tb-car-edit', name: '编辑车辆', isShow: false }, { id: 'tb-car-del', name: '删除车辆', isShow: false }, { id: 'tb-car-import', name: '批量导入', isShow: false }, ] }] }, { id: 'tb-business-item', name: '作业管理', icon: 'el-icon-edit-outline', parent: true, childList: [{ id: 'tb-business-item-list', name: '作业订单', url: 'sa-view/tb-partner/tb-business-item-list.html', childList: [{ id: 'tb-business-item-confirm', name: '接单确认', isShow: false, }, ] }, ] }, { id: 'tb-business', name: '业务管理', icon: 'el-icon-edit-outline', parent: true, childList: [ { id: 'tb-car-disincle-list', name: '业务管理', url: 'sa-view/tb-business/tb-car-disincle-list.html', childList: [{ id: 'tb-flex-business-add', name: '添加业务', isShow: false }, { id: 'tb-flex-business-edit', name: '编辑业务', isShow: false }, { id: 'tb-flex-business-del', name: '删除业务', isShow: false }, { id: 'tb-flex-business-pay', name: '手工缴费', isShow: false }, { id: 'tb-business-car-bind', name: '车辆绑定', isShow: false }, { id: 'tb-flex-business-confirm', name: '账单确认', isShow: false }, ] }, ] }, { id: 'tb-item-type', name: '收费项管理', icon: 'el-icon-notebook-2', parent: true, 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-item-type', name: '编辑收费项', isShow: false }, ] }, { id: 'tb-item-type-list', name: '收费项管理', url: 'sa-view/tb-item-type/tb-item-type-list.html', childList: [{ id: 'tb-item-type-add', name: '添加收费项', isShow: false }, { id: 'tb-item-type-edit', name: '编辑收费项', isShow: false }, { id: 'tb-item-type-relation', name: '收费明细', isShow: false }, { id: 'tb-item-type-del', name: '删除收费项', isShow: false }, ] }, { id: 'tb-item-re-list', name: '明细管理', url: 'sa-view/tb-item-type/tb-item-list.html', childList: [{ id: 'tb-item-manager-add', name: '添加明细', isShow: false }, { id: 'tb-item-manager-del', name: '删除明细', isShow: false }, { id: 'tb-item-manager-edit', name: '修改明细', isShow: false }, ] }, { id: 'tb-sort-group', name: '其他业务设置', url: 'sa-view/tb-sort-group/tb-sort-group-list.html', childList: [{ id: 'tb-sort-group-add', name: '添加', isShow: false }, { id: 'tb-sort-group-del', name: '删除', isShow: false }, { id: 'tb-sort-group-edit', name: '修改', isShow: false }, ] }, ], }, { id: 'tb-business-car', name: '放行记录', icon: 'el-icon-notebook-2', parent: true, childList: [{ id: 'tb-business-car-list', name: '放行列表', url: 'sa-view/tb-business-car/tb-business-car-list.html', childList: [{ id: 'tb-business-car-add', name: '添加记录', isShow: false }, { id: 'tb-business-car-export', name: '导出记录', isShow: false }, { id: 'tb-business-car-edit', name: '修改记录', isShow: false }, { id: 'tb-business-car-del', name: '删除记录', isShow: false }, ] }, ] }, { id: 'info-setting', name: '信息设置', icon: 'el-icon-monitor', parent: true, childList: [{ id: 'tb-item', name: '收费管理', icon: 'el-icon-coin', parent: true, childList: [{ id: 'tb-item-list', name: '收费标准', url: 'sa-view/tb-item/tb-item-list.html' }, { id: 'tb-item-list-edit-type', name: '修改类型', isShow: false }, ] }, ] }, { id: 'tb-notices', name: '消息管理', icon: 'el-icon-news', parent: true, childList: [{ id: 'tb-notices-list', name: '消息列表', url: 'sa-view/tb-notices/tb-notices-list.html', childList: [{ id: 'tb-notices-add', name: '添加消息', isShow: false }, { id: 'tb-notices-del', name: '删除消息', isShow: false }, { id: 'tb-notices-edit', name: '修改消息', isShow: false }, ] }, ] }, { id: 'tb-charge-record', name: '充值记录', icon: 'el-icon-folder-opened', parent: true, 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', parent: true, 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', parent: true, childList: [{ id: 'tb-declare-list', name: '申报列表', url: 'sa-view/tb-declare/tb-declare-list.html', childList: [{ id: 'tb-declare-print', name: '打印申报信息', isShow: false }, { id: 'tb-declare-edit', name: '修改申报信息', isShow: false }, { id: 'tb-declare-del', name: '删除申报信息', isShow: false }, ] }, ] }, { id: 'tb-disinfect', name: '消毒信息', icon: 'el-icon-folder-opened', parent: true, childList: [{ id: 'tb-disinfect-list', name: '申请列表', url: 'sa-view/tb-disinfect/tb-disinfect-list.html', childList: [{ id: 'tb-disinfect-print', name: '打印信息', isShow: false }, { id: 'tb-disinfect-edit', name: '修改信息', isShow: false }, { id: 'tb-disinfect-del', name: '删除信息', isShow: false }, ] }, ] }, { id: 'tb-discount', name: '折扣管理', icon: 'el-icon-folder-opened', parent: true, childList: [{ id: 'tb-discount-list', name: '折扣管理', url: 'sa-view/tb-discount/tb-discount-list.html', childList: [{ id: 'tb-discount-add', name: '添加折扣', isShow: false }, { id: 'tb-discount-del', name: '删除', isShow: false }, { id: 'tb-discount-edit', name: '编辑', isShow: false }, { id: 'tb-discount-change', name: '启用/停用', isShow: false }, ] }, ] }, { id: 'tb-fee-statistics', name: '收费统计', icon: 'el-icon-folder-opened', parent: true, childList: [{ id: 'tb-fee-details-list', name: '收费明细', url: 'sa-view/tb-fee-statistics/tb-fee-details-list.html', childList: [ { id: 'tb-kaidan-confirm', name: '开单确认', isShow: false }, { id: 'tb-diaodu-confirm', name: '调度确认', isShow: false }, { id: 'tb-jicha-confirm', name: '稽查确认', isShow: false }, { id: 'tb-jicha-cancel', name: '取消确认', isShow: false }, ] }, { 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' }, ] }, ]