|
|
|
@ -80,7 +80,7 @@ class ShixunModal extends Component{
|
|
|
|
|
|
|
|
|
|
//勾选实训
|
|
|
|
|
shixunhomeworkedit=(list)=>{
|
|
|
|
|
|
|
|
|
|
debugger
|
|
|
|
|
let newpatheditarry=[];
|
|
|
|
|
if (this.props.singleChoose == true) {
|
|
|
|
|
if (list.length > 0) {
|
|
|
|
@ -99,6 +99,7 @@ class ShixunModal extends Component{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
contentViewScrolledit=(e)=>{
|
|
|
|
|
|
|
|
|
|
//滑动到底判断
|
|
|
|
|
if(e.currentTarget.scrollHeight-e.currentTarget.scrollTop===e.currentTarget.clientHeight){
|
|
|
|
|
let {Searchvalue,type,page}=this.state;
|
|
|
|
@ -122,9 +123,9 @@ class ShixunModal extends Component{
|
|
|
|
|
this.setState({
|
|
|
|
|
page:1,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
this.setupdatalist(value,type,true,1)
|
|
|
|
|
this.props.funpatheditarry([])
|
|
|
|
|
this.setupdatalist(value,type,true,1)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//tag
|
|
|
|
@ -135,9 +136,9 @@ class ShixunModal extends Component{
|
|
|
|
|
page:1,
|
|
|
|
|
newshixunmodallist:undefined
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
this.setupdatalist(Searchvalue,types,true,1)
|
|
|
|
|
this.props.funpatheditarry([])
|
|
|
|
|
this.setupdatalist(Searchvalue,types,true,1)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -353,11 +354,14 @@ class ShixunModal extends Component{
|
|
|
|
|
<Checkbox.Group style={{ width: '100%' }} value={patheditarry} onChange={this.shixunhomeworkedit}>
|
|
|
|
|
{
|
|
|
|
|
newshixunmodallist === undefined ? "": newshixunmodallist.map((item,key)=>{
|
|
|
|
|
console.log(item)
|
|
|
|
|
return(
|
|
|
|
|
<div className="clearfix edu-txt-center lineh-40 bor-bottom-greyE" key={key}>
|
|
|
|
|
<li className="fl with40 edu-txt-left task-hide paddingl5 newtaskhide">
|
|
|
|
|
<Checkbox
|
|
|
|
|
id={"shixun_input_"+item.shixun_id} value={item.shixun_id}
|
|
|
|
|
id={"shixun_input_"+item.shixun_id}
|
|
|
|
|
value={item.shixun_id}
|
|
|
|
|
key={item.shixun_id}
|
|
|
|
|
className=" task-hide edu-txt-left newtaskhide"
|
|
|
|
|
style={{"width":"280px"}}
|
|
|
|
|
name="shixun_homework[]"
|
|
|
|
|