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
04ca70fc
Commit
04ca70fc
authored
Oct 24, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
最新代码提交
parent
962dbfa6
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
18 deletions
+21
-18
SjdHeader.js
src/components/SjdHeader.js
+1
-1
SjdMenu.js
src/components/SjdMenu.js
+3
-0
SjdMenu.less
src/components/SjdMenu.less
+1
-1
studentsinfo.js
src/models/studentsinfo.js
+7
-7
index.js
src/pages/student/index.js
+0
-1
StudentEdit.js
src/pages/studentinfo/StudentEdit.js
+1
-1
index.js
src/pages/studentinfo/index.js
+8
-7
No files found.
src/components/SjdHeader.js
View file @
04ca70fc
...
...
@@ -108,7 +108,7 @@ class SjdMenu extends React.Component {
{
breadcrumbList
.
length
>
1
&&
<
div
className
=
{
SjdHeaderStyle
.
breadbox
}
>
{
breadcrumbList
.
map
((
ele
,
index
)
=>
(
<
div
className
=
{
`
${(
index
+
1
)
==
breadcrumbList
.
length
?
SjdHeaderStyle
.
breaditembold
:
''
}
${
SjdHeaderStyle
.
breaditem
}
`
}
onClick
=
{()
=>
{
this
.
routeChange
(
ele
.
path
);
}}
>
<
div
key
=
{
ele
.
path
}
className
=
{
`
${(
index
+
1
)
==
breadcrumbList
.
length
?
SjdHeaderStyle
.
breaditembold
:
''
}
${
SjdHeaderStyle
.
breaditem
}
`
}
onClick
=
{()
=>
{
this
.
routeChange
(
ele
.
path
);
}}
>
{
ele
.
name
}
&
nbsp
;
&
nbsp
;{
index
<
breadcrumbList
.
length
-
1
?
'/'
:
''
}
&
nbsp
;
&
nbsp
;
<
/div
>
))}
...
...
src/components/SjdMenu.js
View file @
04ca70fc
...
...
@@ -108,6 +108,7 @@ class SjdMenu extends React.Component {
!
ele
.
isFather
?
<
Menu
.
Item
key
=
{
ele
.
id
}
style
=
{
menuItemStyle
}
onClick
=
{()
=>
this
.
selectedMenu
(
ele
.
id
,
null
)}
>
<
div
className
=
{
SjdMenuStyle
.
menuicon
}
style
=
{
defaultMenu
==
ele
.
id
?
{
width
:
ele
.
style
.
width
,
height
:
ele
.
style
.
height
,
backgroundImage
:
`url(
${
ele
.
activeurl
}
)`
}
:
{
width
:
ele
.
style
.
width
,
height
:
ele
.
style
.
height
,
backgroundImage
:
`url(
${
ele
.
notactiveurl
}
)`
}}
/
>
<
Icon
type
=
"right"
style
=
{{
width
:
0
,
minWidth
:
'initial'
,
visibility
:
'hidden'
}}
/
>
<
span
>
{
ele
.
name
}
<
/span
>
<
/Menu.Item>
:
<
SubMenu
...
...
@@ -115,6 +116,7 @@ class SjdMenu extends React.Component {
title
=
{
<
span
style
=
{
padding
}
>
<
div
className
=
{
SjdMenuStyle
.
menuicon
}
style
=
{
defaultMenu
==
ele
.
id
?
{
width
:
ele
.
style
.
width
,
height
:
ele
.
style
.
height
,
backgroundImage
:
`url(
${
ele
.
activeurl
}
)`
}
:
{
width
:
ele
.
style
.
width
,
height
:
ele
.
style
.
height
,
backgroundImage
:
`url(
${
ele
.
notactiveurl
}
)`
}}
/
>
<
Icon
type
=
"right"
style
=
{{
width
:
0
,
minWidth
:
'initial'
,
visibility
:
'hidden'
}}
/
>
<
span
style
=
{
fontSize
}
>
{
ele
.
name
}
<
/span
>
<
/span
>
}
...
...
@@ -122,6 +124,7 @@ class SjdMenu extends React.Component {
{
ele
.
subMenues
.
map
(
submenu
=>
(
<
Menu
.
Item
key
=
{
submenu
.
id
}
style
=
{
menuItemStyle
}
onClick
=
{()
=>
this
.
selectedMenu
(
submenu
.
id
,
submenu
.
fatherId
)}
>
<
div
className
=
{
SjdMenuStyle
.
menuicon
}
style
=
{
defaultMenu
==
submenu
.
id
?
{
width
:
submenu
.
style
.
width
,
height
:
submenu
.
style
.
height
,
backgroundImage
:
`url(
${
submenu
.
activeurl
}
)`
}
:
{
width
:
submenu
.
style
.
width
,
height
:
submenu
.
style
.
height
,
backgroundImage
:
`url(
${
submenu
.
notactiveurl
}
)`
}}
/
>
<
Icon
type
=
"right"
style
=
{{
width
:
0
,
minWidth
:
'initial'
,
visibility
:
'hidden'
}}
/
>
<
span
>
{
submenu
.
name
}
<
/span
>
<
/Menu.Item
>
))}
...
...
src/components/SjdMenu.less
View file @
04ca70fc
...
...
@@ -37,7 +37,7 @@
vertical-align: sub;
text-align: center;
line-height: 1;
margin-right: 10px;
//
margin-right: 10px;
// background: url('@{images}spriteicon.png') no-repeat;
background-size: 100% 100%;
}
...
...
src/models/studentsinfo.js
View file @
04ca70fc
...
...
@@ -231,7 +231,7 @@ export default {
},
});
yield
put
({
type
:
'
studentsinfo/
queryStudentsCurrentCourses'
,
type
:
'queryStudentsCurrentCourses'
,
payload
:
{
params
:
{
page
:
1
,
...
...
@@ -239,10 +239,10 @@ export default {
},
});
yield
put
({
type
:
'students
info/students
Detail'
,
type
:
'studentsDetail'
,
});
yield
put
({
type
:
'students
info/students
ModelClassRecords'
,
type
:
'studentsModelClassRecords'
,
payload
:
{
params
:
{
page
:
1
,
...
...
@@ -250,13 +250,13 @@ export default {
},
});
yield
put
({
type
:
'
studentsinfo/
queryStudentsClassList'
,
type
:
'queryStudentsClassList'
,
});
yield
put
({
type
:
'queryTeacherList'
,
});
// yield put({
// type: 'students
info/students
ModelLogs',
// type: 'studentsModelLogs',
// });
},
*
searchCourseRelateClass
({
payload
},
{
call
,
put
,
select
})
{
...
...
@@ -362,7 +362,7 @@ export default {
},
});
yield
put
({
type
:
'students
info/students
Detail'
,
type
:
'studentsDetail'
,
});
message
.
success
(
'保存成功'
,
1
);
}
else
{
...
...
@@ -554,7 +554,7 @@ export default {
clearInterval
(
setTimer
);
}
payload
.
dispatch
({
type
:
'
studentsinfo/
updateState'
,
type
:
'updateState'
,
payload
:
{
erpCountdown
:
newCountdowm
,
erpCounting
:
newCounting
,
...
...
src/pages/student/index.js
View file @
04ca70fc
...
...
@@ -807,7 +807,6 @@ class StudentMgt extends React.Component {
<
div
className
=
{
pageStyle
.
title
}
>
学员管理
<
/div
>
<
div
className
=
{
pageStyle
.
tablebox
}
>
<
Table
rowKey
=
{
studentsinfo
=>
studentsinfo
.
id
}
dataSource
=
{
studentsinfo
}
columns
=
{
columns
}
pagination
=
{
false
}
...
...
src/pages/studentinfo/StudentEdit.js
View file @
04ca70fc
...
...
@@ -148,7 +148,7 @@ class StudentAddForm extends React.Component {
message
:
'姓名最多20个字符'
,
},
],
})(
<
Input
style
=
{{
width
:
200
}}
max
length
=
"20"
placeholder
=
"输入姓名"
/>
)}
})(
<
Input
style
=
{{
width
:
200
}}
max
Length
=
{
20
}
placeholder
=
"输入姓名"
/>
)}
<
/Form.Item
>
<
/Col
>
<
Col
span
=
{
24
}
className
=
{
pageStyle
.
name
}
>
...
...
src/pages/studentinfo/index.js
View file @
04ca70fc
...
...
@@ -502,8 +502,8 @@ class StudentMgt extends React.Component {
},
{
title
:
'上课时间'
,
dataIndex
:
'
ag
e'
,
key
:
'
ag
e'
,
dataIndex
:
'
scheduletim
e'
,
key
:
'
scheduletim
e'
,
render
:
(
text
,
record
,
index
)
=>
{
return
(
<
div
>
...
...
@@ -514,8 +514,8 @@ class StudentMgt extends React.Component {
},
{
title
:
'点名状态'
,
dataIndex
:
'
age
'
,
key
:
'
age
'
,
dataIndex
:
'
callstatus
'
,
key
:
'
callstatus
'
,
render
:
(
text
,
record
,
index
)
=>
{
return
(
<
div
>
...
...
@@ -555,8 +555,8 @@ class StudentMgt extends React.Component {
},
{
title
:
'是否补课'
,
dataIndex
:
'
age
'
,
key
:
'
age
'
,
dataIndex
:
'
supplement_call_id
'
,
key
:
'
supplement_call_id
'
,
render
:
(
text
,
record
,
index
)
=>
{
return
(
<
div
>
...
...
@@ -797,6 +797,7 @@ class StudentMgt extends React.Component {
<
Table
pagination
=
{
false
}
scroll
=
{{
x
:
'max-content'
}}
rowKey
=
"id"
footer
=
{()
=>
(
<
div
className
=
"tablefooterbox"
>
<
span
className
=
"tablefooterstatic"
>
共
{
classRecordsTotal
}
条数据
<
/span
>
...
...
@@ -832,7 +833,7 @@ class StudentMgt extends React.Component {
{
studentslogs
.
length
>
0
&&
<
Row
>
{
studentslogs
.
map
(
item
=>
(
<
Col
span
=
{
24
}
>
<
Col
span
=
{
24
}
key
=
{
item
.
id
}
>
{(()
=>
{
let
dom
=
null
;
switch
(
item
.
source_type
)
{
...
...
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