menu.php 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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'=>'控制台',
  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'=>'商城管理',
  23. 'class' => '',
  24. 'icon'=>'el-icon-goods',
  25. 'controller'=>'shop',
  26. 'action'=>'',
  27. 'routePath'=>'shop',
  28. 'show'=>1,
  29. 'child'=>[
  30. ['name'=>'商品列表', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'index', 'routePath'=>'shop/index', 'show'=>1,],
  31. ['name'=>'复消商品', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'reconsume', 'routePath'=>'shop/reconsume', 'show'=>1,'allow'=>'studio'],
  32. ['name'=>'报单列表', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'dec-order-list', 'routePath'=>'shop/dec-order-list', 'show'=>1,'allow'=>'declarer',],
  33. ['name'=>'订单列表', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'order-list', 'routePath'=>'shop/order-list', 'show'=>1,],
  34. ['name'=>'IPay88支付', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'i-pay88', 'routePath'=>'shop/i-pay88', 'show'=>0,],
  35. ['name'=>'wst仓储推送', 'class'=>'', 'icon'=>'', 'controller'=>'shop', 'action'=>'logistics', 'routePath'=>'shop/logistics', 'show'=>0,],
  36. ]
  37. ],
  38. 'user'=>[
  39. 'name'=>'会员管理',
  40. 'class' => '',
  41. 'icon'=>'el-icon-user',
  42. 'controller'=>'user',
  43. 'action'=>'',
  44. 'routePath'=>'user',
  45. 'show'=>1,
  46. 'child'=>[
  47. ['name'=>'个人资料', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'index', 'routePath'=>'user/index', 'show'=>1,],
  48. //['name'=>'上传身份证', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'id-card', 'routePath'=>'user/id-card', 'show'=>0,],
  49. //['name'=>'开拓会员列表', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'rec-user', 'routePath'=>'user/rec-user', 'show'=>1,],
  50. // ['name'=>'点位绑定列表', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'bind', 'routePath'=>'user/bind', 'show'=>1,],
  51. // ['name'=>'点位绑定编辑', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'bind-edit', 'routePath'=>'user/bind-edit', 'show'=>0,],
  52. ['name'=>'重置密码', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'password', 'routePath'=>'user/password', 'show'=>1],
  53. ['name'=>'升级管理', 'class'=>'', 'icon'=>'', 'controller'=>'upgrade', 'action'=>'dec', 'routePath'=>'user/upgrade', 'show'=>1,'allow'=>'declarer-upgrade',],
  54. ['name'=>'报单管理', 'class'=>'', 'icon'=>'', 'controller'=>'user', 'action'=>'dec', 'routePath'=>'user/dec', 'show'=>1,'allow'=>'declarer',],
  55. ]
  56. ],
  57. 'atlas'=>[
  58. 'name'=>'网络图谱',
  59. 'class' => '',
  60. 'icon'=>'el-icon-data-line',
  61. 'controller'=>'atlas',
  62. 'action'=>'',
  63. 'routePath'=>'atlas',
  64. 'show'=>1,
  65. 'child'=>[
  66. ['name'=>'安置网络图', 'class'=>'', 'icon'=>'', 'controller'=>'atlas', 'action'=>'network', 'routePath'=>'atlas/network', 'show'=>1,],
  67. ]
  68. ],
  69. 'bonus'=>[
  70. 'name'=>'奖金管理',
  71. 'class' => '',
  72. 'icon'=>'el-icon-coin',
  73. 'controller'=>'bonus',
  74. 'action'=>'',
  75. 'routePath'=>'bonus',
  76. 'show'=>1,
  77. 'child'=>[
  78. ['name'=>'我的账户', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'index', 'routePath'=>'bonus/index', 'show'=>1,],
  79. ['name'=>'团队查询', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'teams', 'routePath'=>'bonus/teams', 'show'=>1,],
  80. ['name'=>'最新奖金', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'new', 'routePath'=>'bonus/new', 'show'=>1,'allow'=>'newBonusSwitch'],
  81. ['name'=>'往期奖金', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'other', 'routePath'=>'bonus/other', 'show'=>1,'allow'=>'pastBonusSwitch'],
  82. //['name'=>'实时业绩', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'real-time-perf', 'routePath'=>'bonus/real-time-perf', 'show'=>1,],
  83. // ['name'=>'房产积分', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'fc-point', 'routePath'=>'bonus/fc-point', 'show'=>1,],
  84. // ['name'=>'报单中心补助明细查询', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'flow-bt', 'routePath'=>'bonus/flow-bt', 'show'=>1,],
  85. // ['name'=>'报单中心货补追溯', 'class'=>'', 'icon'=>'', 'controller'=>'bonus', 'action'=>'trace-fl', 'routePath'=>'bonus/trace-fl', 'show'=>1,],
  86. ]
  87. ],
  88. 'finance'=>[
  89. 'name'=>'财务管理',
  90. 'class' => '',
  91. 'icon'=>'el-icon-bank-card',
  92. 'controller'=>'finance',
  93. 'action'=>'',
  94. 'routePath'=>'finance',
  95. 'show'=>1,
  96. 'child'=>[
  97. // ['name'=>'会员复销池余额流水', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'reconsume-pool-flow', 'routePath'=>'finance/reconsume-pool-flow', 'show'=>1,],
  98. ['name'=>'转账记录', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'transfer-list', 'routePath'=>'finance/transfer-list', 'show'=>1,'allow'=>'transferRecordSwitch'],
  99. ['name'=>'我要转账', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'transfer-add', 'routePath'=>'finance/transfer-add', 'show'=>1,'allow'=>'transferSwitch'],
  100. ['name'=>'提现明细', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'withdraw', 'routePath'=>'finance/withdraw', 'show'=>1,],
  101. ['name'=>'申请提现', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'withdraw-add', 'routePath'=>'finance/withdraw-add', 'show'=>0,],
  102. ['name'=>'充值明细', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge', 'routePath'=>'finance/recharge', 'show'=>1,],
  103. ['name'=>'申请充值', 'class'=>'', 'icon'=>'', 'controller'=>'finance', 'action'=>'recharge-add', 'routePath'=>'finance/recharge-add', 'show'=>0,],
  104. ]
  105. ],
  106. 'article'=>[
  107. 'name'=>'文章管理',
  108. 'class' => '',
  109. 'icon'=>'el-icon-document',
  110. 'controller'=>'article',
  111. 'action'=>'',
  112. 'routePath'=>'article',
  113. 'show'=>1,
  114. 'child'=>[
  115. ]
  116. ],
  117. // 'message'=>[
  118. // 'name'=>'站内信',
  119. // 'class' => '',
  120. // 'icon'=>'el-icon-message',
  121. // 'controller'=>'message',
  122. // 'action'=>'',
  123. // 'routePath'=>'message',
  124. // 'show'=>1,
  125. // 'child'=>[
  126. // ['name'=>'站内信列表', 'class'=>'', 'icon'=>'', 'controller'=>'message', 'action'=>'index', 'routePath'=>'message/list', 'show'=>1,],
  127. // ['name'=>'站内信详情', 'class'=>'', 'icon'=>'', 'controller'=>'message', 'action'=>'detail', 'routePath'=>'message/detail', 'show'=>0,],
  128. // ]
  129. // ],
  130. 'config'=>[
  131. 'name'=>'设置',
  132. 'class' => '',
  133. 'icon'=>'el-icon-setting',
  134. 'controller'=>'config',
  135. 'action'=>'',
  136. 'routePath'=>'config',
  137. 'show'=>1,
  138. 'child'=>[
  139. // ['name'=>'个人设置', 'class'=>'', 'icon'=>'', 'controller'=>'config', 'action'=>'base', 'routePath'=>'config/base', 'show'=>1,],
  140. ['name'=>'收货地址管理', 'class'=>'', 'icon'=>'', 'controller'=>'config', 'action'=>'receive-address-list', 'routePath'=>'config/receive-address-list', 'show'=>1,],
  141. ]
  142. ],
  143. ];