Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
ac4b314f
Commit
ac4b314f
authored
Aug 10, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:处理移出
parent
4014a5ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
src/modules/college-manage/components/DepartMentTabCon.jsx
+7
-6
src/modules/college-manage/components/LeftStructureTree.less
+2
-1
No files found.
src/modules/college-manage/components/DepartMentTabCon.jsx
View file @
ac4b314f
...
...
@@ -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
:
6
00
}
}
scroll=
{
{
x
:
15
00
}
}
bordered
size=
"middle"
pagination=
{
false
}
...
...
src/modules/college-manage/components/LeftStructureTree.less
View file @
ac4b314f
...
...
@@ -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{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment