|
|
|
@ -232,11 +232,9 @@ class ShixunHomeworkPage extends Component {
|
|
|
|
|
typelist={teacherdatapage === undefined ? [""] : teacherdatapage.homework_status}
|
|
|
|
|
/>
|
|
|
|
|
<a className="color-grey-9 fr font-16 summaryname ml20 mr20" onClick={()=>this.gotohome()}>返回</a>
|
|
|
|
|
{teacherdatapage&&teacherdatapage.shixun_status>1?this.props.isAdmin()?<a className="color-grey-9 fr font-16 mr20"
|
|
|
|
|
href={`/shixuns/${teacherdatapage === undefined ? "" : teacherdatapage.shixun_identifier}/challenges`}
|
|
|
|
|
target={"_blank"}>实训详情</a>: this.props.isStudent()?teacherdatapage&&teacherdatapage.time_status<5?<a className="color-grey-9 fr font-16 mr20"
|
|
|
|
|
href={`/shixuns/${teacherdatapage === undefined ? "" : teacherdatapage.shixun_identifier}/challenges`}
|
|
|
|
|
target={"_blank"}>实训详情</a>:"":"":""}
|
|
|
|
|
{teacherdatapage&&teacherdatapage.shixun_status>1?<a className="color-grey-9 fr font-16 mr20"
|
|
|
|
|
href={`/shixuns/${teacherdatapage === undefined ? "" : teacherdatapage.shixun_identifier}/challenges`}
|
|
|
|
|
target={"_blank"}>实训详情</a>:""}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|