|
|
|
@ -467,19 +467,31 @@ class Workquestionandanswer extends Component {
|
|
|
|
|
<div className="font-16 color-green fl pl20 mt10">作业说明:</div>
|
|
|
|
|
{
|
|
|
|
|
this.props.isAdmin()&&this.props.isAdmin()===true ?
|
|
|
|
|
|
|
|
|
|
(Showupdateinstructions&& Showupdateinstructions === true?"":
|
|
|
|
|
<Tooltip placement="top" title="编辑"><i
|
|
|
|
|
className="color-green font-18 iconfont icon-bianjidaibeijing fr pr20 " onClick={()=>this.jobdescriptiondisplaybj()} ></i></Tooltip>
|
|
|
|
|
:""
|
|
|
|
|
):""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
<div className="font-16 color-dark break_word flex1 pl20 " style={{"padding":"10px 10px 10px 20px"}}>
|
|
|
|
|
<div className="font-16 color-dark break_word flex1 " >
|
|
|
|
|
{ Showupdateinstructions&& Showupdateinstructions === true?
|
|
|
|
|
<div >
|
|
|
|
|
<Homeworddescription {...this.props} ReleaseNotes={this.ReleaseNotes} NOReleaseNotes ={this.NOReleaseNotes} description={jobsettingsdata === undefined ?"":jobsettingsdata === null ?"":jobsettingsdata === "null"?"": jobsettingsdata.data.explanation=== undefined?"":jobsettingsdata.data.explanation=== null?"":jobsettingsdata.data.explanation} ></Homeworddescription>
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
<div className="pl20 " style={{"padding":"10px 10px 10px 20px"}}>
|
|
|
|
|
{jobsettingsdata === undefined ? "无" : jobsettingsdata === null ? "无" : jobsettingsdata === "null" ? "无" :
|
|
|
|
|
jobsettingsdata.data.explanation=== undefined?"无" :jobsettingsdata.data.explanation=== null?"无":
|
|
|
|
|
<div dangerouslySetInnerHTML={{__html:markdownToHTML(jobsettingsdata.data.explanation).replace(/▁/g,"▁▁▁")}}></div>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
@ -494,12 +506,12 @@ class Workquestionandanswer extends Component {
|
|
|
|
|
{/* <div className="edu-back-white mb20 graduateTopic course-message"> */}
|
|
|
|
|
{/*<GraduateTopicReply memo={{id: graduation_topic_id, user_id: topicInfo && topicInfo.user_id}} course_id={course_id} {...this.props}></GraduateTopicReply>*/}
|
|
|
|
|
{/* </div> */}
|
|
|
|
|
{ Showupdateinstructions&& Showupdateinstructions === true?
|
|
|
|
|
<div >
|
|
|
|
|
<Homeworddescription {...this.props} ReleaseNotes={this.ReleaseNotes} NOReleaseNotes ={this.NOReleaseNotes} ></Homeworddescription>
|
|
|
|
|
</div>
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|
{/*{ Showupdateinstructions&& Showupdateinstructions === true?*/}
|
|
|
|
|
{/* <div >*/}
|
|
|
|
|
{/* <Homeworddescription {...this.props} ReleaseNotes={this.ReleaseNotes} NOReleaseNotes ={this.NOReleaseNotes} ></Homeworddescription>*/}
|
|
|
|
|
{/* </div>*/}
|
|
|
|
|
{/* :""*/}
|
|
|
|
|
{/*}*/}
|
|
|
|
|
{ homework_id && <CommonReply
|
|
|
|
|
memo={{
|
|
|
|
|
id: homework_id,
|
|
|
|
|