|
|
@ -31,7 +31,9 @@ class ShixunWorkModal extends Component{
|
|
|
|
response.data.group_list.map((item,key)=>{
|
|
|
|
response.data.group_list.map((item,key)=>{
|
|
|
|
newgroup_list.push(item)
|
|
|
|
newgroup_list.push(item)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
if( response.data.ungroup_list!== undefined || response.data.ungroup_list !== null){
|
|
|
|
if(response.data.ungroup_list===undefined){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
newgroup_list.push(response.data.ungroup_list)
|
|
|
|
newgroup_list.push(response.data.ungroup_list)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
@ -255,31 +257,10 @@ class ShixunWorkModal extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
<Checkbox.Group style={{ width: '100%' }} onChange={this.shixunhomeworkedit} value={group_ids}>
|
|
|
|
<Checkbox.Group style={{ width: '100%' }} onChange={this.shixunhomeworkedit} value={group_ids}>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
group_list===undefined?course_groups.ungroup_list.work_count===0?"":
|
|
|
|
group_list===undefined?"":
|
|
|
|
|
|
|
|
group_list&&group_list.length===0?"":group_list.map((item,key)=>{
|
|
|
|
<div className="clearfix edu-txt-center lineh-40 bor-bottom-greyE">
|
|
|
|
|
|
|
|
<li className="fl task-hide" style={{width: '240px'}}>
|
|
|
|
|
|
|
|
<Checkbox
|
|
|
|
|
|
|
|
className="fl task-hide edu-txt-left"
|
|
|
|
|
|
|
|
name="shixun_homework[]"
|
|
|
|
|
|
|
|
value={course_groups.ungroup_list.id}
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<label style={{"textAlign": "left", "color": "#05101A"}}
|
|
|
|
|
|
|
|
className="task-hide color-grey-name" title="frerere">{course_groups.ungroup_list.name}</label>
|
|
|
|
|
|
|
|
</Checkbox>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li className="fl" style={{width: '100px'}}>
|
|
|
|
|
|
|
|
{course_groups.ungroup_list.work_count}
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li className="fl" style={{width: '160px'}}>
|
|
|
|
|
|
|
|
{course_groups.ungroup_list.last_review_time}
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
group_list&&group_list.length===0?"":group_list[0]===undefined?"":group_list.map((item,key)=>{
|
|
|
|
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
item.work_count===0?"":<div className="clearfix edu-txt-center lineh-40 bor-bottom-greyE" key={key}>
|
|
|
|
<div className="clearfix edu-txt-center lineh-40 bor-bottom-greyE" key={key}>
|
|
|
|
<li className="fl task-hide" style={{width: '240px'}}>
|
|
|
|
<li className="fl task-hide" style={{width: '240px'}}>
|
|
|
|
<Checkbox
|
|
|
|
<Checkbox
|
|
|
|
className="fl task-hide edu-txt-left"
|
|
|
|
className="fl task-hide edu-txt-left"
|
|
|
@ -318,4 +299,28 @@ class ShixunWorkModal extends Component{
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export default ShixunWorkModal;
|
|
|
|
export default ShixunWorkModal;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// course_groups.ungroup_list.work_count===0?"":
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// <div className="clearfix edu-txt-center lineh-40 bor-bottom-greyE">
|
|
|
|
|
|
|
|
// <li className="fl task-hide" style={{width: '240px'}}>
|
|
|
|
|
|
|
|
// <Checkbox
|
|
|
|
|
|
|
|
// className="fl task-hide edu-txt-left"
|
|
|
|
|
|
|
|
// name="shixun_homework[]"
|
|
|
|
|
|
|
|
// value={course_groups.ungroup_list.id}
|
|
|
|
|
|
|
|
// >
|
|
|
|
|
|
|
|
// <label style={{"textAlign": "left", "color": "#05101A"}}
|
|
|
|
|
|
|
|
// className="task-hide color-grey-name" title="frerere">{course_groups.ungroup_list.name}</label>
|
|
|
|
|
|
|
|
// </Checkbox>
|
|
|
|
|
|
|
|
// </li>
|
|
|
|
|
|
|
|
// <li className="fl" style={{width: '100px'}}>
|
|
|
|
|
|
|
|
// {course_groups.ungroup_list.work_count}
|
|
|
|
|
|
|
|
// </li>
|
|
|
|
|
|
|
|
// <li className="fl" style={{width: '160px'}}>
|
|
|
|
|
|
|
|
// {course_groups.ungroup_list.last_review_time}
|
|
|
|
|
|
|
|
// </li>
|
|
|
|
|
|
|
|
// </div>
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// :
|