menu.php 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Leo
  5. * Date: 2017/9/3
  6. * Time: 下午3:23
  7. */
  8. return [
  9. 'dashboard'=>[
  10. 'name'=>'Dashboard',//控制台
  11. 'class' => '',
  12. 'icon'=>'el-icon-guide',
  13. 'controller'=>'dashboard',
  14. 'action'=>'index',
  15. 'routePath'=>'dashboard/index',
  16. 'show'=>1,
  17. 'child'=>[
  18. ['name'=>'月奖金量', 'class'=>'', 'icon'=>'', 'controller'=>'dashboard', 'action'=>'bonus-num', 'routePath'=>'dashboard/bonus-num', 'show'=>0,],
  19. ]
  20. ],
  21. 'shop'=>[
  22. 'name'=>'Products Management',//商城管理
  23. 'class' => '',
  24. 'icon'=>'el-icon-goods',
  25. 'controller'=>'shop',
  26. 'action'=>'',
  27. 'routePath'=>'shop',
  28. 'show'=>1,
  29. 'child'=>[
  30. ['name'=>'Products list', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'index', 'routePath'=>'shop/index', 'show'=>1,],//商品列表
  31. ['name'=>'Repeat sales products', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'reconsume', 'routePath'=>'shop/reconsume', 'show'=>1,'allow'=>'studio'],//复消商品
  32. ['name'=>'Entry list', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'dec-order-list', 'routePath'=>'shop/dec-order-list', 'show'=>1,],//报单列表
  33. ['name'=>'Order List', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'order-list', 'routePath'=>'shop/order-list', 'show'=>1,],//订单列表
  34. ]
  35. ],
  36. 'user'=>[
  37. 'name'=>'Member management',//会员管理
  38. 'class' => '',
  39. 'icon'=>'el-icon-user',
  40. 'controller'=>'user',
  41. 'action'=>'',
  42. 'routePath'=>'user',
  43. 'show'=>1,
  44. 'child'=>[
  45. ['name'=>'Personal info', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'index', 'routePath'=>'user/index', 'show'=>1,],//个人资料
  46. //['name'=>'上传身份证', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'id-card', 'routePath'=>'user/id-card', 'show'=>0,],
  47. //['name'=>'开拓会员列表', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'rec-user', 'routePath'=>'user/rec-user', 'show'=>1,],
  48. // ['name'=>'点位绑定列表', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'bind', 'routePath'=>'user/bind', 'show'=>1,],
  49. // ['name'=>'点位绑定编辑', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'bind-edit', 'routePath'=>'user/bind-edit', 'show'=>0,],
  50. ['name'=>'Reset Password', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'password', 'routePath'=>'user/password', 'show'=>1],
  51. ['name'=>'升级管理', 'class'=>'', 'icon'=>'', 'controller'=>'upgrade', 'action'=>'dec', 'routePath'=>'user/upgrade', 'show'=>1,'allow'=>'declarer',],
  52. ['name'=>'Entry Management', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'dec', 'routePath'=>'user/dec', 'show'=>1,'allow'=>'declarer',],
  53. ]
  54. ],
  55. 'atlas'=>[
  56. 'name'=>'网络图谱',
  57. 'class' => '',
  58. 'icon'=>'el-icon-data-line',
  59. 'controller'=>'atlas',
  60. 'action'=>'',
  61. 'routePath'=>'atlas',
  62. 'show'=>1,
  63. 'child'=>[
  64. ['name'=>'安置网络图', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'network', 'routePath'=>'atlas/network', 'show'=>1,],
  65. ]
  66. ],
  67. 'bonus'=>[
  68. 'name'=>'Bonus management',//奖金管理
  69. 'class' => '',
  70. 'icon'=>'el-icon-coin',
  71. 'controller'=>'bonus',
  72. 'action'=>'',
  73. 'routePath'=>'bonus',
  74. 'show'=>1,
  75. 'child'=>[
  76. ['name'=>'My account', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'index', 'routePath'=>'bonus/index', 'show'=>1,],//我的账户
  77. // ['name'=>'最新奖金', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'new', 'routePath'=>'bonus/new', 'show'=>1,'allow'=>'newBonusSwitch'],
  78. ['name'=>'Previous bonus', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'other', 'routePath'=>'bonus/other', 'show'=>1,'allow'=>'pastBonusSwitch'],//往期奖金
  79. //['name'=>'实时业绩', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'real-time-perf', 'routePath'=>'bonus/real-time-perf', 'show'=>1,],
  80. // ['name'=>'房产积分', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'fc-point', 'routePath'=>'bonus/fc-point', 'show'=>1,],
  81. // ['name'=>'报单中心补助明细查询', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'flow-bt', 'routePath'=>'bonus/flow-bt', 'show'=>1,],
  82. // ['name'=>'报单中心货补追溯', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'trace-fl', 'routePath'=>'bonus/trace-fl', 'show'=>1,],
  83. ]
  84. ],
  85. 'finance'=>[
  86. 'name'=>'Financial Management',//财务管理
  87. 'class' => '',
  88. 'icon'=>'el-icon-bank-card',
  89. 'controller'=>'finance',
  90. 'action'=>'',
  91. 'routePath'=>'finance',
  92. 'show'=>1,
  93. 'child'=>[
  94. // ['name'=>'会员复销池余额流水', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'reconsume-pool-flow', 'routePath'=>'finance/reconsume-pool-flow', 'show'=>1,],
  95. ['name'=>'转账记录', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'transfer-list', 'routePath'=>'finance/transfer-list', 'show'=>1,'allow'=>'transferRecordSwitch'],
  96. ['name'=>'我要转账', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'transfer-add', 'routePath'=>'finance/transfer-add', 'show'=>1,'allow'=>'transferSwitch'],
  97. ['name'=>'Withdrawal details', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'withdraw', 'routePath'=>'finance/withdraw', 'show'=>1,],//提现明细
  98. ['name'=>'申请提现', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'withdraw-add', 'routePath'=>'finance/withdraw-add', 'show'=>0,],
  99. ['name'=>'Recharge details', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge', 'routePath'=>'finance/recharge', 'show'=>1,],//充值明细
  100. ['name'=>'申请充值', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge-add', 'routePath'=>'finance/recharge-add', 'show'=>0,],
  101. ]
  102. ],
  103. 'article'=>[
  104. 'name'=>'Article Management',//文章管理
  105. 'class' => '',
  106. 'icon'=>'el-icon-document',
  107. 'controller'=>'article',
  108. 'action'=>'',
  109. 'routePath'=>'article',
  110. 'show'=>1,
  111. 'child'=>[
  112. ]
  113. ],
  114. // 'message'=>[
  115. // 'name'=>'站内信',
  116. // 'class' => '',
  117. // 'icon'=>'el-icon-message',
  118. // 'controller'=>'message',
  119. // 'action'=>'',
  120. // 'routePath'=>'message',
  121. // 'show'=>1,
  122. // 'child'=>[
  123. // ['name'=>'站内信列表', 'class'=>'', 'icon'=>'', 'controller'=>'message', 'action'=>'index', 'routePath'=>'message/list', 'show'=>1,],
  124. // ['name'=>'站内信详情', 'class'=>'', 'icon'=>'', 'controller'=>'message', 'action'=>'detail', 'routePath'=>'message/detail', 'show'=>0,],
  125. // ]
  126. // ],
  127. 'config'=>[
  128. 'name'=>'Setting',//设置
  129. 'class' => '',
  130. 'icon'=>'el-icon-setting',
  131. 'controller'=>'config',
  132. 'action'=>'',
  133. 'routePath'=>'config',
  134. 'show'=>1,
  135. 'child'=>[
  136. // ['name'=>'个人设置', 'class'=>'', 'icon'=>'', 'controller'=>'config', 'action'=>'base', 'routePath'=>'config/base', 'show'=>1,],
  137. ['name'=>'Receiving address', 'class'=>'', 'icon'=>'', 'controller'=>'config', 'action'=>'receive-address-list', 'routePath'=>'config/receive-address-list', 'show'=>1,],//收货地址管理
  138. ]
  139. ],
  140. ];