diff --git a/client/src/router/index.js b/client/src/router/index.js index 762947f..ea15064 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -165,7 +165,7 @@ export const asyncRoutes = [ path: 'table', name: 'InspectTable', component: () => import('@/views/qualityinspect/inspectTable.vue'), - meta: { title: '检查表', perms: ['qualityinspect_view'] } + meta: { title: '检查表', perms: ['inspecttask_create'] } }, { path: 'task', @@ -177,7 +177,7 @@ export const asyncRoutes = [ path: 'inpecttaskdo/:id', name: 'InpectTaskdo', component: () => import('@/views/qualityinspect/inspecttaskdo.vue'), - meta: { title: '报送任务执行', perms: ['task_view'] }, + meta: { title: '报送任务执行', perms: ['qualityinspect_view'] }, hidden: true },