From b4350e894965661fbd131258158b1a9772ec9e4b Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 18 Mar 2021 09:59:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=9D=83=E9=99=90=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/router/index.js | 4 ++-- client/src/views/dashboard/index.vue | 15 +++++++++++---- client/src/views/supervision/content.vue | 4 ++-- server/apps/supervision/views.py | 11 +++++++++-- 4 files changed, 24 insertions(+), 10 deletions(-) diff --git a/client/src/router/index.js b/client/src/router/index.js index 6fd2674..2482531 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -130,14 +130,14 @@ export const asyncRoutes = [ path: 'record', name: 'Record', component: () => import('@/views/supervision/record.vue'), - meta: { title: '材料列表', icon: 'guide', perms: ['record_manage'] } + meta: { title: '材料列表', icon: 'guide', perms: ['record_all'] } } , { path: 'report', name: 'Report', component: () => import('@/views/supervision/report.vue'), - meta: { title: '材料报送', icon: 'guide', perms: ['report_manage'] } + meta: { title: '材料报送', icon: 'guide', perms: ['record_view'] } } , { diff --git a/client/src/views/dashboard/index.vue b/client/src/views/dashboard/index.vue index 54a1ba8..b5436e3 100644 --- a/client/src/views/dashboard/index.vue +++ b/client/src/views/dashboard/index.vue @@ -1,6 +1,6 @@ @@ -79,7 +86,7 @@ export default {