|
@@ -1,151 +1,6 @@
|
|
-// 菜单
|
|
|
|
-export const system = [
|
|
|
|
- { title: '首页', normal: '/image/tabs/home.png', active: '/image/tabs/home_1.png', route: 'pages/home/index', type: '0' },
|
|
|
|
- { title: '资讯', normal: '/image/tabs/news.png', active: '/image/tabs/news_1.png', route: 'pages/news/index', type: '0' },
|
|
|
|
- { title: '话题', normal: '/image/tabs/topic.png', active: '/image/tabs/topic_1.png', route: 'pages/topic/index', type: '0' },
|
|
|
|
- { title: '我的', normal: '/image/tabs/my.png', active: '/image/tabs/my_1.png', route: 'pages/my/index', type: '0' },
|
|
|
|
-]
|
|
|
|
// 性别
|
|
// 性别
|
|
export const gender = [
|
|
export const gender = [
|
|
{ label: '男', value: '0' },
|
|
{ label: '男', value: '0' },
|
|
{ label: '女', value: '1' },
|
|
{ label: '女', value: '1' },
|
|
{ label: '未知', value: '2' },
|
|
{ label: '未知', value: '2' },
|
|
-]
|
|
|
|
-//资讯类型
|
|
|
|
-export const news_type = [
|
|
|
|
- { label: '其他', value: '0' },
|
|
|
|
- { label: '羽毛球', value: '1' },
|
|
|
|
-];
|
|
|
|
-// 是否启用
|
|
|
|
-export const isuse = [
|
|
|
|
- { label: '启用', value: '0' },
|
|
|
|
- { label: '禁用', value: '1' },
|
|
|
|
-]
|
|
|
|
-// 我的页面,功能按钮
|
|
|
|
-// -1:管理员,0:普通用户,1:裁判用户
|
|
|
|
-export const myBtn = [
|
|
|
|
- {
|
|
|
|
- type: '-1',
|
|
|
|
- menu: [
|
|
|
|
- {
|
|
|
|
- title: '用户管理',
|
|
|
|
- btn: [
|
|
|
|
- { title: '信息管理', route: 'user/list' },
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- title: '赛事管理',
|
|
|
|
- btn: [
|
|
|
|
- { title: '信息管理', route: 'match/list' },
|
|
|
|
- { title: '报名管理', route: 'sign/list' },
|
|
|
|
- { title: '组队管理', route: 'team/list' },
|
|
|
|
- { title: '赛事组管理', route: 'matchteam/list' },
|
|
|
|
- { title: '小组赛管理', route: 'race/list' },
|
|
|
|
- { title: '淘汰赛管理', route: 'eliminate/list' },
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- title: '新闻管理',
|
|
|
|
- btn: [
|
|
|
|
- { title: '资讯管理', route: 'news/list' },
|
|
|
|
- { title: '话题管理', route: 'topic/list' },
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- title: '字典管理',
|
|
|
|
- btn: [
|
|
|
|
- { title: '比赛项目管理', route: 'project/list' },
|
|
|
|
- { title: '比赛场地管理', route: 'address/list' },
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- title: '账号管理',
|
|
|
|
- btn: [
|
|
|
|
- { title: '资料修改', route: 'setting/basic' },
|
|
|
|
- { title: '联系我们', route: 'setting/contact' },
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- type: '0',
|
|
|
|
- menu: [
|
|
|
|
- {
|
|
|
|
- title: '赛事管理',
|
|
|
|
- btn: [
|
|
|
|
- { title: '我的赛事', route: 'personalmatch/index' },
|
|
|
|
- { title: '报名管理', route: 'personalsign/index' },
|
|
|
|
- { title: '组队管理', route: 'personalteam/index' },
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- title: '账号管理',
|
|
|
|
- btn: [
|
|
|
|
- { title: '资料修改', route: 'setting/basic' },
|
|
|
|
- { title: '联系我们', route: 'setting/contact' },
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- type: '1',
|
|
|
|
- menu: [
|
|
|
|
- {
|
|
|
|
- title: '赛事管理',
|
|
|
|
- btn: [
|
|
|
|
- { title: '小组赛管理', route: 'refereerace/list' },
|
|
|
|
- { title: '淘汰赛管理', route: 'refereeeliminate/list' },
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- title: '账号管理',
|
|
|
|
- btn: [
|
|
|
|
- { title: '资料修改', route: 'setting/basic' },
|
|
|
|
- { title: '联系我们', route: 'setting/contact' },
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
-];
|
|
|
|
-// 用户类型
|
|
|
|
-export const type = [
|
|
|
|
- // { label: '管理员', value: '-1' },
|
|
|
|
- { label: '普通用户', value: '0' },
|
|
|
|
- { label: '裁判用户', value: '1' },
|
|
|
|
-]
|
|
|
|
-//比赛类型
|
|
|
|
-export const match_project = [
|
|
|
|
- { label: '单打', value: '单打' },
|
|
|
|
- { label: '双打', value: '双打' },
|
|
|
|
-]
|
|
|
|
-//是否公开
|
|
|
|
-export const is_show_project = [
|
|
|
|
- { label: '公开', value: '0' },
|
|
|
|
- { label: '不公开', value: '1' },
|
|
|
|
-]
|
|
|
|
-// 赛事类别
|
|
|
|
-export const matchType = [
|
|
|
|
- { label: '团体赛', value: '团体赛' },
|
|
|
|
- { label: '单项赛', value: '单项赛' },
|
|
|
|
-];
|
|
|
|
-// 赛程状态
|
|
|
|
-export const race_status = [
|
|
|
|
- { label: '已安排', value: '0' },
|
|
|
|
- { label: '待开赛', value: '1' },
|
|
|
|
- { label: '已开赛', value: '2' },
|
|
|
|
- { label: '已结束', value: '3' },
|
|
|
|
-]
|
|
|
|
-//组队审核
|
|
|
|
-export const examine_status = [
|
|
|
|
- { label: '待审核', value: '0' },
|
|
|
|
- { label: '审核通过', value: '1' },
|
|
|
|
- { label: '审核拒绝', value: '-1' }
|
|
|
|
-]
|
|
|
|
-//支付状态
|
|
|
|
-export const paystatusList = [
|
|
|
|
- { label: '未支付', value: '0' },
|
|
|
|
- { label: '支付成功', value: '1' },
|
|
|
|
- { label: '支付失败', value: '-1' },
|
|
|
|
- { label: '申请退款', value: '-2' },
|
|
|
|
- { label: '已退款', value: '-3' },
|
|
|
|
]
|
|
]
|