外汇后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
2.3 KiB

1 year ago
  1. import { HomeOutlined, UserOutlined, AuditOutlined } from '@ant-design/icons'
  2. const menus = [
  3. {
  4. path: '/',
  5. name: '首页',
  6. key: 'home',
  7. icon: HomeOutlined,
  8. routes: [],
  9. },
  10. {
  11. path: '/adminuser',
  12. name: '用户管理',
  13. key: 'adminuser',
  14. type: 'subMenu',
  15. icon: UserOutlined,
  16. iconfont: 'icon-xiaoshouzongjian',
  17. routes: [
  18. {
  19. path: '/adminuser/list',
  20. name: '用户列表',
  21. key: 'adminuser:list:view'
  22. }
  23. ]
  24. },
  25. {
  26. path: '/adminpermission',
  27. name: '权限管理',
  28. key: 'adminpermission',
  29. type: 'subMenu',
  30. icon: AuditOutlined,
  31. routes: [
  32. {
  33. path: '/adminpermission/list',
  34. name: '权限列表',
  35. key: 'adminpermission:list:view',
  36. remove: true
  37. }
  38. ]
  39. },
  40. {
  41. path: '/admininvite',
  42. name: '邀请',
  43. key: 'admininvite',
  44. type: 'subMenu',
  45. icon: AuditOutlined,
  46. routes: [
  47. {
  48. path: '/admininvite/chart',
  49. name: '关联图',
  50. key: 'admininvite:list:chart'
  51. }
  52. ]
  53. },
  54. {
  55. path: '/adminupload',
  56. name: '上传管理',
  57. key: 'adminupload',
  58. type: 'subMenu',
  59. icon: AuditOutlined,
  60. routes: [
  61. {
  62. path: '/adminupload/uploadapk',
  63. name: '上传APK',
  64. key: 'admininvite:list:uploadapk'
  65. }
  66. ]
  67. },
  68. {
  69. path: '/client',
  70. name: '客户端',
  71. key: 'client',
  72. type: 'subMenu',
  73. icon: AuditOutlined,
  74. routes: [
  75. {
  76. path: '/client/userlist',
  77. name: '用户列表',
  78. exact: true,
  79. key: 'client:userlist:view',
  80. remove: true
  81. },
  82. {
  83. path: '/client/recharge',
  84. name: '充值记录',
  85. exact: true,
  86. key: 'client:recharge:view',
  87. },
  88. {
  89. path: '/client/withdraw',
  90. name: '提现记录',
  91. exact: true,
  92. key: 'client:withdraw:view',
  93. },
  94. {
  95. path: '/client/mt4history',
  96. name: 'MT4历史记录',
  97. exact: true,
  98. key: 'client:mt4history:view',
  99. },
  100. {
  101. path: '/client/mt4order',
  102. name: 'MT4订单列表',
  103. exact: true,
  104. key: 'client:mt4order:view',
  105. },
  106. {
  107. path: '/client/mt4settlementorder',
  108. name: 'MT4结算订单列表',
  109. exact: true,
  110. key: 'client:mt4settlementorder:view',
  111. }
  112. ]
  113. }
  114. ]
  115. export default menus