|
|
|
@ -359,14 +359,14 @@ class ShixunhomeWorkItem extends Component{
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{this.props.isAdmin?<span onClick={(event)=>this.stopPro(event)} className={this.props.isAdminOrCreator()?"homepagePostSetting homepagePostSettingname":"homepagePostSetting homepagePostSettingbox"} style={{"right":"-2px","top":"6px","display":"block"}}>
|
|
|
|
|
<Link className="btn colorblue font-16 fontweight400" to={"/shixuns/"+discussMessage.shixun_identifier+"/challenges"} target={"_blank"}>实训详情</Link>
|
|
|
|
|
{discussMessage&&discussMessage.shixun_status>1?<Link className="btn colorblue font-16 fontweight400" to={"/shixuns/"+discussMessage.shixun_identifier+"/challenges"} target={"_blank"}>实训详情</Link>:""}
|
|
|
|
|
{this.props.isAdminOrCreator()?<a onClick={(event)=>this.editname(discussMessage.name,discussMessage.homework_id,event)} className={"btn colorblue ml20 font-16 fontweight400"}>重命名</a>:""}
|
|
|
|
|
{/*<WordsBtn className="btn colorblue ml20 font-16" to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${discussMessage.homework_id}/settings?tab=3`} > 设置</WordsBtn>*/}
|
|
|
|
|
<WordsBtn className="btn colorblue font-16 ml15 fontweight400" to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${discussMessage.homework_id}/settings?tab=3`} > 设置</WordsBtn>
|
|
|
|
|
</span>:""}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{this.props.isStudent===true?this.props.course_identity===5?
|
|
|
|
|
{this.props.isStudent===true?this.props.course_identity===5?discussMessage&&discussMessage.shixun_status>1?
|
|
|
|
|
<WordsBtn style="blue" className="colorblue font-16 mr20 fr mt10">
|
|
|
|
|
{startbtn===false?
|
|
|
|
|
(discussMessage.task_operation[0] == '继续挑战' || discussMessage.task_operation[0] == '查看实战' ?
|
|
|
|
@ -377,7 +377,7 @@ class ShixunhomeWorkItem extends Component{
|
|
|
|
|
<a className="btn colorblue" onClick={()=>this.taskoperationId(discussMessage.task_operation[1])}>
|
|
|
|
|
{discussMessage.task_operation[0]}
|
|
|
|
|
</a>):<a className="btn colorblue" >开启中</a>}
|
|
|
|
|
</WordsBtn>:"":""
|
|
|
|
|
</WordsBtn>:"":"":""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</h6>
|
|
|
|
|