From 1d7dfda3a3176e9c1e4cba49be3c79cdce9128a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Mon, 11 Jul 2022 22:27:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test_client/src/router/index.js | 6 +- test_client/src/views/exam/issue.vue | 217 +++++++++++--------- test_client/src/views/question/question.vue | 8 +- test_server/crm/views.py | 4 +- test_server/rbac/models.py | 2 +- 5 files changed, 128 insertions(+), 109 deletions(-) diff --git a/test_client/src/router/index.js b/test_client/src/router/index.js index 9d422d3..78dec53 100644 --- a/test_client/src/router/index.js +++ b/test_client/src/router/index.js @@ -157,7 +157,7 @@ export const asyncRoutes = [ component: Layout, redirect: '/Qmanage/question', name: 'Qmanage', - meta: { title: '题库管理', icon: 'table', perms: []}, + meta: { title: '题库管理', icon: 'table'}, children: [ { path: 'subject', @@ -175,7 +175,7 @@ export const asyncRoutes = [ path: 'question', name: 'question', component: () => import('@/views/question/question.vue'), - meta: { title: '题目列表', icon: '', perms: ['question_manage'] } + meta: { title: '题目列表', icon: '', perms: ['question_view'] } }, { path: 'question/create', @@ -279,7 +279,7 @@ export const asyncRoutes = [ path: 'issue', name: 'issue', component: () => import('@/views/exam/issue.vue'), - meta: { title: '出证记录', perms: ['candidate_view'] } + meta: { title: '出证记录', perms: ['certificate_view'] } }, ] }, diff --git a/test_client/src/views/exam/issue.vue b/test_client/src/views/exam/issue.vue index 2ab89b0..60190b9 100644 --- a/test_client/src/views/exam/issue.vue +++ b/test_client/src/views/exam/issue.vue @@ -18,7 +18,7 @@ 手动创建 @@ -68,17 +68,21 @@ @@ -89,7 +93,10 @@ :limit.sync="listQuery.limit" @pagination="getList" /> - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
取消 @@ -205,9 +221,13 @@ }