|
@@ -24,7 +24,7 @@ import Layout from '@/layout'
|
|
|
activeMenu: '/example/list' if set path, the sidebar will highlight the path you set
|
|
|
}
|
|
|
*/
|
|
|
-
|
|
|
+// 1、管理员;2、省级总帐号;3、升级;4、市级;5、区级(普通账号);99、企业(楼宇)
|
|
|
/**
|
|
|
* constantRoutes
|
|
|
* a base page that does not have permission requirements
|
|
@@ -184,7 +184,7 @@ export const constantRoutes = [
|
|
|
path: 'index',
|
|
|
name: 'visitors_record',
|
|
|
component: () => import('@/views/visitors_record/index'),
|
|
|
- meta: { title: '访客记录', role: [99], icon: 'el-icon-date' }
|
|
|
+ meta: { title: '访客记录', role: [1, 5, 99], icon: 'el-icon-date' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
@@ -220,7 +220,7 @@ export const constantRoutes = [
|
|
|
path: 'index',
|
|
|
name: 'exam_list',
|
|
|
component: () => import('@/views/exam_list/index'),
|
|
|
- meta: { title: '考试列表', role: [1, 2, 3, 4, 5,99], visitorType: ['2'], icon: 'el-icon-s-order' }
|
|
|
+ meta: { title: '考试列表', role: [1, 2, 3, 4, 5, 99], visitorType: ['2'], icon: 'el-icon-s-order' }
|
|
|
}
|
|
|
]
|
|
|
},
|