|
|
|
@ -3364,9 +3364,6 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
axios.get(url).then((response) => {
|
|
|
|
|
if (response) {
|
|
|
|
|
if (response.data.status === 0) {
|
|
|
|
|
// if(response.data.message!==undefined){
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.setState({
|
|
|
|
|
loadingstate: true
|
|
|
|
@ -3382,10 +3379,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}, 2500);
|
|
|
|
|
}, 500);
|
|
|
|
|
}
|
|
|
|
|
// this.props.history.replace( matchurl );
|
|
|
|
|
}
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
console.log(error)
|
|
|
|
@ -3672,27 +3667,9 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
|
|
|
|
|
<li className="clearfix mt10">
|
|
|
|
|
<div className="fr search-newysl" style={{marginBottom: '1px'}}>
|
|
|
|
|
{/*{course_is_end===true?"":<span>*/}
|
|
|
|
|
{/*{teacherdata&&teacherdata.update_score===true&&computeTimetype===true?*/}
|
|
|
|
|
{/* (this.props.isNotMember()===false?<div className={"computeTime font-16"} onClick={this.setComputeTimet}>*/}
|
|
|
|
|
{/* 查看最新成绩*/}
|
|
|
|
|
{/* </div>:""):*/}
|
|
|
|
|
{/* teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":*/}
|
|
|
|
|
{/* (this.props.isNotMember()===false?<div className={"computeTimes font-16"}>*/}
|
|
|
|
|
{/* 查看最新成绩*/}
|
|
|
|
|
{/* </div>:"")*/}
|
|
|
|
|
{/*}*/}
|
|
|
|
|
{/*</span>}*/}
|
|
|
|
|
|
|
|
|
|
<span className="search-newyslw fr ml20">
|
|
|
|
|
{/*<Search*/}
|
|
|
|
|
{/* placeholder="请输入姓名或学号搜索"*/}
|
|
|
|
|
{/* id="subject_search_input"*/}
|
|
|
|
|
{/* autoComplete="off"*/}
|
|
|
|
|
{/* value={searchtext}*/}
|
|
|
|
|
{/* // onKeyUp={(e) => this.onSearchKeywordKeyUpt(e)}*/}
|
|
|
|
|
{/* onInput={this.inputSearchValuest}*/}
|
|
|
|
|
{/* onSearch={this.searchValuest}*/}
|
|
|
|
|
{/*></Search>*/}
|
|
|
|
|
|
|
|
|
|
{publicSearchs("请输入姓名或学号搜索",this.searchValuest,this.inputSearchValuest,this.inputSearchValuest)}
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
@ -3993,27 +3970,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
|
|
|
|
|
<div className="fr">
|
|
|
|
|
|
|
|
|
|
{/*<span className="fl mr10 color-grey-6 ">计算成绩时间:{teacherdata&&teacherdata.calculation_time==null?"--": moment(teacherdata&&teacherdata.calculation_time).format('YYYY-MM-DD HH:mm')}</span>*/}
|
|
|
|
|
{/* { course_is_end===true?"":teacherdata&&teacherdata.task_operation[0]==="开启挑战"?"":<span>*/}
|
|
|
|
|
{/* {computeTimetype===true?*/}
|
|
|
|
|
{/* (this.props.isNotMember()===false?*/}
|
|
|
|
|
{/* (*/}
|
|
|
|
|
{/* teacherdata&&teacherdata.update_score===true?*/}
|
|
|
|
|
{/* <div className={"computeTime font-16"} onClick={this.setComputeTime}>*/}
|
|
|
|
|
{/* 查看最新成绩*/}
|
|
|
|
|
{/* </div>*/}
|
|
|
|
|
{/* :""*/}
|
|
|
|
|
{/* )*/}
|
|
|
|
|
{/* :"")*/}
|
|
|
|
|
{/* :*/}
|
|
|
|
|
{/* (teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":*/}
|
|
|
|
|
{/* this.props.isNotMember()===false?*/}
|
|
|
|
|
{/* <div className={"computeTimes font-16"}>*/}
|
|
|
|
|
{/* 查看最新成绩*/}
|
|
|
|
|
{/* </div>*/}
|
|
|
|
|
{/* :"")*/}
|
|
|
|
|
{/* }*/}
|
|
|
|
|
{/*</span>}*/}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -4238,24 +4195,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
</style>
|
|
|
|
|
<div className="fr">
|
|
|
|
|
|
|
|
|
|
{/*<span className="fl mr10 color-grey-6 ">计算成绩时间:{teacherdata&&teacherdata.calculation_time==null?"--": moment(teacherdata&&teacherdata.calculation_time).format('YYYY-MM-DD HH:mm')}</span>*/}
|
|
|
|
|
{/* { course_is_end===true?"":teacherdata&&teacherdata.task_operation&&teacherdata.task_operation[0]==="开启挑战"?"":<span>*/}
|
|
|
|
|
{/* {computeTimetype===true?*/}
|
|
|
|
|
|
|
|
|
|
{/* (this.props.isNotMember()===false?*/}
|
|
|
|
|
{/* (*/}
|
|
|
|
|
{/* teacherdata&&teacherdata.update_score===true?*/}
|
|
|
|
|
{/* <div className={"computeTime font-16"} onClick={this.setComputeTime}>*/}
|
|
|
|
|
{/* 查看最新成绩*/}
|
|
|
|
|
{/* </div>:""*/}
|
|
|
|
|
{/* )*/}
|
|
|
|
|
{/* :""):*/}
|
|
|
|
|
{/* teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":*/}
|
|
|
|
|
{/* (this.props.isNotMember()===false?<div className={"computeTimes font-16"}>*/}
|
|
|
|
|
{/* 查看最新成绩*/}
|
|
|
|
|
{/* </div>:"")*/}
|
|
|
|
|
{/* }*/}
|
|
|
|
|
{/*</span>}*/}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|