dev_aliyun2
杨树林 5 years ago committed by harry
parent 504b243e10
commit 564f8fc179

@ -1162,6 +1162,9 @@ class Studentshavecompletedthelist extends Component {
this.props.isAssistant()&&this.props.isAssistant()===true?
(//助教是否有权限
this.props.assistant_auth&&this.props.assistant_auth===true?
<a style={{textAlign: "center"}} className="color-blue"
target="_blank" onClick={() => this.Adjustment(record.user_id)}>评阅</a>
:
(//是否截止
this.props.Commonheadofthetestpaper && this.props.Commonheadofthetestpaper.exercise_status===3?
<a style={{textAlign: "center"}} className="color-blue"
@ -1169,8 +1172,6 @@ class Studentshavecompletedthelist extends Component {
:
<span style={{textAlign: "center", color: '#999999'}}>--</span>
)
:
<span style={{textAlign: "center", color: '#999999'}}>--</span>
)
:
<a style={{textAlign: "center"}} className="color-blue"
@ -1181,6 +1182,10 @@ class Studentshavecompletedthelist extends Component {
this.props.isAssistant()&&this.props.isAssistant()===true?
(//助教是否有权限
this.props.assistant_auth&&this.props.assistant_auth===true?
<a style={{textAlign: "center"}} className="color-blue"
target="_blank"
href={`/classrooms/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>{record.finalscore}</a>
:
(//是否截止
this.props.Commonheadofthetestpaper && this.props.Commonheadofthetestpaper.exercise_status===3?
<a style={{textAlign: "center"}} className="color-blue"
@ -1189,8 +1194,6 @@ class Studentshavecompletedthelist extends Component {
:
<span style={{textAlign: "center", color: '#999999'}}>--</span>
)
:
<span style={{textAlign: "center", color: '#999999'}}>--</span>
)
:
<a style={{textAlign: "center"}} className="color-blue"
@ -1413,6 +1416,9 @@ class Studentshavecompletedthelist extends Component {
this.props.isAssistant()&&this.props.isAssistant()===true?
(//助教是否有权限
this.props.assistant_auth&&this.props.assistant_auth===true?
<a style={{textAlign: "center"}} className="color-blue"
target="_blank" onClick={() => this.Adjustment(record.user_id)}>评阅</a>
:
(//是否截止
this.props.Commonheadofthetestpaper && this.props.Commonheadofthetestpaper.exercise_status===3?
<a style={{textAlign: "center"}} className="color-blue"
@ -1420,8 +1426,6 @@ class Studentshavecompletedthelist extends Component {
:
<span style={{textAlign: "center", color: '#999999'}}>--</span>
)
:
<span style={{textAlign: "center", color: '#999999'}}>--</span>
)
:
<a style={{textAlign: "center"}} className="color-blue"
@ -1432,6 +1436,10 @@ class Studentshavecompletedthelist extends Component {
this.props.isAssistant()&&this.props.isAssistant()===true?
(//助教是否有权限
this.props.assistant_auth&&this.props.assistant_auth===true?
<a style={{textAlign: "center"}} className="color-blue"
target="_blank"
href={`/classrooms/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>{record.finalscore}</a>
:
(//是否截止
this.props.Commonheadofthetestpaper && this.props.Commonheadofthetestpaper.exercise_status===3?
//是助教就是评阅
@ -1441,8 +1449,6 @@ class Studentshavecompletedthelist extends Component {
:
<span style={{textAlign: "center", color: '#999999'}}>--</span>
)
:
<span style={{textAlign: "center", color: '#999999'}}>--</span>
)
:
//是老师就是评阅

Loading…
Cancel
Save