Commit 6793c3ab by zhangleyuan

feat:处理学员删除

parent 49ea19f2
......@@ -190,6 +190,12 @@ function DepartMentTabCon(props) {
idList,
storeId:User.getStoreId()
}
console.log('selectDep',selectDep)
if(selectDep.id==='100'){
params.userType='WE_CHAT';
}else{
params.userType='WORK_WE_CHAT';
}
StoreService.delDepartmentUser(params).then((res) => {
message.success(`删除成功`);
getUserList();
......@@ -264,7 +270,7 @@ function DepartMentTabCon(props) {
<LeftStructureTree
treeType={props.currentTab}
searchUserList={(params,treeType) => getUserList(params,treeType,1)}
onChangeSelectDep={(record)=>{setSelectDep(record)}}
onChangeSelectDep={(record)=>{setSelectDep(record);}}
/>
<div className="table-con">
{props.currentTab === "departMentTab" && (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment