|
|
@ -295,6 +295,10 @@ const EmployeeAuth = (props) => { |
|
|
|
dispatch(actions.humanAffairs.delRole(data)).then(e => { |
|
|
|
if (e.success) { |
|
|
|
getRoleList() |
|
|
|
setAllChecked(false); |
|
|
|
setTwo({}) |
|
|
|
setCheckedList([]); |
|
|
|
setDataRange(1); |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
@ -315,6 +319,7 @@ const EmployeeAuth = (props) => { |
|
|
|
two[e.resId] = true |
|
|
|
return e.resId |
|
|
|
}) |
|
|
|
setDataRange(res.payload.data.rows[0].role.dataRange || 1); |
|
|
|
setCheckedList(checkList) |
|
|
|
setTwo(two) |
|
|
|
const resourceIdAll = getResourceIdAll(); |
|
|
|