issues25489
杨树明 6 years ago
parent e50c8ca805
commit d7ca9eb657

@ -347,7 +347,7 @@ class Studentshavecompletedthelist extends Component {
render: (text, record) => ( render: (text, record) => (
<span> <span>
{ {
<span style={{color: '#999999', textAlign: "center",width:'100px'}}></span> <span style={{color: '#999999', textAlign: "center",width:'100px'}}></span>
} }
</span> </span>
) )
@ -1031,12 +1031,14 @@ class Studentshavecompletedthelist extends Component {
render: (text, record) => ( render: (text, record) => (
<span> <span>
{record.finalscore==="--"? {record.finalscore==="--"?
<a style={{textAlign: "center"}} className="color-blue" target="_blank"
onClick={() => this.Adjustment(record.user_id)}>评阅</a>
<span style={{textAlign: "center", color: '#999999'}}
>--</span>
: :
<a style={{textAlign: "center"}} className="color-blue" <a style={{textAlign: "center"}} className="color-blue"
target="_blank" target="_blank"
href={`/courses/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>{record.finalscore}</a> href={`/courses/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>{record.finalscore}</a>
} }
</span> </span>
@ -1227,12 +1229,12 @@ class Studentshavecompletedthelist extends Component {
render: (text, record) => ( render: (text, record) => (
<span> <span>
{record.finalscore==="--"? {record.finalscore==="--"?
<a style={{textAlign: "center"}} className="color-blue" target="_blank" <span style={{textAlign: "center", color: '#999999'}}
onClick={() => this.Adjustment(record.user_id)}>评阅</a> >--</span>
: :
<a style={{textAlign: "center"}} className="color-blue" <a style={{textAlign: "center"}} className="color-blue"
target="_blank" target="_blank"
href={`/courses/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>{record.finalscore}</a> href={`/courses/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>{record.finalscore}</a>
} }
</span> </span>
@ -1246,10 +1248,11 @@ class Studentshavecompletedthelist extends Component {
objective_score: 0, objective_score: 0,
subjective_score: 0, subjective_score: 0,
} }
{/*<a style={{textAlign: "center"}} className="color-blue"*/
{/*<span style={{textAlign: "center", color: '#999999'}}*/
} }
{/*>--</span>*/ {/* target="_blank"*/
}
{/* onClick={() => this.Adjustment(record.user_id)}>评阅</a>*/
} }
// //console.log("Studentshavecompletedthelist"); // //console.log("Studentshavecompletedthelist");
// //console.log(props.current_status); // //console.log(props.current_status);
@ -1296,9 +1299,6 @@ class Studentshavecompletedthelist extends Component {
} }
componentDidMount() { componentDidMount() {
console.log("componentDidMount");
console.log(this.props);
// if(this.props.isAdmin() === true){ // if(this.props.isAdmin() === true){
// this.Teacherliststudentlistsy(); // this.Teacherliststudentlistsy();
// //console.log("1111111111111111"); // //console.log("1111111111111111");
@ -2664,22 +2664,22 @@ class Studentshavecompletedthelist extends Component {
{ {
this.props.Commonheadofthetestpaper&&this.props.Commonheadofthetestpaper.exercise_status===0 || this.props.Commonheadofthetestpaper&&this.props.Commonheadofthetestpaper.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>
: :
<div> <div>
{/*{testpapergradingboll === true ? <ModulationModal*/} {testpapergradingboll === true ? <ModulationModal
{/* visible={testpapergradingboll}*/} visible={testpapergradingboll}
{/* Cancel={() => this.Adjustments()}*/} Cancel={() => this.Adjustments()}
{/* Saves={(value, num) => this.Testpapergrading(value, num)}*/} Saves={(value, num) => this.Testpapergrading(value, num)}
{/*/> : ""}*/} /> : ""}
{ {/*{*/}
testpapergradingboll === true ? <ModulationModal_exercise {/* testpapergradingboll === true ? <ModulationModal_exercise*/}
visible={testpapergradingboll} {/* visible={testpapergradingboll}*/}
Cancel={() => this.Adjustments()} {/* Cancel={() => this.Adjustments()}*/}
Saves={(value, num) => this.Testpapergrading(value, num)} {/* Saves={(value, num) => this.Testpapergrading(value, num)}*/}
/> : "" {/* /> : ""*/}
} {/*}*/}
<div className="edu-back-white" > <div className="edu-back-white" >
<ul className="clearfix" style={{padding: '10px 30px 10px 30px'}}> <ul className="clearfix" style={{padding: '10px 30px 10px 30px'}}>
@ -2883,7 +2883,7 @@ class Studentshavecompletedthelist extends Component {
{ {
this.props.Commonheadofthetestpaper&&this.props.Commonheadofthetestpaper.exercise_status === 0 || this.props.Commonheadofthetestpaper&&this.props.Commonheadofthetestpaper.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>
: :
<div className={"educontent mb20"}> <div className={"educontent mb20"}>
@ -2970,7 +2970,7 @@ class Studentshavecompletedthelist extends Component {
{ {
this.props.Commonheadofthetestpaper&&this.props.Commonheadofthetestpaper.exercise_status === 0 || this.props.Commonheadofthetestpaper&&this.props.Commonheadofthetestpaper.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>
: :
<div> <div>

Loading…
Cancel
Save