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
3564bf1d
Commit
3564bf1d
authored
Aug 04, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/zhangleyuan/20210719/personnel-organization' into dev
parents
5cc6ee34
55c8a1af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
src/modules/college-manage/components/DepartMentTabCon.jsx
+2
-2
src/modules/college-manage/components/LeftStructureTree.jsx
+5
-3
No files found.
src/modules/college-manage/components/DepartMentTabCon.jsx
View file @
3564bf1d
...
...
@@ -276,7 +276,7 @@ function DepartMentTabCon(props) {
onChangeSelectDep=
{
(
record
)
=>
{
setSelectDep
(
record
);}
}
/>
<
div
className=
"table-con"
>
{
props
.
currentTab
===
"departMentTab"
&&
(
{
(
props
.
currentTab
===
"departMentTab"
&&
selectDep
.
id
!==
'100'
)
&&
(
<
div
className=
"operate-area"
>
<
Button
type=
"primary"
...
...
@@ -302,7 +302,7 @@ function DepartMentTabCon(props) {
props
.
currentTab
===
"customGroupTab"
)
&&
(
<
div
className=
"operate-area"
>
{
/* 岗位组和自定义分组只有岗位下和分组才展示添加学员*/
}
{
selectDep
.
depLevel
>
0
&&
{
(
selectDep
.
depLevel
>
0
)
&&
<
Button
type=
"primary"
className=
"add-user-btn"
...
...
src/modules/college-manage/components/LeftStructureTree.jsx
View file @
3564bf1d
...
...
@@ -243,9 +243,11 @@ function LeftStructureTree(props) {
</
span
>
</
Menu
.
Item
>
}
<
Menu
.
Item
key=
"del"
>
<
span
onClick=
{
()
=>
{
props
.
treeType
===
'postGrouptab'
?
delPostGroup
(
record
):
delCustomGroup
(
record
)}
}
>
删除
</
span
>
</
Menu
.
Item
>
{
(
record
.
departmentCount
===
0
||
!
record
.
departmentCount
)
&&
<
Menu
.
Item
key=
"del"
>
<
span
onClick=
{
()
=>
{
props
.
treeType
===
'postGrouptab'
?
delPostGroup
(
record
):
delCustomGroup
(
record
)}
}
>
删除
</
span
>
</
Menu
.
Item
>
}
</
Menu
>
);
...
...
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