pull/420/head
shizhong 2024-03-08 22:00:26 +08:00
parent dcb43e1ea9
commit 88d3a47b18
1 changed files with 3 additions and 3 deletions

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