Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
biz.qingxiao.com
Commits
9477c64f
Commit
9477c64f
authored
Oct 24, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bww-v2' into webpack-change
parents
deaed611
7f706e10
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
CallStudents.js
src/components/CallStudents.js
+2
-2
index.js
src/pages/studentinfo/index.js
+5
-2
No files found.
src/components/CallStudents.js
View file @
9477c64f
...
...
@@ -711,13 +711,13 @@ class CallStudentsForm extends React.Component {
<
/Col
>
<
/Row
>
<
Table
rowKey
=
"student_id"
dataSource
=
{
callStudentOperateList
}
columns
=
{
studentcolumns
}
scroll
=
{{
x
:
'max-content'
}}
loading
=
{
callStudentListLoading
}
pagination
=
{
false
}
footer
=
{()
=>
<
div
className
=
"tablefooterbox"
style
=
{
fontSize14
}
>
共有
{
callStudentTotal
}
个学生
<
/div>
}
rowKey
=
"id"
/>
<
/Modal
>
<
Modal
...
...
@@ -797,7 +797,7 @@ class CallStudentsForm extends React.Component {
<
/Row
>
<
Row
>
<
Table
rowKey
=
"id"
rowKey
=
{
bukeStudentList
=>
bukeStudentList
.
id
}
dataSource
=
{
bukeStudentList
}
columns
=
{
bukestudentColumns
}
scroll
=
{{
x
:
'max-content'
}}
...
...
src/pages/studentinfo/index.js
View file @
9477c64f
...
...
@@ -382,7 +382,7 @@ class StudentMgt extends React.Component {
(
ele
)
=>
{
if
(
arr
.
indexOf
(
ele
.
course
.
id
)
<
0
)
{
arr
.
push
(
ele
.
course
.
id
);
return
<
Option
value
=
{
ele
.
course
.
id
}
>
{
ele
.
course
.
title
}
<
/Option>
;
return
<
Option
key
=
{
ele
.
id
}
value
=
{
ele
.
course
.
id
}
>
{
ele
.
course
.
title
}
<
/Option>
;
}
return
false
;
});
...
...
@@ -484,6 +484,8 @@ class StudentMgt extends React.Component {
erpCountdown
,
erpCounting
,
}
=
this
.
props
;
console
.
log
(
this
.
props
,
'this.props'
);
console
.
log
(
classRecordsList
,
'classRecordsList'
);
const
{
getFieldDecorator
}
=
this
.
props
.
form
;
const
{
logCourseId
}
=
this
.
state
;
const
dateFormat
=
'YYYY/MM/DD'
;
...
...
@@ -764,6 +766,7 @@ class StudentMgt extends React.Component {
<
/div
>
<
div
className
=
{
pageStyle
.
tablebox
}
>
<
Table
rowKey
=
"id"
dataSource
=
{
studentCurrentCourses
}
columns
=
{
columns
}
pagination
=
{
false
}
...
...
@@ -790,7 +793,7 @@ class StudentMgt extends React.Component {
<
span
>
选择班级:
<
/span
>
<
Select
placeholder
=
"所有班级"
style
=
{{
width
:
233
}}
onChange
=
{
this
.
classChange
}
>
<
Option
value
=
""
>
所有班级
<
/Option
>
{
studentsClassList
.
map
(
ele
=>
<
Option
value
=
{
ele
.
id
}
>
{
ele
.
title
}
<
/Option>
)
}
{
studentsClassList
.
map
(
ele
=>
<
Option
key
=
{
ele
.
id
}
value
=
{
ele
.
id
}
>
{
ele
.
title
}
<
/Option>
)
}
<
/Select
>
<
/div
>
<
div
className
=
{
pageStyle
.
tablebox
}
>
...
...
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