issues25489
杨树明 6 years ago
parent e50c8ca805
commit d7ca9eb657

@ -1031,8 +1031,10 @@ 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"
@ -1227,8 +1229,8 @@ 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"
@ -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'}}*/ }
{/* target="_blank"*/
} }
{/*>--</span>*/ {/* 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");
@ -2668,18 +2668,18 @@ class Studentshavecompletedthelist extends Component {
</div> </div>
: :
<div> <div>
{/*{testpapergradingboll === true ? <ModulationModal*/} {testpapergradingboll === true ? <ModulationModal
{/* visible={testpapergradingboll}*/}
{/* Cancel={() => this.Adjustments()}*/}
{/* Saves={(value, num) => this.Testpapergrading(value, num)}*/}
{/*/> : ""}*/}
{
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)}
/> : "" /> : ""}
} {/*{*/}
{/* testpapergradingboll === true ? <ModulationModal_exercise*/}
{/* visible={testpapergradingboll}*/}
{/* Cancel={() => this.Adjustments()}*/}
{/* 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'}}>

Loading…
Cancel
Save