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