diff --git a/src/views/system/role/RoleMenuModal.vue b/src/views/system/role/RoleMenuModal.vue new file mode 100644 index 00000000..0cf48f22 --- /dev/null +++ b/src/views/system/role/RoleMenuModal.vue @@ -0,0 +1,50 @@ + + diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index e033e6be..9fc90b3e 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -20,13 +20,13 @@ icon: IconEnum.EDIT, label: '菜单权限', auth: 'system:permission:assign-role-menu', - onClick: handleEdit.bind(null, record) + onClick: handleMenu.bind(null, record) }, { icon: IconEnum.EDIT, label: '数据权限', auth: 'system:permission:assign-role-data-scope', - onClick: handleEdit.bind(null, record) + onClick: handleDataScope.bind(null, record) }, { icon: IconEnum.DELETE, @@ -45,6 +45,8 @@ + +