调查问卷
This commit is contained in:
@@ -117,6 +117,11 @@ const routes: Array<RouteRecordRaw> = [
|
||||
name: 'administrator',
|
||||
component: _import('Administrator'),
|
||||
children:[
|
||||
{
|
||||
path: "",
|
||||
name:'adminChil',
|
||||
redirect: "/administrator/allUser"
|
||||
},
|
||||
{
|
||||
path:'allUser',
|
||||
name:'allUser',
|
||||
@@ -131,6 +136,10 @@ const routes: Array<RouteRecordRaw> = [
|
||||
path:'trialApproval',
|
||||
name:'trialApproval',
|
||||
component: _import_component('Administrator/trialApproval.vue'),
|
||||
},{
|
||||
path:'questionnaire',
|
||||
name:'questionnaire',
|
||||
component: _import_component('Administrator/questionnaire.vue'),
|
||||
},
|
||||
]
|
||||
},
|
||||
@@ -234,7 +243,6 @@ router.beforeEach((to, from, next) => {
|
||||
let sSystemUser = false
|
||||
for (let index = 0; index < isSystemUserRouteList.length; index++) {
|
||||
if(to.path.indexOf(isSystemUserRouteList[index]) > -1){
|
||||
|
||||
sSystemUser = true
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user