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

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

Loading…
Cancel
Save