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
851499b8
Commit
851499b8
authored
Aug 04, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:处理搜索
parent
e93b04f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
src/modules/college-manage/components/SearchUser.jsx
+1
-0
src/modules/college-manage/modal/NewChooseMembersModal.jsx
+4
-1
No files found.
src/modules/college-manage/components/SearchUser.jsx
View file @
851499b8
...
@@ -28,6 +28,7 @@ function SearchUser(props) {
...
@@ -28,6 +28,7 @@ function SearchUser(props) {
}
}
function
selectDep
(
e
,
item
){
function
selectDep
(
e
,
item
){
if
(
e
.
target
.
checked
){
if
(
e
.
target
.
checked
){
console
.
log
(
'item'
,
item
);
props
.
onSelect
(
item
,
'department'
);
props
.
onSelect
(
item
,
'department'
);
}
}
}
}
...
...
src/modules/college-manage/modal/NewChooseMembersModal.jsx
View file @
851499b8
...
@@ -250,7 +250,10 @@ class NewChooseMembersModal extends React.Component {
...
@@ -250,7 +250,10 @@ class NewChooseMembersModal extends React.Component {
if
(
record
.
departmentUserVOList
){
if
(
record
.
departmentUserVOList
){
_list
=
record
.
departmentUserVOList
;
_list
=
record
.
departmentUserVOList
;
}
}
this
.
setState
({
selectUserList
:[...
selectUserList
,
_list
]});
console
.
log
(
'_list'
,
_list
);
this
.
setState
({
selectUserList
:[...
selectUserList
,...
_list
]},()
=>
{
console
.
log
(
'selectUserList'
,
this
.
state
.
selectUserList
);
});
}
}
// }else{
// }else{
// const params = {
// const params = {
...
...
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