Commit ac4b314f by zhangleyuan

feat:处理移出

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