diff --git a/src/views/systemManagement/accountManagement/compontents/ruleSet.vue b/src/views/systemManagement/accountManagement/compontents/ruleSet.vue new file mode 100644 index 0000000..cea3856 --- /dev/null +++ b/src/views/systemManagement/accountManagement/compontents/ruleSet.vue @@ -0,0 +1,57 @@ + + + diff --git a/src/views/systemManagement/accountManagement/index.vue b/src/views/systemManagement/accountManagement/index.vue index 685e618..db8ea3a 100644 --- a/src/views/systemManagement/accountManagement/index.vue +++ b/src/views/systemManagement/accountManagement/index.vue @@ -16,6 +16,7 @@ import { message } from "@/utils/message"; import accountDrawer from "./compontents/accountDrawer.vue"; import deptDrawer from "./compontents/deptDrawer.vue"; import roleDrawer from "./compontents/roleDrawer.vue"; +import ruleSet from "./compontents/ruleSet.vue"; defineOptions({ name: "AccountManagement" }); @@ -136,6 +137,7 @@ const createDeptFlag = ref(false); const createRoleFlag = ref(false); const dialogFormVisible = ref(false); const deleteFormVisible = ref(false); +const roleSetVisible = ref(false); const passwordFormRef = ref(); @@ -294,7 +296,9 @@ const deleteName = (type: any) => { } }; //角色权限 -const handleRolePermission = row => {}; +const handleRolePermission = row => { + roleSetVisible.value = true; +}; onMounted(() => { getDeptData(); getUserTableData(); @@ -577,6 +581,29 @@ onMounted(() => { + + + + + +