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
6793c3ab
Commit
6793c3ab
authored
Aug 04, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:处理学员删除
parent
49ea19f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
src/modules/college-manage/components/DepartMentTabCon.jsx
+7
-1
No files found.
src/modules/college-manage/components/DepartMentTabCon.jsx
View file @
6793c3ab
...
@@ -190,6 +190,12 @@ function DepartMentTabCon(props) {
...
@@ -190,6 +190,12 @@ function DepartMentTabCon(props) {
idList
,
idList
,
storeId
:
User
.
getStoreId
()
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
)
=>
{
StoreService
.
delDepartmentUser
(
params
).
then
((
res
)
=>
{
message
.
success
(
`删除成功`
);
message
.
success
(
`删除成功`
);
getUserList
();
getUserList
();
...
@@ -264,7 +270,7 @@ function DepartMentTabCon(props) {
...
@@ -264,7 +270,7 @@ function DepartMentTabCon(props) {
<
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"
&&
(
...
...
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