|
@ -168,7 +168,10 @@ const UserManage = (props) => { |
|
|
} |
|
|
} |
|
|
//部门新增及编辑
|
|
|
//部门新增及编辑
|
|
|
const onDepConfirm = (data) => { |
|
|
const onDepConfirm = (data) => { |
|
|
|
|
|
console.log('depModalType:',depModalType); |
|
|
|
|
|
console.log('data:',data); |
|
|
if (depModalType == 'edit') { |
|
|
if (depModalType == 'edit') { |
|
|
|
|
|
|
|
|
dispatch(updateDep(data)).then(res => { |
|
|
dispatch(updateDep(data)).then(res => { |
|
|
if (res.success) { |
|
|
if (res.success) { |
|
|
setDepModalVisible(false); |
|
|
setDepModalVisible(false); |
|
|