调整毕设

dev_oauth
杨树明 6 years ago
parent 6a64198bba
commit 077c205bd9

@ -382,22 +382,26 @@ class GraduationTaskssettingapp extends Component{
let newcommenttimed=moment(end_time).add(8, 'days').format("YYYY-MM-DD HH:mm"); let newcommenttimed=moment(end_time).add(8, 'days').format("YYYY-MM-DD HH:mm");
if(e.target.checked===true){ if(e.target.checked===true){
if(commenttimetype===true){ if(commenttimetype===true){
if(allowlate===1||allowlate===true){ if(allowlate===1||allowlate===true){
if(latetime===null||latetime===""){ if(latetime===null||latetime===""){
this.updatesfuncrosscomment(1,newlatetimea,newcommenttimea) this.updatesfuncrosscomment(1,newlatetimea,newcommenttimea)
}else{
this.updatesfuncrosscomment(1,newlatetimes,newcommenttimes)
}
}else{ }else{
this.updatesfuncrosscomment(1,newlatetimes,newcommenttimes) if(end_time===null||end_time===""){
this.updatesfuncrosscomment(2,newend_timeb,newcommenttimeb)
}else{
this.updatesfuncrosscomment(2,newend_timed,newcommenttimed)
}
} }
}else{ }else{
if(end_time===null||end_time===""){ this.setState({
this.updatesfuncrosscomment(2,newend_timeb,newcommenttimeb) crosscomment:e.target.checked,
}else{ })
this.updatesfuncrosscomment(2,newend_timed,newcommenttimed) }
}
}
}
}else{ }else{
this.setState({ this.setState({

Loading…
Cancel
Save