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