menu-list.js 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. // 一个菜单可以包括的所有属性
  2. // {
  3. // id: '12345', // 菜单id, 必须唯一
  4. // name: '用户中心', // 菜单名称, 同时也是tab选项卡上显示的名称
  5. // icon: 'el-icon-user', // 菜单图标, 参考地址: https://element.eleme.cn/#/zh-CN/component/icon
  6. // info: '管理所有用户', // 菜单介绍, 在菜单预览和分配权限时会有显示
  7. // url: 'sa-html/user/user-list.html', // 菜单指向地址
  8. // parentId: 1, // 所属父菜单id, 如果指定了一个值, sa-admin在初始化时会将此菜单转移到指定菜单上
  9. // isShow: true, // 是否显示, 默认true
  10. // isBlank: false, // 是否属于外部链接, 如果为true, 则点击菜单时从新窗口打开
  11. // childList: [ // 指定这个菜单所有的子菜单, 子菜单可以继续指定子菜单, 至多支持三级菜单
  12. // // ....
  13. // ],
  14. // click: function(){} // 点击菜单执行一个函数
  15. // }
  16. // 定义菜单列表
  17. var menuList = [
  18. {
  19. id: 'tb-costomer',
  20. name: '客户管理',
  21. icon: 'el-icon-s-custom',
  22. info: '客户管理表数据的维护',
  23. childList: [
  24. {id: 'tb-costomer-list', name: '客户列表', url: 'sa-view/tb-costomer/tb-costomer-list.html'},
  25. // {id: 'tb-costomer-judge', name: '客户审核', url: 'sa-view/tb-costomer/tb-costomer-judge.html'},
  26. {id: 'tb-costomer-maintain', name: '信息维护', url: 'sa-view/tb-costomer/tb-costomer-maintain.html'},
  27. ]
  28. },
  29. {
  30. id: 'tb-partner',
  31. name: '合作伙伴管理',
  32. icon: 'el-icon-s-custom',
  33. childList: [
  34. {id: 'tb-costomer-partner', name: '合作伙伴', url: 'sa-view/tb-partner/tb-partner-list.html'},
  35. ]
  36. },
  37. {
  38. id: 'tb-business',
  39. name: '业务录入',
  40. icon: 'el-icon-edit-outline',
  41. info: '业务登记表数据的维护',
  42. childList: [
  43. {id: 'tb-business-list', name: '业务列表', url: 'sa-view/tb-business/tb-business-list.html'},
  44. {id: 'tb-business-add', name: '录入业务', url: 'sa-view/tb-business/tb-business-add.html', isShow: false},
  45. {id: 'tb-business-confirm', name: '业务确认', url: 'sa-view/tb-business/tb-business-list.html', isShow: false},
  46. {id: 'tb-business-pay', name: '业务支付', url: 'sa-view/tb-business/tb-business-list.html', isShow: false},
  47. ]
  48. },
  49. {
  50. id: 'tb-car',
  51. name: '车辆管理',
  52. icon: 'el-icon-truck',
  53. info: '表数据的维护',
  54. childList: [
  55. {id: 'tb-car-list', name: '车辆-列表', url: 'sa-view/tb-car/tb-car-list.html'},
  56. {id: 'tb-car-add', name: '车辆-添加', url: 'sa-view/tb-car/tb-car-add.html'},
  57. ]
  58. },
  59. // {
  60. // id: 'tb-pass-record',
  61. // name: '放行记录-旧',
  62. // icon: 'el-icon-notebook-2',
  63. // info: '放行日志表数据的维护',
  64. // childList: [
  65. // {id: 'tb-pass-record-list', name: '放行列表', url: 'sa-view/tb-pass-record/tb-pass-record-list.html'},
  66. // ]
  67. // },
  68. {
  69. id: 'tb-business-car',
  70. name: '放行记录',
  71. icon: 'el-icon-notebook-2',
  72. info: '放行日志表数据的维护',
  73. childList: [
  74. {id: 'tb-business-car-list', name: '放行列表', url: 'sa-view/tb-business-car/tb-business-car-list.html'},
  75. ]
  76. },
  77. {
  78. id: 'info-setting',
  79. name: '信息设置',
  80. icon: 'el-icon-monitor',
  81. info: '信息设置',
  82. childList: [
  83. {
  84. id: 'tb-item',
  85. name: '收费管理',
  86. icon: 'el-icon-coin',
  87. info: '收费标准表数据的维护',
  88. childList: [
  89. {id: 'tb-item-list', name: '收费标准', url: 'sa-view/tb-item/tb-item-list.html'},
  90. ]
  91. },
  92. ]
  93. },
  94. {
  95. id: 'tb-notices',
  96. name: '消息管理',
  97. icon: 'el-icon-news',
  98. info: '消息表表数据的维护',
  99. childList: [
  100. {id: 'tb-notices-list', name: '消息列表', url: 'sa-view/tb-notices/tb-notices-list.html'},
  101. ]
  102. },
  103. {
  104. id: 'tb-charge-record',
  105. name: '充值记录',
  106. icon: 'el-icon-folder-opened',
  107. info: '充值记录表数据的维护',
  108. childList: [
  109. {id: 'tb-charge-record-list', name: '充值记录', url: 'sa-view/tb-charge-record/tb-charge-record-list.html'},
  110. ]
  111. },
  112. {
  113. id: 'tb-pay-record',
  114. name: '支付记录',
  115. icon: 'el-icon-folder-opened',
  116. info: '支付记录表数据的维护',
  117. childList: [
  118. {id: 'tb-pay-record-list', name: '支付记录', url: 'sa-view/tb-pay-record/tb-pay-record-list.html'},
  119. ]
  120. },
  121. {
  122. id: 'tb-declare',
  123. name: '申报信息',
  124. icon: 'el-icon-folder-opened',
  125. info: '申报表数据的维护',
  126. childList: [
  127. {id: 'tb-declare-list', name: '申报列表', url: 'sa-view/tb-declare/tb-declare-list.html'}
  128. ]
  129. },
  130. {
  131. id: 'tb-disinfect',
  132. name: '消毒信息',
  133. icon: 'el-icon-folder-opened',
  134. info: '消毒申请单表数据的维护',
  135. childList: [
  136. {id: 'tb-disinfect-list', name: '申请列表', url: 'sa-view/tb-disinfect/tb-disinfect-list.html'},
  137. ]
  138. },
  139. {
  140. id: 'tb-discount',
  141. name: '折扣管理',
  142. icon: 'el-icon-folder-opened',
  143. info: '折扣管理表数据的维护',
  144. childList: [
  145. {id: 'tb-discount-list', name: '折扣管理-列表', url: 'sa-view/tb-discount/tb-discount-list.html'},
  146. {id: 'tb-discount-add', name: '折扣管理-添加', url: 'sa-view/tb-discount/tb-discount-add.html'},
  147. ]
  148. },
  149. {
  150. id: 'tb-fee-statistics',
  151. name: '收费统计',
  152. icon: 'el-icon-folder-opened',
  153. info: '收费统计表表数据的维护',
  154. childList: [
  155. {id: 'tb-fee-details-list', name: '收费明细', url: 'sa-view/tb-fee-statistics/tb-fee-details-list.html'},
  156. {id: 'tb-fee-statistics-list', name: '日统计', url: 'sa-view/tb-fee-statistics/tb-fee-statistics-list.html'},
  157. {id: 'month-statistcs-list', name: '月统计', url: 'sa-view/tb-fee-statistics/month-statistcs-list.html'},
  158. {id: 'year-statistcs-list', name: '年统计', url: 'sa-view/tb-fee-statistics/year-statistcs-list.html'},
  159. ]
  160. },
  161. ]