Commit ac4b314f by zhangleyuan

feat:处理移出

parent 4014a5ba
......@@ -252,6 +252,7 @@ function DepartMentTabCon(props) {
}else{
params.userType='WORK_WE_CHAT';
}
params.departmentId = selectDep.id;
StoreService.delDepartmentUser(params).then((res) => {
if(props.currentTab === "departMentTab"){
message.success(`删除成功`);
......@@ -327,11 +328,11 @@ function DepartMentTabCon(props) {
return (
<div className="department-tab-con">
<LeftStructureTree
treeType={props.currentTab}
searchUserList={(params,treeType) => getUserList(params,treeType,1)}
onChangeSelectDep={(record)=>{setSelectDep(record);}}
/>
<LeftStructureTree
treeType={props.currentTab}
searchUserList={(params,treeType) => getUserList(params,treeType,1)}
onChangeSelectDep={(record)=>{setSelectDep(record);}}
/>
<div className="table-con">
{props.currentTab === "departMentTab" && (
<div className="operate-area">
......@@ -387,7 +388,7 @@ function DepartMentTabCon(props) {
image: college,
description: "暂无数据",
}}
scroll={{ x:600 }}
scroll={{ x: 1500 }}
bordered
size="middle"
pagination={false}
......
......@@ -2,7 +2,8 @@
margin-right: 24px;
width:260px;
height: calc(~'100vh - 260px');
overflow-y: scroll;
overflow: scroll;
flex-shrink: 0;
.organization{
overflow: scroll;
.search-con{
......
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