Browse Source

菜单更新

guhongwei 3 năm trước cách đây
mục cha
commit
a4c0005795
1 tập tin đã thay đổi với 14 bổ sung24 xóa
  1. 14 24
      utils/dict.js

+ 14 - 24
utils/dict.js

@@ -1,29 +1,19 @@
 // 菜单
 export const system = [
-  { icon: 'icon-bangdingweixin', title: '绑定微信', router: '', is_routine: '1' },
-  { icon: 'icon-xiugaimima', title: '修改密码', router: 'password', },
-  { icon: 'icon-tuichudenglu', title: '退出登录', router: 'login', is_routine: '2' },
+  { title: '首页', normal: '/image/shouye.png', active: '/image/shouye-01.png', route: 'pages/home/index', type: '0|1|2' },
+  { title: '查询比赛', normal: '/image/saishi.png', active: '/image/saishi-01.png', route: 'pages/search/index', type: '0|1|2' },
+  { title: '比赛管理', normal: '/image/miaobiao.png', active: '/image/miaobiao-01.png', route: 'pages/administration/index', type: '0' },
+  { title: '查询团队', normal: '/image/duiwu.png', active: '/image/duiwu-01.png', route: 'pages/team/index', type: '0|1|2' },
+  { title: '我的', normal: '/image/wodexiao.png', active: '/image/wodexiao-01.png', route: 'pages/me/index', type: '0|1|2' },
 ]
-// 管理员
-export const admin = [
-  { icon: 'icon-quxiantongxunlu', title: '区县人员', router: 'county' },
-  { icon: 'icon-kuaibananjian', title: '办案人员', router: 'user' },
-  { icon: 'icon-shanghuguanli', title: '商户信息', router: 'merchant' },
-  { icon: 'icon-jiucuo', title: '商户信息纠错', router: 'merchant_error' },
-  { icon: 'icon-shouye', title: '检查历史', router: 'inspect' },
-  { icon: 'icon-shangpinxinxi', title: '商品信息', router: 'market' },
-  { icon: 'icon-shangpinxinxi', title: '群组管理', router: 'group' },
-  // { icon: 'icon-dengji', title: 'test', router: 'index_1' },
+// 我的页面-我的服务
+export const btn = [
+  { title: '已上传图片', icon: 'icon-shangchuanzhaopian', route: 'uploadimg', type: '0|1|2' },
+  { title: '修改密码', icon: 'icon-xiugaimima', route: 'uploadimg', type: '0|1|2' },
+  { title: '退出登录', icon: 'icon-tuichudenglu', route: 'uploadimg', type: '0|1|2', method: 'signout' },
+  { title: '比赛管理', icon: 'icon-bisaiguanli', route: 'matchadmin', type: '0' },
+  { title: '审核队员', icon: 'icon-shenhe', route: 'exammembers', type: '1' },
+  { title: '解散团队', icon: 'icon-ren_jiesantuandui_line', route: 'dismissteam', type: '1' },
+  { title: '比赛管理', icon: 'icon-bisaiguanli', route: 'matchteam', type: '1' },
 
-]
-// 区县
-export const county = [
-  { icon: 'icon-shanghuguanli', title: '商户信息', router: 'county_merchant' },
-]
-// 办案人员
-export const user = [
-  { icon: 'icon-shanghuguanli', title: '商户信息', router: 'user_merchant' },
-  { icon: 'icon-shangpinxinxi', title: '商品信息', router: 'user_market' },
-  { icon: 'icon-shangpinxinxi', title: '群组管理', router: 'management' },
-  { icon: 'icon-shenfenleibie', title: '地图', router: 'map' },
 ]