|
|
@ -211,7 +211,9 @@ const Roles = (props) => { |
|
|
|
theme="borderless" |
|
|
|
style={{ color: '#F31C1C' }} |
|
|
|
onClick={() => { |
|
|
|
dispatch(install.putOrganizationUser({ pomsUserId: row?.id, disabled: !row?.disabled,msg:'更新成员状态' })).then(() => getUserList()) |
|
|
|
dispatch(install.putOrganizationUser({ pomsUserId: row?.id, disabled: !row?.disabled,msg:'更新成员状态' })).then(() => { |
|
|
|
setQuery({ limit: 10, page: page.current }) |
|
|
|
}) |
|
|
|
}} |
|
|
|
> |
|
|
|
已禁用 |
|
|
@ -224,7 +226,7 @@ const Roles = (props) => { |
|
|
|
position="topRight" |
|
|
|
onConfirm={() => { |
|
|
|
dispatch(install.putOrganizationUser({ pomsUserId: row?.id, disabled: !row?.disabled,msg:'更新成员状态' })).then(() => { |
|
|
|
getUserList(); |
|
|
|
setQuery({ limit: 10, page: page.current }) |
|
|
|
}) |
|
|
|
}} |
|
|
|
> |
|
|
|