|  |  |  | @ -66,7 +66,7 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 			pages: 1, | 
			
		
	
		
			
				
					|  |  |  |  | 			limit: 20, | 
			
		
	
		
			
				
					|  |  |  |  | 			loadingstate: true, | 
			
		
	
		
			
				
					|  |  |  |  | 			order: "updated_at", | 
			
		
	
		
			
				
					|  |  |  |  | 			order: "update_time", | 
			
		
	
		
			
				
					|  |  |  |  | 			search: null, | 
			
		
	
		
			
				
					|  |  |  |  | 			day: 0, | 
			
		
	
		
			
				
					|  |  |  |  | 			hour: 0, | 
			
		
	
	
		
			
				
					|  |  |  | @ -96,23 +96,23 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 						<span> | 
			
		
	
		
			
				
					|  |  |  |  | 						{record.number === undefined ? | 
			
		
	
		
			
				
					|  |  |  |  | 							<span style={{ | 
			
		
	
		
			
				
					|  |  |  |  | 								"color": '#9A9A9A', | 
			
		
	
		
			
				
					|  |  |  |  | 								"text-align": "center" | 
			
		
	
		
			
				
					|  |  |  |  | 								color: '#9A9A9A', | 
			
		
	
		
			
				
					|  |  |  |  | 								textAlign: "center" | 
			
		
	
		
			
				
					|  |  |  |  | 							}}> --</span> | 
			
		
	
		
			
				
					|  |  |  |  | 							: record.number === "" ? | 
			
		
	
		
			
				
					|  |  |  |  | 								<span style={{ | 
			
		
	
		
			
				
					|  |  |  |  | 									"color": '#9A9A9A', | 
			
		
	
		
			
				
					|  |  |  |  | 									"text-align": "center" | 
			
		
	
		
			
				
					|  |  |  |  | 									color: '#9A9A9A', | 
			
		
	
		
			
				
					|  |  |  |  | 									textAlign: "center" | 
			
		
	
		
			
				
					|  |  |  |  | 								}}>--</span> | 
			
		
	
		
			
				
					|  |  |  |  | 								: record.number === "--" ? | 
			
		
	
		
			
				
					|  |  |  |  | 									<span style={{ | 
			
		
	
		
			
				
					|  |  |  |  | 										"color": '#9A9A9A', | 
			
		
	
		
			
				
					|  |  |  |  | 										"text-align": "center" | 
			
		
	
		
			
				
					|  |  |  |  | 										color: '#9A9A9A', | 
			
		
	
		
			
				
					|  |  |  |  | 										textAlign: "center" | 
			
		
	
		
			
				
					|  |  |  |  | 									}}>--</span> | 
			
		
	
		
			
				
					|  |  |  |  | 									: | 
			
		
	
		
			
				
					|  |  |  |  | 									<span style={{ | 
			
		
	
		
			
				
					|  |  |  |  | 										"color": '#07111B', | 
			
		
	
		
			
				
					|  |  |  |  | 										"text-align": "center" | 
			
		
	
		
			
				
					|  |  |  |  | 										color: '#07111B', | 
			
		
	
		
			
				
					|  |  |  |  | 										textAlign: "center" | 
			
		
	
		
			
				
					|  |  |  |  | 									}}>  {record.number}</span> | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  |         </span> | 
			
		
	
	
		
			
				
					|  |  |  | @ -900,6 +900,8 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 				}, | 
			
		
	
		
			
				
					|  |  |  |  | 			], | 
			
		
	
		
			
				
					|  |  |  |  | 			yslpros:false, | 
			
		
	
		
			
				
					|  |  |  |  | 			datajs:[], | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log("902");
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log("902");
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -912,40 +914,52 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 		console.log(info); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 	componentWillReceiveProps(nextProps) { | 
			
		
	
		
			
				
					|  |  |  |  | 		console.log("+++++++++916"); | 
			
		
	
		
			
				
					|  |  |  |  | 		console.log(nextProps); | 
			
		
	
		
			
				
					|  |  |  |  | 		console.log(this.props) | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(this.props.isAdmin());
 | 
			
		
	
		
			
				
					|  |  |  |  | 		if (nextProps.code_review != this.props.code_review) { | 
			
		
	
		
			
				
					|  |  |  |  | 			if (nextProps.code_review !== undefined) { | 
			
		
	
		
			
				
					|  |  |  |  | 				console.log("diaoyonglwangluo1"); | 
			
		
	
		
			
				
					|  |  |  |  | 				if(this.props.isAdmin() === true){ | 
			
		
	
		
			
				
					|  |  |  |  | 					this.tearchar(); | 
			
		
	
		
			
				
					|  |  |  |  | 				}else{ | 
			
		
	
		
			
				
					|  |  |  |  | 					this.student(); | 
			
		
	
		
			
				
					|  |  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 	// componentWillReceiveProps(nextProps) {
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	console.log("+++++++++916");
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	console.log(nextProps);
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	console.log(this.props)
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	// console.log(this.props.isAdmin());
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	if (nextProps.code_review != this.props.code_review) {
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 		if (nextProps.code_review !== undefined) {
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 			console.log("diaoyonglwangluo1");
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 			if(this.props.isAdmin() === true){
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 				this.tearchar();
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 			}else{
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 				this.student();
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 			}
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 		}
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 		}
 | 
			
		
	
		
			
				
					|  |  |  |  | 	//
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// }
 | 
			
		
	
		
			
				
					|  |  |  |  | 	componentDidMount() { | 
			
		
	
		
			
				
					|  |  |  |  | 		console.log("componentDidMount"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(this.props.isAdmin());
 | 
			
		
	
		
			
				
					|  |  |  |  | 		if(this.props.isAdmin() === true){ | 
			
		
	
		
			
				
					|  |  |  |  | 			this.tearchar(); | 
			
		
	
		
			
				
					|  |  |  |  | 			// console.log("909");
 | 
			
		
	
		
			
				
					|  |  |  |  | 		}else{ | 
			
		
	
		
			
				
					|  |  |  |  | 			this.student(); | 
			
		
	
		
			
				
					|  |  |  |  | 			// console.log("911");
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log("componentDidMount ");
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log("调用子组件 ");
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(this.props);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(this.props.isAdmin())
 | 
			
		
	
		
			
				
					|  |  |  |  | 		this.student(); | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 	isupdatas = () => { | 
			
		
	
		
			
				
					|  |  |  |  | 		var homeworkid = this.props.match.params.homeworkid; | 
			
		
	
		
			
				
					|  |  |  |  | 		// this.Gettitleinformation(homeworkid);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		this.Getalistofworks(homeworkid); | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 	/////////老师操作
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// tearchar=()=>{
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	var homeworkid = this.props.match.params.homeworkid;
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	// console.log(homeworkid)
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	// this.Gettitleinformation(homeworkid);
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	this.Getalistofworkst(homeworkid);
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	let query = this.props.location.pathname;
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	const type = query.split('/');
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	this.setState({
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 		shixuntypes: type[3]
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	})
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 	this.props.triggerRef(this)
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// }
 | 
			
		
	
		
			
				
					|  |  |  |  | 	student=()=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log("914");
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// debugger
 | 
			
		
	
		
			
				
					|  |  |  |  | 		this.props.triggerRef(this); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		var homeworkid = this.props.match.params.homeworkid; | 
			
		
	
		
			
				
					|  |  |  |  | 		this.Getalistofworks(homeworkid); | 
			
		
	
		
			
				
					|  |  |  |  | 		let query = this.props.location.pathname; | 
			
		
	
	
		
			
				
					|  |  |  | @ -953,6 +967,7 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 		this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 			shixuntypes: type[3] | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 		this.props.triggerRef(this); | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -977,12 +992,11 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 			course_group: "", | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 		axios.post(urll, data).then((result) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			console.log("980000000____________________"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			if(result === undefined){ | 
			
		
	
		
			
				
					|  |  |  |  | 				return | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 			// console.log("951");
 | 
			
		
	
		
			
				
					|  |  |  |  | 			// console.log(result);
 | 
			
		
	
		
			
				
					|  |  |  |  | 			// debugger
 | 
			
		
	
		
			
				
					|  |  |  |  | 			this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 				teacherdata: result.data, | 
			
		
	
		
			
				
					|  |  |  |  | 				task_status: result.data.task_status, | 
			
		
	
	
		
			
				
					|  |  |  | @ -996,13 +1010,17 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 				code_review: result.data.code_review, | 
			
		
	
		
			
				
					|  |  |  |  | 				challenges_count: result.data.challenges_count, | 
			
		
	
		
			
				
					|  |  |  |  | 				view_report: result.data.view_report, | 
			
		
	
		
			
				
					|  |  |  |  | 				allow_late:result.data.allow_late, | 
			
		
	
		
			
				
					|  |  |  |  | 				loadingstate: false, | 
			
		
	
		
			
				
					|  |  |  |  | 			}) | 
			
		
	
		
			
				
					|  |  |  |  | 			this.props.Getdataback(result,result.data); | 
			
		
	
		
			
				
					|  |  |  |  | 			this.seacthdatat(result.data,result.data.student_works,result.data.work_efficiency,result.data.course_group_info,1); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			if (result.data.student_works === undefined || result.data.student_works === null || JSON.stringify(result.data.student_works) === "[]") { | 
			
		
	
		
			
				
					|  |  |  |  | 				this.seacthdata(result.data); | 
			
		
	
		
			
				
					|  |  |  |  | 			} else { | 
			
		
	
		
			
				
					|  |  |  |  | 				this.seacthdatas(result.data, result.data.student_works); | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 			this.props.Getdataback(result,result.data); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		}).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			console.log(error); | 
			
		
	
	
		
			
				
					|  |  |  | @ -1052,12 +1070,12 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 					challenges_count:result.data.challenges_count, | 
			
		
	
		
			
				
					|  |  |  |  | 					view_report:result.data.view_report, | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 				this.props.Getdataback(result,result.data); | 
			
		
	
		
			
				
					|  |  |  |  | 				if (result.data.student_works === undefined || result.data.student_works === null || JSON.stringify(result.data.student_works) === "[]") { | 
			
		
	
		
			
				
					|  |  |  |  | 					this.seacthdata(result.data); | 
			
		
	
		
			
				
					|  |  |  |  | 				} else { | 
			
		
	
		
			
				
					|  |  |  |  | 					this.seacthdatas(result.data,result.data.student_works); | 
			
		
	
		
			
				
					|  |  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  |  | 				this.props.Getdataback(result,result.data); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 		}).catch((error) => { | 
			
		
	
	
		
			
				
					|  |  |  | @ -1152,7 +1170,8 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 		if (student_works !== undefined) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			for (var i = 0; i <student_works.length; i++) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 				// console.log("11157==--=-=-=-=");
 | 
			
		
	
		
			
				
					|  |  |  |  | 				// console.log(student_works);
 | 
			
		
	
		
			
				
					|  |  |  |  | 				var timedata = moment(student_works[i].update_time).format('YYYY-MM-DD HH:mm'); | 
			
		
	
		
			
				
					|  |  |  |  | 				datalists.push({ | 
			
		
	
		
			
				
					|  |  |  |  | 					myid: student_works[i].id, | 
			
		
	
	
		
			
				
					|  |  |  | @ -1413,8 +1432,8 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 					challenges_count:result.data.challenges_count, | 
			
		
	
		
			
				
					|  |  |  |  | 					view_report:result.data.view_report, | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 				this.props.Getdataback(result,result.data); | 
			
		
	
		
			
				
					|  |  |  |  | 				this.seacthdata(result.data); | 
			
		
	
		
			
				
					|  |  |  |  | 				this.props.Getdataback(result,result.data); | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 		}).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			console.log(error) | 
			
		
	
	
		
			
				
					|  |  |  | @ -1468,77 +1487,6 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	/////////老师操作
 | 
			
		
	
		
			
				
					|  |  |  |  | 	tearchar=()=>{ | 
			
		
	
		
			
				
					|  |  |  |  | 		this.props.triggerRef(this) | 
			
		
	
		
			
				
					|  |  |  |  | 		var homeworkid = this.props.match.params.homeworkid; | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(homeworkid)
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// this.Gettitleinformation(homeworkid);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		this.Getalistofworkst(homeworkid); | 
			
		
	
		
			
				
					|  |  |  |  | 		let query = this.props.location.pathname; | 
			
		
	
		
			
				
					|  |  |  |  | 		const type = query.split('/'); | 
			
		
	
		
			
				
					|  |  |  |  | 		this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 			shixuntypes: type[3] | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	isupdatas = () => { | 
			
		
	
		
			
				
					|  |  |  |  | 		var homeworkid = this.props.match.params.homeworkid; | 
			
		
	
		
			
				
					|  |  |  |  | 		// this.Gettitleinformation(homeworkid);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		this.Getalistofworkst(homeworkid); | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	// 获取作品列表
 | 
			
		
	
		
			
				
					|  |  |  |  | 	Getalistofworkst = (homeworkid) => { | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log("获取作品列表");7009
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// debugger
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		let urll = `/homework_commons/${homeworkid}/works_list.json`; | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(homeworkid);
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// search:搜索关键字
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// order:排序方式:更新时间:update_time,最终成绩:work_score,学号:student_id
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// b_order:desc:倒序 , asc:顺序
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// work_status:0:未提交, 1:按时提交, 2:延时提交,“”不限
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// course_group:分班情况 [232, 231], []:不限(空数组)
 | 
			
		
	
		
			
				
					|  |  |  |  | 		var data = { | 
			
		
	
		
			
				
					|  |  |  |  | 			search: "", | 
			
		
	
		
			
				
					|  |  |  |  | 			order: this.state.orders, | 
			
		
	
		
			
				
					|  |  |  |  | 			b_order: "desc", | 
			
		
	
		
			
				
					|  |  |  |  | 			work_status: "", | 
			
		
	
		
			
				
					|  |  |  |  | 			course_group: "", | 
			
		
	
		
			
				
					|  |  |  |  | 			page:1, | 
			
		
	
		
			
				
					|  |  |  |  | 			limit:20, | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 		axios.post(urll, data).then((result) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			if (result) { | 
			
		
	
		
			
				
					|  |  |  |  | 				// console.log(url)
 | 
			
		
	
		
			
				
					|  |  |  |  | 				// console.log("作品列表6789077")
 | 
			
		
	
		
			
				
					|  |  |  |  | 				// console.log(JSON.stringify(result))
 | 
			
		
	
		
			
				
					|  |  |  |  | 				this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 					teacherdata: result.data, | 
			
		
	
		
			
				
					|  |  |  |  | 					task_status: result.data.task_status, | 
			
		
	
		
			
				
					|  |  |  |  | 					allow_late:result.data.allow_late, | 
			
		
	
		
			
				
					|  |  |  |  | 					course_group_info: result.data.course_group_info, | 
			
		
	
		
			
				
					|  |  |  |  | 					loadingstate: false, | 
			
		
	
		
			
				
					|  |  |  |  | 					jobsettingsdata: result, | 
			
		
	
		
			
				
					|  |  |  |  | 					publish_immediately: result.data.publish_immediately, | 
			
		
	
		
			
				
					|  |  |  |  | 					work_efficiency: result.data.work_efficiency, | 
			
		
	
		
			
				
					|  |  |  |  | 					end_immediately: result.data.end_immediately, | 
			
		
	
		
			
				
					|  |  |  |  | 					code_review: result.data.code_review, | 
			
		
	
		
			
				
					|  |  |  |  | 					challenges_count:result.data.challenges_count, | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 				this.props.Getdataback(result,result.data); | 
			
		
	
		
			
				
					|  |  |  |  | 				this.seacthdatat(result.data,result.data.student_works,result.data.work_efficiency,result.data.course_group_info,1); | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 		}).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			console.log(error) | 
			
		
	
		
			
				
					|  |  |  |  | 			this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 				loadingstate: false, | 
			
		
	
		
			
				
					|  |  |  |  | 			}) | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 	//开始排序操作
 | 
			
		
	
		
			
				
					|  |  |  |  | 	Startsortingt = (ordervlue, checkedValuesine, checkedValuesineinfo, searchtext, page, limit) => { | 
			
		
	
		
			
				
					|  |  |  |  | 		//要提交的作品状态checkedValuesine
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -1587,8 +1535,8 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 					code_review: result.data.code_review, | 
			
		
	
		
			
				
					|  |  |  |  | 					challenges_count:result.data.challenges_count, | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 				this.props.Getdataback(result,result.data); | 
			
		
	
		
			
				
					|  |  |  |  | 				this.seacthdatat(result.data,result.data.student_works,result.data.work_efficiency,result.data.course_group_info,page); | 
			
		
	
		
			
				
					|  |  |  |  | 				this.props.Getdataback(result,result.data); | 
			
		
	
		
			
				
					|  |  |  |  | 				// }
 | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 		}).catch((error) => { | 
			
		
	
	
		
			
				
					|  |  |  | @ -1607,14 +1555,19 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 	seacthdatat = (teacherdata,student_works,work_efficiency,course_group_info) => { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		let {page, limit} = this.state; | 
			
		
	
		
			
				
					|  |  |  |  | 		let datalist = []; | 
			
		
	
		
			
				
					|  |  |  |  | 		let datalistjs = []; | 
			
		
	
		
			
				
					|  |  |  |  | 		let columns = this.state.columns; | 
			
		
	
		
			
				
					|  |  |  |  | 		var  columns2=[]; | 
			
		
	
		
			
				
					|  |  |  |  | 		if (teacherdata !== undefined) { | 
			
		
	
		
			
				
					|  |  |  |  | 		var  columns2js=[]; | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log("1614++++++++++++++++++++++=");
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(student_works);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(teacherdata);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		if (student_works !== undefined) { | 
			
		
	
		
			
				
					|  |  |  |  | 			// console.log("1618____________________");
 | 
			
		
	
		
			
				
					|  |  |  |  | 			// console.log(student_works);
 | 
			
		
	
		
			
				
					|  |  |  |  | 			// console.log("1588");
 | 
			
		
	
		
			
				
					|  |  |  |  | 			for (var i = 0; i < student_works.length; i++) { | 
			
		
	
		
			
				
					|  |  |  |  | 				var timedata = moment(student_works[i].update_time).format('YYYY-MM-DD HH:mm'); | 
			
		
	
		
			
				
					|  |  |  |  | 				datalist.push({ | 
			
		
	
		
			
				
					|  |  |  |  | 				datalistjs.push({ | 
			
		
	
		
			
				
					|  |  |  |  | 					myid: student_works[i].id, | 
			
		
	
		
			
				
					|  |  |  |  | 					number: (parseInt(page) - 1) * parseInt(limit) + (i + 1), | 
			
		
	
		
			
				
					|  |  |  |  | 					name: student_works[i].user_name, | 
			
		
	
	
		
			
				
					|  |  |  | @ -1635,8 +1588,6 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 					user_name: student_works[i].user_name, | 
			
		
	
		
			
				
					|  |  |  |  | 					user_login: student_works[i].user_login, | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 				// console.log(datalist);
 | 
			
		
	
		
			
				
					|  |  |  |  | 				// console.log("1612");
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -1659,7 +1610,7 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 						else if(this.props.isNotMember()===true&&item.title==="学号") { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 						}else{ | 
			
		
	
		
			
				
					|  |  |  |  | 							columns2.push(item); | 
			
		
	
		
			
				
					|  |  |  |  | 							columns2js.push(item); | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  | 					} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -1677,7 +1628,7 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 							else if(this.props.isNotMember()===true&&item.title==="学号") { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 							}else{ | 
			
		
	
		
			
				
					|  |  |  |  | 								columns2.push(item); | 
			
		
	
		
			
				
					|  |  |  |  | 								columns2js.push(item); | 
			
		
	
		
			
				
					|  |  |  |  | 							} | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -1691,7 +1642,7 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 							else if(this.props.isNotMember()===true&&item.title==="学号") { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 							}else{ | 
			
		
	
		
			
				
					|  |  |  |  | 								columns2.push(item); | 
			
		
	
		
			
				
					|  |  |  |  | 								columns2js.push(item); | 
			
		
	
		
			
				
					|  |  |  |  | 							} | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  | 					} | 
			
		
	
	
		
			
				
					|  |  |  | @ -1707,7 +1658,7 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 						else if(this.props.isNotMember()===true&&item.title==="学号") { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 						}else{ | 
			
		
	
		
			
				
					|  |  |  |  | 							columns2.push(item); | 
			
		
	
		
			
				
					|  |  |  |  | 							columns2js.push(item); | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  | 					} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -1723,11 +1674,11 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 							else if(this.props.isNotMember()===true&&item.title==="学号") { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 							}else{ | 
			
		
	
		
			
				
					|  |  |  |  | 								columns2.push(item); | 
			
		
	
		
			
				
					|  |  |  |  | 								columns2js.push(item); | 
			
		
	
		
			
				
					|  |  |  |  | 							} | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  | 					} | 
			
		
	
		
			
				
					|  |  |  |  | 					columns2=this.state.columnss; | 
			
		
	
		
			
				
					|  |  |  |  | 					columns2js=this.state.columnss; | 
			
		
	
		
			
				
					|  |  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -1737,8 +1688,8 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(datalist);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log("1712");
 | 
			
		
	
		
			
				
					|  |  |  |  | 		this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 			data: datalist, | 
			
		
	
		
			
				
					|  |  |  |  | 			columns: columns2, | 
			
		
	
		
			
				
					|  |  |  |  | 			datajs: datalistjs, | 
			
		
	
		
			
				
					|  |  |  |  | 			columns: columns2js, | 
			
		
	
		
			
				
					|  |  |  |  | 			loadingstate: false, | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
	
		
			
				
					|  |  |  | @ -1928,9 +1879,8 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 			.then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  | 				if (response.data.status == '0') { | 
			
		
	
		
			
				
					|  |  |  |  | 					this.setState({visible: false}); | 
			
		
	
		
			
				
					|  |  |  |  | 					this.props.showNotification(`调分成功`); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 					this.Startsortingt(this.state.orders, this.state.course_groupyslstwo, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit); | 
			
		
	
		
			
				
					|  |  |  |  | 					this.props.showNotification(`调分成功`); | 
			
		
	
		
			
				
					|  |  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  |  | 			}) | 
			
		
	
		
			
				
					|  |  |  |  | 			.catch(function (error) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -1991,8 +1941,6 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 		axios.get(url).then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			if (response.status === 200) { | 
			
		
	
		
			
				
					|  |  |  |  | 				let starttime = this.props.getNowFormatDates(1); | 
			
		
	
		
			
				
					|  |  |  |  | 				let endtime = this.props.getNowFormatDates(2); | 
			
		
	
		
			
				
					|  |  |  |  | 				this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 					modalname: "立即发布", | 
			
		
	
		
			
				
					|  |  |  |  | 					modaltype: response.data.course_groups === null || response.data.course_groups.length === 0 ? 2 : 1, | 
			
		
	
	
		
			
				
					|  |  |  | @ -2010,6 +1958,8 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 					Saves: this.homeworkstartend, | 
			
		
	
		
			
				
					|  |  |  |  | 					course_groups: response.data.course_groups, | 
			
		
	
		
			
				
					|  |  |  |  | 				}) | 
			
		
	
		
			
				
					|  |  |  |  | 				let starttime = this.props.getNowFormatDates(1); | 
			
		
	
		
			
				
					|  |  |  |  | 				let endtime = this.props.getNowFormatDates(2); | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 		}).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			console.log(error) | 
			
		
	
	
		
			
				
					|  |  |  | @ -2183,11 +2133,11 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 		let url = "/homework_commons/"+homeworkid+"/update_score.json"; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		axios.get(url).then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			this.props.showNotification(`${response.data.message}`); | 
			
		
	
		
			
				
					|  |  |  |  | 			this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  | 				loadingstate: true | 
			
		
	
		
			
				
					|  |  |  |  | 			}) | 
			
		
	
		
			
				
					|  |  |  |  | 			this.Startsortingt(this.state.orders, this.state.course_groupyslstwo, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit); | 
			
		
	
		
			
				
					|  |  |  |  | 			this.props.showNotification(`${response.data.message}`); | 
			
		
	
		
			
				
					|  |  |  |  | 		}).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  | 			console.log(error) | 
			
		
	
		
			
				
					|  |  |  |  | 		}); | 
			
		
	
	
		
			
				
					|  |  |  | @ -2266,18 +2216,19 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 		}) | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 	render() { | 
			
		
	
		
			
				
					|  |  |  |  | 		let {columns,course_groupysls,isAdmin, course_groupyslstwo, unlimited, unlimitedtwo, course_group_info, orders, task_status, checkedValuesine, searchtext, teacherlist, visible,visibles, game_list,columnsstu, limit,experience, boolgalist,viewtrainingdata, teacherdata, page, data, jobsettingsdata, styletable, datas, order, loadingstate,computeTimetype} = this.state; | 
			
		
	
		
			
				
					|  |  |  |  | 		let {columns,course_groupysls,datajs,isAdmin, course_groupyslstwo, unlimited, unlimitedtwo, course_group_info, orders, task_status, checkedValuesine, searchtext, teacherlist, visible,visibles, game_list,columnsstu, limit,experience, boolgalist,viewtrainingdata, teacherdata, page, data, jobsettingsdata, styletable, datas, order, loadingstate,computeTimetype} = this.state; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(this.state.data);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(this.state.student_works);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log("841");
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(this.state.columns);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(data);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(datajs);
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log("2202");
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(this.props.isAdmin());
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		return ( | 
			
		
	
		
			
				
					|  |  |  |  | 			this.props.isAdmin() === true ? | 
			
		
	
		
			
				
					|  |  |  |  | 				( | 
			
		
	
		
			
				
					|  |  |  |  | 				<div className=" clearfix " style={{margin:  "auto" , minWidth:"1200px"}}> | 
			
		
	
		
			
				
					|  |  |  |  | 					{visible === true ? <ModulationModal | 
			
		
	
		
			
				
					|  |  |  |  | 						visible={visible} | 
			
		
	
	
		
			
				
					|  |  |  | @ -2519,9 +2470,9 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 													{orders === "update_time" ? "时间" : orders === "work_score" ? "成绩" : orders === "student_id" ? "学号" : ""}排序</a> | 
			
		
	
		
			
				
					|  |  |  |  | 												<i className="iconfont icon-xiajiantou ml5 font-12 "></i> | 
			
		
	
		
			
				
					|  |  |  |  | 												<ul className="edu-position-hide undis mt10"> | 
			
		
	
		
			
				
					|  |  |  |  | 													<li> <a  onClick={(e) => this.funordert("update_time")} data-remote="true" className=" font-12" style={{"text-align": "center "}}>更新时间</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 													<li> <a  onClick={(e) => this.funordert("work_score")} data-remote="true" className=" font-12" style={{"text-align": "center "}}>最终成绩</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 													<li> <a  onClick={(e) => this.funordert("student_id")} data-remote="true" className=" font-12" style={{"text-align": "center "}}>学生学号</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 													<li> <a  onClick={(e) => this.funordert("update_time")} data-remote="true" className=" font-12" style={{textAlign: "center"}}>更新时间</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 													<li> <a  onClick={(e) => this.funordert("work_score")} data-remote="true" className=" font-12" style={{textAlign: "center"}}>最终成绩</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 													<li> <a  onClick={(e) => this.funordert("student_id")} data-remote="true" className=" font-12" style={{textAlign: "center"}}>学生学号</a></li> | 
			
		
	
		
			
				
					|  |  |  |  | 												</ul> | 
			
		
	
		
			
				
					|  |  |  |  | 											</li> | 
			
		
	
		
			
				
					|  |  |  |  | 										</ul> | 
			
		
	
	
		
			
				
					|  |  |  | @ -2532,13 +2483,13 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 							</div> | 
			
		
	
		
			
				
					|  |  |  |  | 							{ | 
			
		
	
		
			
				
					|  |  |  |  | 								JSON.stringify(data) === "[]" ? | 
			
		
	
		
			
				
					|  |  |  |  | 								JSON.stringify(datajs) === "[]" ? | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 									<div id="forum_list" className="forum_table"> | 
			
		
	
		
			
				
					|  |  |  |  | 										<div className="mh650 edu-back-white"> | 
			
		
	
		
			
				
					|  |  |  |  | 											<div className="edu-tab-con-box clearfix edu-txt-center"> | 
			
		
	
		
			
				
					|  |  |  |  | 												<img className="edu-nodata-img mb20" src={getImageUrl("images/educoder/nodata.png")}/> | 
			
		
	
		
			
				
					|  |  |  |  | 												<p className="edu-nodata-p mb30">没有数据可以显示!</p> | 
			
		
	
		
			
				
					|  |  |  |  | 												<p className="edu-nodata-p mb30">没有数据可以显示.!</p> | 
			
		
	
		
			
				
					|  |  |  |  | 											</div> | 
			
		
	
		
			
				
					|  |  |  |  | 										</div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -2559,8 +2510,8 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 															} | 
			
		
	
		
			
				
					|  |  |  |  | 						              `}</style>
 | 
			
		
	
		
			
				
					|  |  |  |  | 										<div className="edu-table edu-back-white ant-tables"> | 
			
		
	
		
			
				
					|  |  |  |  | 											{data === undefined ? "" : <Table | 
			
		
	
		
			
				
					|  |  |  |  | 												dataSource={data} | 
			
		
	
		
			
				
					|  |  |  |  | 											{datajs === undefined ? "" : <Table | 
			
		
	
		
			
				
					|  |  |  |  | 												dataSource={datajs} | 
			
		
	
		
			
				
					|  |  |  |  | 												columns={columns} | 
			
		
	
		
			
				
					|  |  |  |  | 												pagination={false} | 
			
		
	
		
			
				
					|  |  |  |  | 												loading={loadingstate} | 
			
		
	
	
		
			
				
					|  |  |  | @ -2583,7 +2534,9 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 					</div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 				</div> | 
			
		
	
		
			
				
					|  |  |  |  | 					) | 
			
		
	
		
			
				
					|  |  |  |  | 				: | 
			
		
	
		
			
				
					|  |  |  |  | 				( | 
			
		
	
		
			
				
					|  |  |  |  | 				<div> | 
			
		
	
		
			
				
					|  |  |  |  | 					{ | 
			
		
	
		
			
				
					|  |  |  |  | 						teacherdata === undefined || teacherdata.student_works === undefined || teacherdata.student_works === null || JSON.stringify(teacherdata.student_works) === "[]" ? | 
			
		
	
	
		
			
				
					|  |  |  | @ -2680,8 +2633,8 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 											<div> | 
			
		
	
		
			
				
					|  |  |  |  | 												<div id="graduation_work_list" | 
			
		
	
		
			
				
					|  |  |  |  | 														 style={{ | 
			
		
	
		
			
				
					|  |  |  |  | 															 "padding": '20px 20px 10px 20px', | 
			
		
	
		
			
				
					|  |  |  |  | 															 "margin-bottom": "10px" | 
			
		
	
		
			
				
					|  |  |  |  | 															 padding: '20px 20px 10px 20px', | 
			
		
	
		
			
				
					|  |  |  |  | 															 marginBottom: "10px" | 
			
		
	
		
			
				
					|  |  |  |  | 														 }}> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 													<div className="clearfix"> | 
			
		
	
	
		
			
				
					|  |  |  | @ -2695,7 +2648,7 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 												} | 
			
		
	
		
			
				
					|  |  |  |  | 												{teacherdata === undefined ? "0" : teacherdata.left_time === undefined ? "0" : teacherdata.left_time === null ? "0" : | 
			
		
	
		
			
				
					|  |  |  |  | 													<span className="ml20" | 
			
		
	
		
			
				
					|  |  |  |  | 																style={{"color": '#FF6800'}}>{teacherdata.left_time.time}</span> | 
			
		
	
		
			
				
					|  |  |  |  | 																style={{color: '#FF6800'}}>{teacherdata.left_time.time}</span> | 
			
		
	
		
			
				
					|  |  |  |  | 												} | 
			
		
	
		
			
				
					|  |  |  |  | 											</span> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -2748,7 +2701,7 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 													<div className="edu-tab-con-box clearfix edu-txt-center"> | 
			
		
	
		
			
				
					|  |  |  |  | 														<img className="edu-nodata-img mb20" | 
			
		
	
		
			
				
					|  |  |  |  | 																 src={getImageUrl("images/educoder/nodata.png")}/> | 
			
		
	
		
			
				
					|  |  |  |  | 														<p className="edu-nodata-p mb30">没有数据可以显示!</p> | 
			
		
	
		
			
				
					|  |  |  |  | 														<p className="edu-nodata-p mb30">没有数据可以显示,,!</p> | 
			
		
	
		
			
				
					|  |  |  |  | 													</div> | 
			
		
	
		
			
				
					|  |  |  |  | 												</div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -2809,8 +2762,8 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 										{JSON.stringify(datas) !== "[]" ? | 
			
		
	
		
			
				
					|  |  |  |  | 											<div> | 
			
		
	
		
			
				
					|  |  |  |  | 												<div id="graduation_work_list" style={{ | 
			
		
	
		
			
				
					|  |  |  |  | 													"padding": '20px 20px 10px 20px', | 
			
		
	
		
			
				
					|  |  |  |  | 													"margin-bottom": "10px" | 
			
		
	
		
			
				
					|  |  |  |  | 													padding: '20px 20px 10px 20px', | 
			
		
	
		
			
				
					|  |  |  |  | 													marginBottom: "10px" | 
			
		
	
		
			
				
					|  |  |  |  | 												}}> | 
			
		
	
		
			
				
					|  |  |  |  | 													<div className="clearfix"> | 
			
		
	
		
			
				
					|  |  |  |  | 											<span className="fl color-grey-6 font-12"> | 
			
		
	
	
		
			
				
					|  |  |  | @ -2822,7 +2775,7 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 													<span className="ml20">{teacherdata.left_time.status}</span>} | 
			
		
	
		
			
				
					|  |  |  |  | 												{teacherdata === undefined ? "0" : teacherdata.left_time === undefined ? "0" : teacherdata.left_time === null ? "0" : | 
			
		
	
		
			
				
					|  |  |  |  | 													<span className="ml20" | 
			
		
	
		
			
				
					|  |  |  |  | 																style={{"color": '#FF6800'}}>{teacherdata.left_time.time}</span>} | 
			
		
	
		
			
				
					|  |  |  |  | 																style={{color: '#FF6800'}}>{teacherdata.left_time.time}</span>} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 											</span> | 
			
		
	
		
			
				
					|  |  |  |  | 														<style> | 
			
		
	
	
		
			
				
					|  |  |  | @ -2938,7 +2891,7 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 													<div className="edu-tab-con-box clearfix edu-txt-center"> | 
			
		
	
		
			
				
					|  |  |  |  | 														<img className="edu-nodata-img mb20" | 
			
		
	
		
			
				
					|  |  |  |  | 																 src={getImageUrl("images/educoder/nodata.png")}/> | 
			
		
	
		
			
				
					|  |  |  |  | 														<p className="edu-nodata-p mb30">没有数据可以显示!</p> | 
			
		
	
		
			
				
					|  |  |  |  | 														<p className="edu-nodata-p mb30">没有数据可以显示..!</p> | 
			
		
	
		
			
				
					|  |  |  |  | 													</div> | 
			
		
	
		
			
				
					|  |  |  |  | 												</div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -2956,6 +2909,7 @@ class Listofworksstudentone extends Component { | 
			
		
	
		
			
				
					|  |  |  |  | 							</div> | 
			
		
	
		
			
				
					|  |  |  |  | 					} | 
			
		
	
		
			
				
					|  |  |  |  | 				</div> | 
			
		
	
		
			
				
					|  |  |  |  | 				) | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		) | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
	
		
			
				
					|  |  |  | 
 |