menu.js 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. export const asyncRouter = [
  2. {
  3. id: 0,
  4. path: '/',
  5. redirect: '/home',
  6. meta: { title: '系统首页', icon: 'icon-shouyefill' },
  7. alwaysShow: true,
  8. children: [
  9. {
  10. id: 1,
  11. path: '/home',
  12. name: '/home',
  13. meta: { title: '系统首页', icon: '' },
  14. },
  15. {
  16. id: 2,
  17. path: '/home/accountSetting',
  18. name: '/home/accountSetting',
  19. meta: { title: '账户设置', icon: '' },
  20. },
  21. ]
  22. },
  23. {
  24. id: 3,
  25. path: '/announcementManage',
  26. meta: { title: '公告管理', icon: 'icon-xinwen' },
  27. alwaysShow: true,
  28. children: [
  29. {
  30. id: 4,
  31. path: '/announcementManage',
  32. name: '/announcementManage',
  33. meta: { title: '公告列表', icon: '' },
  34. },
  35. // {
  36. // id: 5,
  37. // path: '/announcementManage/addAnnouncement',
  38. // name: '/announcementManage/addAnnouncement',
  39. // meta: { title: '发布公告', icon: '', activeMenu: '/announcementManage' },
  40. // hidden: true
  41. // },
  42. ]
  43. },
  44. {
  45. id: 6,
  46. path: '/emailManage',
  47. meta: { title: '邮件管理', icon: 'icon-duanxinyingxiao' },
  48. alwaysShow: true,
  49. children: [
  50. {
  51. id: 7,
  52. path: '/emailManage',
  53. name: '/emailManage',
  54. meta: { title: '邮件列表', icon: '' },
  55. },
  56. // {
  57. // id: 8,
  58. // path: '/emailManage/sendEmail',
  59. // name: '/emailManage/sendEmail',
  60. // meta: { title: '发送邮件', icon: '', activeMenu: '/emailManage' },
  61. // hidden: true
  62. // },
  63. ]
  64. },
  65. // {
  66. // id: 9,
  67. // path: '/articleManage',
  68. // meta: { title: '文章管理', icon: 'icon-bianjiwenzhang_huaban' },
  69. // alwaysShow: true,
  70. // children: [
  71. // {
  72. // id: 10,
  73. // path: '/articleManage',
  74. // name: '/articleManage',
  75. // meta: { title: '游戏攻略', icon: '' },
  76. // },
  77. // ]
  78. // },
  79. {
  80. id: 11,
  81. path: '/memberManage',
  82. meta: { title: '会员管理', icon: 'icon-guanliyuan_jiaoseguanli' },
  83. alwaysShow: true,
  84. children: [
  85. {
  86. id: 12,
  87. path: '/memberManage/memberList',
  88. name: '/memberManage/memberList',
  89. meta: { title: '会员列表', icon: '' },
  90. },
  91. {
  92. id: 13,
  93. path: '/memberManage/memberDetail',
  94. name: '/memberManage/memberDetail',
  95. hidden: true
  96. },
  97. {
  98. id: 14,
  99. path: '/memberManage/diamondIncome',
  100. name: '/memberManage/diamondIncome',
  101. meta: { title: '黑钻收支明细', icon: '' },
  102. },
  103. {
  104. id: 15,
  105. path: '/memberManage/rebateList',
  106. name: '/memberManage/rebateList',
  107. meta: { title: '返佣查询', icon: '' },
  108. },
  109. {
  110. id: 16,
  111. path: '/memberManage/rebateDetail',
  112. name: '/memberManage/rebateDetail',
  113. meta: { title: '返佣明细', icon: '', activeMenu: '/memberManage/rebateList' },
  114. hidden: true
  115. },
  116. {
  117. id: 17,
  118. path: '/memberManage/earningsDetail',
  119. name: '/memberManage/earningsDetail',
  120. meta: { title: '产生收益明细', icon: '', activeMenu: '/memberManage/rebateList' },
  121. hidden: true
  122. },
  123. ]
  124. },
  125. // {
  126. // id: 18,
  127. // path: '/gameManage',
  128. // meta: { title: '游戏管理', icon: 'icon-youxi' },
  129. // alwaysShow: true,
  130. // children: [
  131. // {
  132. // id: 19,
  133. // path: '/gameManage/kittyLevel',
  134. // name: '/gameManage/kittyLevel',
  135. // meta: { title: '猫咪品级管理', icon: '' },
  136. // },
  137. // {
  138. // id: 20,
  139. // path: '/gameManage/kittyMarket',
  140. // name: '/gameManage/kittyMarket',
  141. // meta: { title: '猫市列表', icon: '' },
  142. // },
  143. // {
  144. // id: 21,
  145. // path: '/gameManage/cattery',
  146. // name: '/gameManage/cattery',
  147. // meta: { title: '猫窝管理', icon: '' },
  148. // },
  149. // {
  150. // id: 22,
  151. // path: '/gameManage/propManage',
  152. // name: '/gameManage/propManage',
  153. // meta: { title: '道具管理', icon: '' },
  154. // },
  155. // {
  156. // id: 23,
  157. // path: '/gameManage/goodsManage',
  158. // name: '/gameManage/goodsManage',
  159. // meta: { title: '物品管理', icon: '' },
  160. // },
  161. // {
  162. // id: 24,
  163. // path: '/gameManage/dailyGift',
  164. // name: '/gameManage/dailyGift',
  165. // meta: { title: '每日礼包', icon: '' },
  166. // },
  167. // {
  168. // id: 25,
  169. // path: '/gameManage/gameSetting',
  170. // name: '/gameManage/gameSetting',
  171. // meta: { title: '游戏设置', icon: '' },
  172. // },
  173. // ]
  174. // },
  175. {
  176. id: 26,
  177. path: '/stateManage',
  178. meta: { title: '报表统计', icon: 'icon-baobiao' },
  179. alwaysShow: true,
  180. children: [
  181. {
  182. id: 27,
  183. path: '/stateManage/businessReport',
  184. name: '/stateManage/businessReport',
  185. meta: { title: '业务报表', icon: '' },
  186. },
  187. {
  188. id: 28,
  189. path: '/stateManage/agentList',
  190. name: '/stateManage/agentList',
  191. meta: { title: '业务报表(代理)', icon: '', activeMenu: '/stateManage/businessReport' },
  192. hidden: true
  193. },
  194. {
  195. id: 29,
  196. path: '/stateManage/groupLeader',
  197. name: '/stateManage/groupLeader',
  198. meta: { title: '业务报表(组长)', icon: '', activeMenu: '/stateManage/businessReport' },
  199. hidden: true
  200. },
  201. {
  202. id: 30,
  203. path: '/stateManage/groupMembers',
  204. name: '/stateManage/groupMembers',
  205. meta: { title: '业务报表(组员)', icon: '', activeMenu: '/stateManage/businessReport' },
  206. hidden: true
  207. },
  208. {
  209. id: 31,
  210. path: '/stateManage/memberList',
  211. name: '/stateManage/memberList',
  212. meta: { title: '查看明细', icon: '', activeMenu: '/stateManage/businessReport' },
  213. hidden: true
  214. },
  215. {
  216. id: 32,
  217. path: '/stateManage/memberStatistics',
  218. name: '/stateManage/memberStatistics',
  219. meta: { title: '会员每日统计', icon: '', },
  220. },
  221. ]
  222. },
  223. {
  224. id: 33,
  225. path: '/financeManage',
  226. meta: { title: '财务管理', icon: 'icon-caidancaiwu' },
  227. alwaysShow: true,
  228. children: [
  229. {
  230. id: 34,
  231. path: '/financeManage/withdrawApply',
  232. name: '/financeManage/withdrawApply',
  233. meta: { title: '提现申请', icon: '' },
  234. },
  235. // {
  236. // id: 35,
  237. // path: '/financeManage/serviceCharge',
  238. // name: '/financeManage/serviceCharge',
  239. // meta: { title: '提现手续费设置', icon: '' },
  240. // },
  241. {
  242. id: 40,
  243. path: '/financeManage/userRecharge',
  244. name: '/financeManage/userRecharge',
  245. meta: { title: '充值列表', icon: '' },
  246. },
  247. ]
  248. },
  249. {
  250. id: 36,
  251. path: '/adminManage',
  252. meta: { title: '权限管理', icon: 'icon-shezhi' },
  253. alwaysShow: true,
  254. children: [
  255. {
  256. id: 37,
  257. path: '/adminManage/adminList',
  258. name: '/adminManage/adminList',
  259. meta: { title: '员工管理', icon: '' },
  260. },
  261. // {
  262. // id: 38,
  263. // path: '/adminManage/roleList',
  264. // name: '/adminManage/roleList',
  265. // meta: { title: '权限列表', icon: '' },
  266. // },
  267. ]
  268. },
  269. ]