|  |  |  | @ -317,73 +317,59 @@ class GraduationTaskssettingapp extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   funcrosscomment=(e)=>{ | 
			
		
	
		
			
				
					|  |  |  |  |     let {latetime,end_time}=this.state; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     let {latetime,end_time,allowlate}=this.state; | 
			
		
	
		
			
				
					|  |  |  |  |     let newtime; | 
			
		
	
		
			
				
					|  |  |  |  |     if(latetime!=null&&end_time!=null){ | 
			
		
	
		
			
				
					|  |  |  |  |       if(e.target.checked===true){ | 
			
		
	
		
			
				
					|  |  |  |  |         if(moment(latetime)>moment(end_time)){ | 
			
		
	
		
			
				
					|  |  |  |  |           newtime=moment(latetime)+604800000; | 
			
		
	
		
			
				
					|  |  |  |  |           newtime=new Date(newtime) | 
			
		
	
		
			
				
					|  |  |  |  |         }else if(moment(latetime)<moment(end_time)){ | 
			
		
	
		
			
				
					|  |  |  |  |           newtime=moment(end_time)+604800000; | 
			
		
	
		
			
				
					|  |  |  |  |           newtime=new Date(newtime) | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 		if(e.target.checked===true){ | 
			
		
	
		
			
				
					|  |  |  |  |       if(allowlate===1||allowlate===true){ | 
			
		
	
		
			
				
					|  |  |  |  |        if(latetime===null||latetime===""){ | 
			
		
	
		
			
				
					|  |  |  |  | 				 let newlatetime=moment(new Date()).add(7, 'days').format("YYYY-MM-DD HH:mm"); | 
			
		
	
		
			
				
					|  |  |  |  | 				 let newcommenttime=moment(new Date()).format("YYYY-MM-DD HH:mm"); | 
			
		
	
		
			
				
					|  |  |  |  | 				 this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 					 latetime:newlatetime, | 
			
		
	
		
			
				
					|  |  |  |  | 					 crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  | 					 commenttime:newcommenttime | 
			
		
	
		
			
				
					|  |  |  |  | 				 }) | 
			
		
	
		
			
				
					|  |  |  |  | 			 }else{ | 
			
		
	
		
			
				
					|  |  |  |  | 				 let newlatetime=moment(latetime).add(7, 'days').format("YYYY-MM-DD HH:mm"); | 
			
		
	
		
			
				
					|  |  |  |  | 				 let newcommenttime=moment(latetime).format("YYYY-MM-DD HH:mm"); | 
			
		
	
		
			
				
					|  |  |  |  | 				 this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 					 latetime:newlatetime, | 
			
		
	
		
			
				
					|  |  |  |  | 					 crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  | 					 commenttime:newcommenttime | 
			
		
	
		
			
				
					|  |  |  |  | 				 }) | 
			
		
	
		
			
				
					|  |  |  |  | 			 } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			}else{ | 
			
		
	
		
			
				
					|  |  |  |  | 				if(end_time===null||end_time===""){ | 
			
		
	
		
			
				
					|  |  |  |  | 					let newend_time=moment(new Date()).add(7, 'days').format("YYYY-MM-DD HH:mm"); | 
			
		
	
		
			
				
					|  |  |  |  | 					let newcommenttime=moment(new Date()).add(8, 'days').format("YYYY-MM-DD HH:mm"); | 
			
		
	
		
			
				
					|  |  |  |  | 					this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 						end_time:newend_time, | 
			
		
	
		
			
				
					|  |  |  |  | 						crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  | 						commenttime:newcommenttime | 
			
		
	
		
			
				
					|  |  |  |  | 					}) | 
			
		
	
		
			
				
					|  |  |  |  | 				}else{ | 
			
		
	
		
			
				
					|  |  |  |  | 					let newend_time=moment(end_time).add(7, 'days').format("YYYY-MM-DD HH:mm"); | 
			
		
	
		
			
				
					|  |  |  |  | 					let newcommenttime=moment(end_time).add(8, 'days').format("YYYY-MM-DD HH:mm"); | 
			
		
	
		
			
				
					|  |  |  |  | 					this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 						end_time:newend_time, | 
			
		
	
		
			
				
					|  |  |  |  | 						crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  | 						commenttime:newcommenttime | 
			
		
	
		
			
				
					|  |  |  |  | 					}) | 
			
		
	
		
			
				
					|  |  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  |           crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  |           commenttime:moment(moment(newtime)).format("YYYY-MM-DD HH:mm"), | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       }else{ | 
			
		
	
		
			
				
					|  |  |  |  |         this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  |           crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  |           commenttime:undefined | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     }else if(latetime===null&&end_time!=null){ | 
			
		
	
		
			
				
					|  |  |  |  |       if(e.target.checked===true){ | 
			
		
	
		
			
				
					|  |  |  |  |         newtime=moment(end_time)+604800000; | 
			
		
	
		
			
				
					|  |  |  |  |         newtime=new Date(newtime) | 
			
		
	
		
			
				
					|  |  |  |  |         this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  |           crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  |           commenttime:newtime | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       }else{ | 
			
		
	
		
			
				
					|  |  |  |  |         this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  |           crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  |           commenttime:undefined | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |     }else if(latetime!=null&&end_time===null){ | 
			
		
	
		
			
				
					|  |  |  |  |       if(e.target.checked===true){ | 
			
		
	
		
			
				
					|  |  |  |  |         newtime=moment(latetime)+604800000; | 
			
		
	
		
			
				
					|  |  |  |  |         newtime=new Date(newtime) | 
			
		
	
		
			
				
					|  |  |  |  |         this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  |           crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  |           commenttime:newtime | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       }else{ | 
			
		
	
		
			
				
					|  |  |  |  |         this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  |           crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  |           commenttime:undefined | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |     }else if(latetime===null&&end_time===null){ | 
			
		
	
		
			
				
					|  |  |  |  |       if(e.target.checked===true){ | 
			
		
	
		
			
				
					|  |  |  |  |         newtime=moment(new Date())+604800000; | 
			
		
	
		
			
				
					|  |  |  |  |         newtime=new Date(newtime) | 
			
		
	
		
			
				
					|  |  |  |  |         this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  |           crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  |           commenttime:newtime | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       }else{ | 
			
		
	
		
			
				
					|  |  |  |  |         this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  |           crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  |           commenttime:undefined | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 		}else{ | 
			
		
	
		
			
				
					|  |  |  |  | 			this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 				crosscomment:e.target.checked, | 
			
		
	
		
			
				
					|  |  |  |  | 				commenttime:undefined | 
			
		
	
		
			
				
					|  |  |  |  | 			}) | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -588,7 +574,6 @@ class GraduationTaskssettingapp extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  |           commenttimetype:false | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  | 			debugger | 
			
		
	
		
			
				
					|  |  |  |  |       if(moment(this.state.commenttime)<moment(publish_time)){ | 
			
		
	
		
			
				
					|  |  |  |  |         this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  |           commenttimetype:true, | 
			
		
	
	
		
			
				
					|  |  |  | 
 |