|
@@ -217,7 +217,7 @@ export default {
|
|
|
{ name: 'A/B分', children: this.returnRoutersArr('abPoint'), icon: 'icon-PC_gongzuotai_ABfen' },
|
|
|
{ name: '任务', children: this.returnRoutersArr('task'), icon: 'icon-kaoqin_kaoqinyuebaobiao' },
|
|
|
{ name: '统计', children: this.returnRoutersArr('ranking'), icon: 'icon-dingdingPC_tongji1' },
|
|
|
- { name: '福利', children: this.returnRoutersArr('welfare'), icon: 'icon-fulizhongxin'}
|
|
|
+ // { name: '福利', children: this.returnRoutersArr('welfare'), icon: 'icon-fulizhongxin'}
|
|
|
];
|
|
|
//this.$authoritys('权限名') 判断权限
|
|
|
if (this.$authoritys('creator') || this.$authoritys('admin') || this.$authoritys('point_manager') || this.$authoritys('dept_manager')) {
|
|
@@ -228,7 +228,6 @@ export default {
|
|
|
}
|
|
|
//this.returnRoutersArr('set',true) 加true表示不限制路由
|
|
|
this.routers_one = this.returnRoutersArr('set', true);
|
|
|
- console.log(this.routers_one)
|
|
|
this.userData = this.$getUserData();
|
|
|
if (this.$route.path != '/home') {
|
|
|
//当刷新页面是控制左边导航栏的选中
|