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
633471c4
Commit
633471c4
authored
Jan 07, 2020
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'搜索优化'
parent
3cbe2b0c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
256 additions
and
146 deletions
+256
-146
CourseChart.js
src/components/CourseChart.js
+2
-2
index.js
src/pages/classdetail/index.js
+10
-6
index.less
src/pages/classdetail/index.less
+6
-0
index.js
src/pages/teacherinfo/index.js
+213
-137
index.less
src/pages/teacherinfo/index.less
+25
-1
No files found.
src/components/CourseChart.js
View file @
633471c4
...
...
@@ -938,8 +938,8 @@ class CourseChart extends React.Component {
<
/div
>
<
div
className
=
{
pageStyle
.
rightbox
}
>
{
LocalStorage
.
getItem
(
'role'
)
!=
1
&&
<
Select
className
=
{
pageStyle
.
selectitem
}
value
=
{
scheduleListQueryParams
.
teacher_id
}
onChange
=
{
this
.
changeTeacher
}
>
<
Option
value
=
""
>
全部老师
<
/Option
>
<
Select
className
=
{
pageStyle
.
selectitem
}
allowClear
placeholder
=
"全部老师"
value
=
{
scheduleListQueryParams
.
teacher_id
==
''
?
undefined
:
scheduleListQueryParams
.
teacher_id
}
onChange
=
{
this
.
changeTeacher
}
>
{
/* <Option value="">全部老师</Option> */
}
{
teacherList
.
map
(
ele
=>
(
<
Option
key
=
{
ele
.
id
}
value
=
{
ele
.
id
}
>
{
ele
.
nickname
}
<
/Option
>
))
...
...
src/pages/classdetail/index.js
View file @
633471c4
...
...
@@ -18,7 +18,7 @@ import {
}
from
'../../utils/index'
;
const
{
TabPane
}
=
Tabs
;
const
{
Option
}
=
Select
;
const
{
TextArea
}
=
Input
;
const
{
TextArea
,
Search
}
=
Input
;
const
FormItem
=
Form
.
Item
;
const
{
Group
}
=
Radio
;
const
{
RangePicker
}
=
DatePicker
;
...
...
@@ -1667,13 +1667,16 @@ class ClassDetailForm extends React.Component {
style
=
{{
width
:
'214px'
,
marginRight
:
'21px'
}}
placeholder
=
"搜索学员姓名"
suffix
=
{
<
Icon
type
=
"search"
style
=
{{
color
:
'rgba(0,0,0,.45)'
}}
/
>
<
Icon
type
=
"search"
style
=
{{
color
:
'rgba(0,0,0,.45)'
}}
onClick
=
{
this
.
handleSearchStudent
}
/
>
}
value
=
{
studentKeyword
}
onChange
=
{
e
=>
this
.
handleSearchKeyword
(
e
)}
/
>
<
Button
onClick
=
{
this
.
handleSearchReset
}
style
=
{{
marginRight
:
10
}}
>
重
置
<
/Button
>
<
Button
type
=
"primary"
onClick
=
{
this
.
handleSearchStudent
}
>
搜
索
<
/Button
>
<
Tooltip
title
=
"清空筛选"
>
<
img
onClick
=
{
this
.
handleSearchReset
}
className
=
{
pageStyle
.
resetIcon
}
src
=
{
`
${
__IMGCDN__
}
common/reset.png`
}
alt
=
""
/>
<
/Tooltip
>
{
/* <Button onClick={this.handleSearchReset} style={{ marginRight: 10 }}>重 置</Button> */
}
{
/* <Button type="primary" onClick={this.handleSearchStudent}>搜 索</Button> */
}
<
/Col
>
<
/Row
>
<
div
className
=
{
pageStyle
.
studenttablebox
}
>
...
...
@@ -1708,8 +1711,8 @@ class ClassDetailForm extends React.Component {
<
Row
type
=
"flex"
justify
=
"space-between"
className
=
{
pageStyle
.
courseoperate
}
>
<
Col
xs
=
{{
span
:
24
}}
sm
=
{{
span
:
24
}}
md
=
{{
span
:
24
}}
lg
=
{{
span
:
24
}}
xl
=
{{
span
:
8
}}
style
=
{{
display
:
'flex'
,
alignItems
:
'center'
,
marginBottom
:
'12px'
}}
>
<
div
className
=
{
pageStyle
.
dianmingtime
}
>
一周点名情况
{
scheduleListQueryParams
.
start_time
}
~
{
scheduleListQueryParams
.
end_time
}
<
/div
>
<
Select
value
=
{
scheduleListQueryParams
.
teacher_id
}
onChange
=
{
this
.
filterTeachersSchedule
}
>
<
Option
value
=
""
>
全部老师
<
/Option
>
<
Select
value
=
{
scheduleListQueryParams
.
teacher_id
==
''
?
undefined
:
scheduleListQueryParams
.
teacher_id
}
allowClear
placeholder
=
"全部老师"
onChange
=
{
this
.
filterTeachersSchedule
}
style
=
{{
width
:
150
}
}
>
{
/* <Option value="">全部老师</Option> */
}
{
classDetail
.
school_teachers
&&
classDetail
.
school_teachers
.
map
(
ele
=>
<
Option
key
=
{
ele
.
id
}
value
=
{
ele
.
id
}
>
{
ele
.
nickname
}
<
/Option>
)
}
<
/Select
>
<
/Col
>
...
...
@@ -1726,6 +1729,7 @@ class ClassDetailForm extends React.Component {
}}
onChange
=
{
this
.
onRangePickerChange
}
style
=
{{
width
:
280
,
marginRight
:
15
}}
allowClear
=
{
false
}
value
=
{[
moment
(
scheduleListQueryParams
.
start_time
,
'YYYY-MM-DD'
),
moment
(
scheduleListQueryParams
.
end_time
,
'YYYY-MM-DD'
)]}
/
>
{
hasBtnPower
(
'sjd/classdetail'
,
'noPlanCallStudent'
)
&&
<
Button
className
=
{
pageStyle
.
resetcourse
}
type
=
"primary"
onClick
=
{
this
.
toQuickCallStudents
}
>
未排课直接点名
<
/Button>
}
...
...
src/pages/classdetail/index.less
View file @
633471c4
...
...
@@ -25,6 +25,12 @@
.classDetailbox {
padding: 32px 16px 27px 32px;
}
.resetIcon {
width: 14px;
height: 14px;
cursor: pointer;
margin-right: 15px;
}
.detailrow:first-child {
margin-bottom: 26px;
}
...
...
src/pages/teacherinfo/index.js
View file @
633471c4
This diff is collapsed.
Click to expand it.
src/pages/teacherinfo/index.less
View file @
633471c4
...
...
@@ -28,7 +28,31 @@
}
}
}
}
.rightList {
display: flex;
align-items: center;
height: 32px;
.resetIcon {
width: 14px;
height: 14px;
cursor: pointer;
margin-right: 15px;
}
.expend {
font-size:13px;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(102,102,102,1);
display: inline-block;
cursor: pointer;
}
}
.resetIcon {
width: 14px;
height: 14px;
cursor: pointer;
margin-right: 15px;
}
.headerbtn{
margin-right: 15px;
...
...
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