dict.js 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. // 菜单
  2. export const system = [
  3. { title: '首页', normal: '/image/tabs/home.png', active: '/image/tabs/home_1.png', route: 'pages/home/index', type: '0' },
  4. { title: '资讯', normal: '/image/tabs/news.png', active: '/image/tabs/news_1.png', route: 'pages/news/index', type: '0' },
  5. { title: '话题', normal: '/image/tabs/topic.png', active: '/image/tabs/topic_1.png', route: 'pages/topic/index', type: '0' },
  6. { title: '我的', normal: '/image/tabs/my.png', active: '/image/tabs/my_1.png', route: 'pages/my/index', type: '0' },
  7. ]
  8. // 比赛状态
  9. export const match_status = [
  10. { label: '', value: '全部' },
  11. { label: '0', value: '报名中' },
  12. { label: '1', value: '报名截止' },
  13. { label: '2', value: '报名结束' },
  14. { label: '3', value: '发布秩序册' },
  15. { label: '4', value: '比赛中' },
  16. { label: '5', value: '比赛结束' },
  17. ]
  18. // 赛事类别
  19. export const matchType = [
  20. { label: '团体赛', value: '团体赛' },
  21. { label: '单项赛', value: '单项赛' },
  22. ]
  23. // 我的页面,功能按钮
  24. // -1:管理员,0:普通用户,1:裁判用户
  25. export const myBtn = [
  26. {
  27. type: '-1',
  28. btn: [
  29. {
  30. title: '用户管理',
  31. route: 'user/index',
  32. routeList: []
  33. },
  34. {
  35. title: '赛事管理',
  36. routeList: [
  37. { title: '信息管理', route: 'match/mess' },
  38. { title: '报名管理', route: 'match/sign' },
  39. { title: '组队信息管理', route: 'match/shteam' },
  40. { title: '秩序册管理', route: 'match/orderbook' },
  41. { title: '比赛项目管理', route: 'match/project' },
  42. { title: '比赛场地管理', route: 'match/address' },
  43. ]
  44. },
  45. {
  46. title: '新闻管理',
  47. routeList: [
  48. { title: '资讯信息管理', route: 'news/mess' },
  49. { title: '话题信息管理', route: 'topic/mess' },
  50. ]
  51. },
  52. {
  53. title: '订单管理',
  54. route: 'order/index',
  55. routeList: []
  56. },
  57. {
  58. title: '账号管理',
  59. routeList: [
  60. { title: '资料修改', route: 'setting/basic' },
  61. { title: '联系我们', route: 'setting/contact' },
  62. ]
  63. },
  64. ]
  65. },
  66. {
  67. type: '0',
  68. btn: [
  69. {
  70. title: '我的赛事',
  71. route: 'usermymatch/index',
  72. routeList: []
  73. },
  74. {
  75. title: '我的报名',
  76. route: 'usermysign/index',
  77. routeList: []
  78. },
  79. {
  80. title: '组队信息',
  81. route: 'usermyteam/index',
  82. routeList: []
  83. },
  84. {
  85. title: '我的订单',
  86. route: 'usermyorder/index',
  87. routeList: []
  88. },
  89. {
  90. title: '账号管理',
  91. routeList: [
  92. { title: '资料修改', route: 'setting/basic' },
  93. { title: '联系我们', route: 'setting/contact' },
  94. ]
  95. },
  96. ]
  97. },
  98. {
  99. type: '1',
  100. btn: [
  101. // {
  102. // title: '我的赛事',
  103. // route: 'usermymatch/index',
  104. // routeList: []
  105. // },
  106. {
  107. title: '账号管理',
  108. routeList: [
  109. { title: '资料修改', route: 'setting/basic' },
  110. { title: '联系我们', route: 'setting/contact' },
  111. ]
  112. },
  113. ]
  114. }
  115. ]
  116. // 性别
  117. export const gender = [
  118. { label: '男', value: '男' },
  119. { label: '女', value: '女' },
  120. { label: '未知', value: '未知' },
  121. ]
  122. // 用户类别
  123. export const type = [
  124. { label: '普通用户', value: '0' },
  125. { label: '裁判用户', value: '1' },
  126. ]
  127. export const match_project = [
  128. { label: '单打', value: '单打' },
  129. { label: '双打', value: '双打' },
  130. ]
  131. export const is_use_project = [
  132. { label: '启用', value: '0' },
  133. { label: '禁用', value: '1' },
  134. ]
  135. export const is_show_project = [
  136. { label: '公开', value: '0' },
  137. { label: '不公开', value: '1' },
  138. ]
  139. export const examine_status = [
  140. { label: '待审核', value: '0' },
  141. { label: '审核通过', value: '1' },
  142. { label: '审核拒绝', value: '-1' }
  143. ]
  144. export const paystatusList = [
  145. { label: '未支付', value: '0' },
  146. { label: '支付成功', value: '1' },
  147. { label: '支付失败', value: '-1' },
  148. { label: '申请退款', value: '-2' },
  149. { label: '已退款', value: '-3' },
  150. ]