|
|
|
@ -31,7 +31,9 @@ class ShixunWorkModal extends Component{
|
|
|
|
|
response.data.group_list.map((item,key)=>{
|
|
|
|
|
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)
|
|
|
|
|
}
|
|
|
|
|
this.setState({
|
|
|
|
@ -255,31 +257,10 @@ class ShixunWorkModal extends Component{
|
|
|
|
|
|
|
|
|
|
<Checkbox.Group style={{ width: '100%' }} onChange={this.shixunhomeworkedit} value={group_ids}>
|
|
|
|
|
{
|
|
|
|
|
group_list===undefined?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>
|
|
|
|
|
|
|
|
|
|
:
|
|
|
|
|
group_list&&group_list.length===0?"":group_list[0]===undefined?"":group_list.map((item,key)=>{
|
|
|
|
|
group_list===undefined?"":
|
|
|
|
|
group_list&&group_list.length===0?"":group_list.map((item,key)=>{
|
|
|
|
|
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'}}>
|
|
|
|
|
<Checkbox
|
|
|
|
|
className="fl task-hide edu-txt-left"
|
|
|
|
@ -319,3 +300,27 @@ class ShixunWorkModal extends Component{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
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>
|
|
|
|
|
//
|
|
|
|
|
// :
|