diff --git a/src/pages/authority/addroles.vue b/src/pages/authority/addroles.vue new file mode 100644 index 0000000000000000000000000000000000000000..316bd950561f83e7bda0564ac14e1d691d1dd5f2 --- /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 ecd8a291d9b83dcd02cd765d7354d8b84d8da65d..88e3a0dab746a94f3d5199b03547956866e9cd5a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -298,6 +298,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"), + }, ], }, // 权限管理 ],