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
98706900
Commit
98706900
authored
Apr 09, 2021
by
chenshu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:数据接入
parent
05a7f677
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
src/modules/college-manage/modal/ChooseMembersModal.jsx
+9
-2
No files found.
src/modules/college-manage/modal/ChooseMembersModal.jsx
View file @
98706900
...
@@ -5,11 +5,12 @@
...
@@ -5,11 +5,12 @@
*/
*/
import
React
from
'react'
;
import
React
from
'react'
;
import
{
Modal
,
Input
,
Table
}
from
'antd'
;
import
{
Modal
,
Input
,
Table
,
message
}
from
'antd'
;
import
Service
from
'@/common/js/service'
;
import
Service
from
'@/common/js/service'
;
import
User
from
'@/common/js/user'
import
User
from
'@/common/js/user'
import
SetEmployeeModal
from
"./SetEmployeeModal"
;
import
SetEmployeeModal
from
"./SetEmployeeModal"
;
import
'./ChooseMembersModal.less'
;
import
'./ChooseMembersModal.less'
;
import
_
from
'underscore'
;
const
{
Search
}
=
Input
;
const
{
Search
}
=
Input
;
...
@@ -271,7 +272,13 @@ class ChooseMembersModal extends React.Component {
...
@@ -271,7 +272,13 @@ class ChooseMembersModal extends React.Component {
className=
"choose-member-modal"
className=
"choose-member-modal"
visible=
{
isOpen
}
visible=
{
isOpen
}
onCancel=
{
this
.
handleClose
}
onCancel=
{
this
.
handleClose
}
onOk=
{
type
===
'USER'
?
this
.
addUser
:
this
.
addCustomer
}
onOk=
{
()
=>
{
if
(
_
.
isEmpty
(
selectUserList
))
{
message
.
warning
(
'请选择员工'
)
return
null
;
}
type
===
'USER'
?
this
.
addUser
()
:
this
.
addCustomer
();
}
}
title=
{
title
}
title=
{
title
}
width=
{
680
}
width=
{
680
}
maskClosable=
{
false
}
maskClosable=
{
false
}
...
...
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