From 5460676ed3e62e18652a8248ad704cdc6540af4d Mon Sep 17 00:00:00 2001 From: zhangjun1 Date: Mon, 1 Jun 2020 14:31:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=92=E8=89=B2=E7=AE=A1=E7=90=86=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/authority/addroles.vue | 269 +++++++++++++++++++++++++++++++ src/router/index.js | 15 ++ 2 files changed, 284 insertions(+) create mode 100644 src/pages/authority/addroles.vue diff --git a/src/pages/authority/addroles.vue b/src/pages/authority/addroles.vue new file mode 100644 index 0000000..316bd95 --- /dev/null +++ b/src/pages/authority/addroles.vue @@ -0,0 +1,269 @@ + + + + + + + + diff --git a/src/router/index.js b/src/router/index.js index 7ee8bc0..b368f44 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -273,6 +273,21 @@ export default new Router({ name: "roles", component: () => import("@/pages/authority/roles"), }, + { + path: "/authority/roles/add", // 新建角色 + name: "addroles", + component: () => import("@/pages/authority/addroles"), + }, + { + path: "/authority/roles/edit/:id", // 编辑角色 + name: "editroles", + component: () => import("@/pages/authority/addroles"), + }, + { + path: "/authority/roles/allot/:id", // 分配角色 + name: "allotroles", + component: () => import("@/pages/authority/addroles"), + }, ], }, ], -- 2.26.0