This commit is contained in:
shizhong 2024-03-08 22:00:26 +08:00
parent dcb43e1ea9
commit 88d3a47b18

View File

@ -174,16 +174,16 @@ const open = async (row) => {
dialogVisible.value = true
//
roleOptions.value = await RoleApi.getSimpleRoleList()
roleOptions.value = await RoleApi.listSimpleRolesApi()
//
deptOptions.value = await DeptApi.getSimpleDeptList()
deptTreeOptions.value = handleTree(deptOptions.value, 'id')
//
postOptions.value = await PostApi.getSimplePostList()
postOptions.value = await PostApi.listSimplePostsApi()
//
userOptions.value = await UserApi.getSimpleUserList()
//
userGroupOptions.value = await UserGroupApi.getSimpleUserGroupList()
userGroupOptions.value = await UserGroupApi.listSimpleUserGroupsApi()
}
defineExpose({ open }) // open