|
|
|
@ -337,7 +337,7 @@ class GraduationAcross extends Component{
|
|
|
|
|
chooseCount,
|
|
|
|
|
chooseId,
|
|
|
|
|
AcrossTeamIds,
|
|
|
|
|
searchValue,showflag
|
|
|
|
|
searchValue,showflag,
|
|
|
|
|
} = this.state;
|
|
|
|
|
let { modalVisible } = this.props;
|
|
|
|
|
let courseId = this.props.match.params.coursesId;
|
|
|
|
@ -372,6 +372,7 @@ class GraduationAcross extends Component{
|
|
|
|
|
// 筛选下拉列表
|
|
|
|
|
const teacherList = searchValue ? teachers&&teachers.filter(e=>e.user_name.indexOf(searchValue)>-1) : teachers;
|
|
|
|
|
const course_groupsList = searchValue ? course_groups&&course_groups.filter(e=>e.name.indexOf(searchValue)>-1) : course_groups;
|
|
|
|
|
const graduation_groupslist =searchValue ? graduation_groups&&graduation_groups.filter(e=>e.name.indexOf(searchValue)>-1) : graduation_groups;
|
|
|
|
|
return(
|
|
|
|
|
<Modal
|
|
|
|
|
className={"AcrossModal"}
|
|
|
|
@ -501,7 +502,7 @@ class GraduationAcross extends Component{
|
|
|
|
|
></Input>
|
|
|
|
|
</div>:""}
|
|
|
|
|
{comment_status == 2 &&teacherList&&teacherList.length>2? <Checkbox className={"pd8px"} onChange={(e)=>this.checkonChange(e,teacherList)}>全选</Checkbox>:""}
|
|
|
|
|
{comment_status != 2 &&course_groupsList&&course_groupsList.length>2? <Checkbox className={"pd8px"} onChange={(e)=>this.checkonChange(e,course_groupsList)}>全选</Checkbox>:""}
|
|
|
|
|
{comment_status != 2 &&graduation_groupslist&&graduation_groupslist.length>2? <Checkbox className={"pd8px"} onChange={(e)=>this.checkonChange(e,graduation_groupslist)}>全选</Checkbox>:""}
|
|
|
|
|
{menu}
|
|
|
|
|
<Divider style={{ margin: '4px 0 0' }} />
|
|
|
|
|
<div style={{ padding: '8px 12px', cursor: 'pointer' }}>
|
|
|
|
@ -515,7 +516,7 @@ class GraduationAcross extends Component{
|
|
|
|
|
teacherList && teacherList.map((i,key)=>{
|
|
|
|
|
return <Option key={i.user_id} value={String(i.user_id)}>{i.user_name}</Option>
|
|
|
|
|
}):
|
|
|
|
|
course_groupsList && course_groupsList.map((i,key)=>{
|
|
|
|
|
graduation_groupslist && graduation_groupslist.map((i,key)=>{
|
|
|
|
|
return <Option key={i.id} value={String(i.id)}>{i.name}</Option>
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|