|
|
|
@ -301,18 +301,19 @@ class ShixunHomeworkPage extends Component {
|
|
|
|
|
<a className="fr color-blue font-16"
|
|
|
|
|
href={`/courses/${this.props.match.params.coursesId}/${jobsettingsdatapage === undefined ? "" : jobsettingsdatapage.data.category.main === 1 ? "shixun_homeworks" :"shixun_homework"}/${teacherdatapage === undefined ? "" : teacherdatapage.id}/commitsummary/${this.props.match.params.homeworkid}`}>{teacherdatapage.commit_des}</a>
|
|
|
|
|
}
|
|
|
|
|
{this.props.isStudent() ?
|
|
|
|
|
(
|
|
|
|
|
teacherdatapage&&teacherdatapage.redo_work===true?
|
|
|
|
|
<a className="fr color-blue font-16" onClick={()=>this.Modalcancelss()}>重做</a>
|
|
|
|
|
:""
|
|
|
|
|
)
|
|
|
|
|
: "" }
|
|
|
|
|
{teacherdatapage === undefined ? "" : <Startshixuntask
|
|
|
|
|
{...this.props}
|
|
|
|
|
data={teacherdatapage}
|
|
|
|
|
/>}
|
|
|
|
|
|
|
|
|
|
{this.props.isStudent() ?
|
|
|
|
|
(
|
|
|
|
|
teacherdatapage&&teacherdatapage.redo_work===true?
|
|
|
|
|
<a className="fr color-blue font-16" onClick={()=>this.Modalcancelss()}>重做</a>
|
|
|
|
|
:""
|
|
|
|
|
)
|
|
|
|
|
: "" }
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|