dev_newshixunModel
杨树林 5 years ago
parent a2f3505345
commit 72511c30cb

@ -1278,19 +1278,19 @@ class Studentshavecompletedthelist extends Component {
}catch (e) {
}
try {
if(this.props.Commonheadofthetestpaper.exercise_status !== undefined){
this.setState({
exercise_status:this.props.Commonheadofthetestpaper.exercise_status,
})
}else{
this.setState({
exercise_status:0,
})
}
}catch (e) {
}
// try {
// if(this.props.Commonheadofthetestpaper.exercise_status !== undefined){
// this.setState({
// exercise_status:this.props.Commonheadofthetestpaper.exercise_status,
// })
// }else{
// this.setState({
// exercise_status:0,
// })
// }
// }catch (e) {
//
// }
}
@ -2499,7 +2499,7 @@ class Studentshavecompletedthelist extends Component {
}}>
{/*老师*/}
{
exercise_status===0 || exercise_status===1 ?
this.props.Commonheadofthetestpaper&&this.props.Commonheadofthetestpaper.exercise_status===0 || this.props.Commonheadofthetestpaper&&this.props.Commonheadofthetestpaper.exercise_status===1 ?
<div className="edu-back-white">
<NoneData></NoneData>
</div>
@ -2716,7 +2716,7 @@ class Studentshavecompletedthelist extends Component {
<div className=" clearfix "
style={{"margin": "0 auto", "padding-bottom": "100px", " min-width": " 1200px"}}>
{
exercise_status === 0 || exercise_status === 1 ?
this.props.Commonheadofthetestpaper&&this.props.Commonheadofthetestpaper.exercise_status === 0 || this.props.Commonheadofthetestpaper&&this.props.Commonheadofthetestpaper.exercise_status === 1 ?
<div className="edu-back-white">
<NoneData></NoneData>
</div>
@ -2797,7 +2797,7 @@ class Studentshavecompletedthelist extends Component {
" min-width": " 1200px"
}}>
{
exercise_status === 0 || exercise_status === 1 ?
this.props.Commonheadofthetestpaper&&this.props.Commonheadofthetestpaper.exercise_status === 0 || this.props.Commonheadofthetestpaper&&this.props.Commonheadofthetestpaper.exercise_status === 1 ?
<div className="edu-back-white">
<NoneData></NoneData>
</div>

Loading…
Cancel
Save