|
|
|
@ -92,6 +92,7 @@ class CommonWorkAppraise extends Component{
|
|
|
|
|
if (this.props.match.params.studentWorkId != prevProps.match.params.studentWorkId) {
|
|
|
|
|
this.getWork();
|
|
|
|
|
this.getReviseAttachments()
|
|
|
|
|
this.commonWorkAppraiseReply && this.commonWorkAppraiseReply.fetchAllComments()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -163,7 +164,7 @@ class CommonWorkAppraise extends Component{
|
|
|
|
|
attachments, homework_id, project_info, work_members, is_evaluation,
|
|
|
|
|
description, update_user_name, update_time, commit_time, author_name,
|
|
|
|
|
revise_attachments, revise_reason, atta_update_user, atta_update_time, atta_update_user_login,
|
|
|
|
|
Modalstype,Modalstopval,ModalCancel,ModalSave,loadtype
|
|
|
|
|
Modalstype,Modalstopval,ModalCancel,ModalSave,loadtype, is_leader_work
|
|
|
|
|
} =this.state;
|
|
|
|
|
|
|
|
|
|
let courseId=this.props.match.params.coursesId;
|
|
|
|
@ -262,7 +263,7 @@ class CommonWorkAppraise extends Component{
|
|
|
|
|
</div>
|
|
|
|
|
<div className={"ml20 color-grey-6"}>
|
|
|
|
|
<div className="">
|
|
|
|
|
当前组员:{author_name}
|
|
|
|
|
当前组员:{author_name} {is_leader_work && <LeaderIcon small={true} ></LeaderIcon>}
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
其他组员:
|
|
|
|
@ -286,6 +287,7 @@ class CommonWorkAppraise extends Component{
|
|
|
|
|
{/* task_type={datalist&&datalist.task_type} */}
|
|
|
|
|
<CommonWorkAppraiseReply {...this.props} task_id={studentWorkId}
|
|
|
|
|
onReplySuccess={this.onReplySuccess} {...this.state}
|
|
|
|
|
wrappedComponentRef={(ref) => {this.commonWorkAppraiseReply = ref}}
|
|
|
|
|
></CommonWorkAppraiseReply>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|