dict.js 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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: 'raceteam/index' },
  41. { title: '小组赛管理', route: 'race/index' },
  42. { title: '淘汰赛管理', route: 'eliminate/index' },
  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: 'dictionary/project' },
  61. { title: '比赛场地管理', route: 'dictionary/address' },
  62. ]
  63. },
  64. {
  65. title: '账号管理',
  66. routeList: [
  67. { title: '资料修改', route: 'setting/basic' },
  68. { title: '联系我们', route: 'setting/contact' },
  69. ]
  70. },
  71. ]
  72. },
  73. {
  74. type: '0',
  75. btn: [
  76. {
  77. title: '我的赛事',
  78. route: 'usermymatch/index',
  79. routeList: []
  80. },
  81. {
  82. title: '我的报名',
  83. route: 'usermysign/index',
  84. routeList: []
  85. },
  86. {
  87. title: '组队信息',
  88. route: 'usermyteam/index',
  89. routeList: []
  90. },
  91. {
  92. title: '我的订单',
  93. route: 'usermyorder/index',
  94. routeList: []
  95. },
  96. {
  97. title: '账号管理',
  98. routeList: [
  99. { title: '资料修改', route: 'setting/basic' },
  100. { title: '联系我们', route: 'setting/contact' },
  101. ]
  102. },
  103. ]
  104. },
  105. {
  106. type: '1',
  107. btn: [
  108. {
  109. title: '我的赛事',
  110. routeList: [
  111. { title: '小组赛管理', route: 'referee/group' },
  112. { title: '淘汰赛管理', route: 'referee/eliminate' },
  113. ]
  114. },
  115. {
  116. title: '账号管理',
  117. routeList: [
  118. { title: '资料修改', route: 'setting/basic' },
  119. { title: '联系我们', route: 'setting/contact' },
  120. ]
  121. },
  122. ]
  123. }
  124. ]
  125. // 性别
  126. export const gender = [
  127. { label: '男', value: '男' },
  128. { label: '女', value: '女' },
  129. { label: '未知', value: '未知' },
  130. ]
  131. // 用户类别
  132. export const type = [
  133. { label: '普通用户', value: '0' },
  134. { label: '裁判用户', value: '1' },
  135. ]
  136. export const match_project = [
  137. { label: '单打', value: '单打' },
  138. { label: '双打', value: '双打' },
  139. ]
  140. export const is_use_project = [
  141. { label: '启用', value: '0' },
  142. { label: '禁用', value: '1' },
  143. ]
  144. export const is_show_project = [
  145. { label: '公开', value: '0' },
  146. { label: '不公开', value: '1' },
  147. ]
  148. export const examine_status = [
  149. { label: '待审核', value: '0' },
  150. { label: '审核通过', value: '1' },
  151. { label: '审核拒绝', value: '-1' }
  152. ]
  153. export const paystatusList = [
  154. { label: '未支付', value: '0' },
  155. { label: '支付成功', value: '1' },
  156. { label: '支付失败', value: '-1' },
  157. { label: '申请退款', value: '-2' },
  158. { label: '已退款', value: '-3' },
  159. ]
  160. //资讯类型
  161. export const news_type = [
  162. { label: '其他', value: '0' },
  163. { label: '羽毛球', value: '1' },
  164. ];
  165. // 小组赛赛程状态
  166. export const race_status = [
  167. { label: '已安排', value: '0' },
  168. { label: '待开赛', value: '1' },
  169. { label: '已开赛', value: '2' },
  170. { label: '已结束', value: '3' },
  171. ]