|
|
|
@ -163,13 +163,13 @@ class GraduationTasksappraise extends Component{
|
|
|
|
|
<div className={"educontent mb20"}>
|
|
|
|
|
|
|
|
|
|
<p className="clearfix mt10">
|
|
|
|
|
<WordsBtn style="grey" className="fl"> <Link to={"/courses/"+courseId} className="color-grey-6">{datalist&&datalist.course_name}</Link></WordsBtn>
|
|
|
|
|
<Link to={"/courses/"+courseId} className="color-grey-9 fl">{datalist&&datalist.course_name}</Link>
|
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|
|
<WordsBtn style="grey" className="fl"> <Link to={"/courses/"+courseId+"/graduation_tasks/"+graduation_id} className="color-grey-6">{datalist&&datalist.graduation_name}</Link></WordsBtn>
|
|
|
|
|
<Link to={"/courses/"+courseId+"/graduation_tasks/"+graduation_id} className="color-grey-9 fl">{datalist&&datalist.graduation_name}</Link>
|
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|
|
<WordsBtn style="grey" className="fl"> <Link to={"/courses/"+courseId+"/graduation_tasks/"+graduation_id+"/"+task_id+"/list"} className="color-grey-6">任务详情</Link></WordsBtn>
|
|
|
|
|
<Link to={"/courses/"+courseId+"/graduation_tasks/"+graduation_id+"/"+task_id+"/list"} className="color-grey-9 fl">任务详情</Link>
|
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|
|
<WordsBtn style="grey" className="fl"> <span className="color-grey-6">{datalist&&datalist.author_name}</span></WordsBtn>
|
|
|
|
|
<span className="color-grey-6 fl">{datalist&&datalist.author_name}</span>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -195,16 +195,16 @@ class GraduationTasksappraise extends Component{
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className=" edu-back-white " style={{"padding": "20px 15px 20px 15px","box-sizing": "border-box"}}>
|
|
|
|
|
<div className="edu-back-white">
|
|
|
|
|
|
|
|
|
|
<div className={"stud-class-set edu-back-white"} style={{ padding: '0px 10px 20px 10px'}}>
|
|
|
|
|
<div className={"stud-class-set edu-back-white padding20-30"}>
|
|
|
|
|
|
|
|
|
|
<div className={"color-grey-6 h20 mb20"}>
|
|
|
|
|
内容
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className={"ml20"}>
|
|
|
|
|
<div dangerouslySetInnerHTML={{__html: markdownToHTML(datalist&&datalist.description===null?"--":datalist&&datalist.description).replace(/▁/g,"▁▁▁")}}></div>
|
|
|
|
|
<div className="markdown-body" dangerouslySetInnerHTML={{__html: markdownToHTML(datalist&&datalist.description===null?"--":datalist&&datalist.description).replace(/▁/g,"▁▁▁")}}></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{/*<div className={"color-grey-6 h20 ml20"}>*/}
|
|
|
|
@ -238,7 +238,7 @@ class GraduationTasksappraise extends Component{
|
|
|
|
|
{/*<span className={"color9B9B fr"}>*/}
|
|
|
|
|
{/*{moment(datalist&&datalist.update_time).format('YYYY-MM-DD HH:mm:ss')==="Invalid date"?"":moment(datalist&&datalist.update_time).format('YYYY-MM-DD HH:mm:ss')}*/}
|
|
|
|
|
{/*</span>*/}
|
|
|
|
|
<span className={"color9B9B fr mr30"}>提交</span>
|
|
|
|
|
<span className={"color9B9B fr"}>提交</span>
|
|
|
|
|
<span className={"fr font-13 mr10 ml10"}>{datalist&&datalist.author_name}</span>
|
|
|
|
|
<span className={" color9B9B fr"}>
|
|
|
|
|
{moment(datalist&&datalist.commit_time).format('YYYY-MM-DD HH:mm:ss')==="Invalid date"?"":moment(datalist&&datalist.commit_time).format('YYYY-MM-DD HH:mm:ss')}
|
|
|
|
@ -248,20 +248,15 @@ class GraduationTasksappraise extends Component{
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{firelistdata===undefined?"":firelistdata.length===0?"":firelistdata.revise_attachments.length===0?"":<div className={"stud-class-set bor-bottom-greyE pd20 edu-back-white"}>
|
|
|
|
|
|
|
|
|
|
{firelistdata===undefined?"":firelistdata.length===0?"":firelistdata.revise_attachments.length===0?"":
|
|
|
|
|
<div className={"stud-class-set bor-top-greyE padding20-30 edu-back-white"}>
|
|
|
|
|
<div className={"color-grey-6 mb10 bor-top-greyE"}>
|
|
|
|
|
补交附件
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className={"ml20"}>
|
|
|
|
|
补交原因:{firelistdata&&firelistdata.revise_reason}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{firelistdata===undefined?"":firelistdata.length===0?"":firelistdata.revise_attachments.map((item,key)=>{
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
|
<div className="color-grey" key={key}>
|
|
|
|
|
<a className="color-grey ml20">
|
|
|
|
@ -277,43 +272,31 @@ class GraduationTasksappraise extends Component{
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className={"color-grey-6 h20 ml20"}>
|
|
|
|
|
|
|
|
|
|
<span className={"color9B9B fr mr10"}>更新</span>
|
|
|
|
|
<span className={"fr font-13 mr10 ml10"}>{firelistdata&&firelistdata.atta_update_user}</span>
|
|
|
|
|
<span className={"color9B9B fr"}>
|
|
|
|
|
{moment(firelistdata&&firelistdata.atta_update_time).format('YYYY-MM-DD HH:mm:ss')==="Invalid date"?"":moment(firelistdata&&firelistdata.atta_update_time).format('YYYY-MM-DD HH:mm:ss')}
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>}
|
|
|
|
|
|
|
|
|
|
{datalist&&datalist.project_info===undefined?"":<div className={"stud-class-set bor-bottom-greyE pd20 edu-back-white"}>
|
|
|
|
|
|
|
|
|
|
{datalist&&datalist.project_info===undefined?"":
|
|
|
|
|
<div className={"stud-class-set edu-back-white padding20-30 bor-top-greyE"}>
|
|
|
|
|
<div className={"color-grey-6 mb10"}>
|
|
|
|
|
关联项目
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className={"ml20"}>
|
|
|
|
|
{datalist&&datalist.project_info.name}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>}
|
|
|
|
|
{/*{*/}
|
|
|
|
|
{ datalist === undefined?"":datalist&&datalist.task_type===undefined?"" :datalist.task_type===1? "":
|
|
|
|
|
<div className={"stud-class-set pd20 edu-back-white mb10"} style={{height:"100%"}}>
|
|
|
|
|
|
|
|
|
|
{ datalist === undefined?"": datalist && datalist.task_type===undefined ?"" : datalist.task_type===1? "": datalist && datalist.work_members && datalist.work_members.length == 0 ?"":
|
|
|
|
|
<div className={"stud-class-set edu-back-white padding20-30 bor-top-greyE"} style={{height:"100%"}}>
|
|
|
|
|
<div className={"color-grey-6 mb10"}>
|
|
|
|
|
其他组员
|
|
|
|
|
</div>
|
|
|
|
|
<div className={"both"}></div>
|
|
|
|
|
{datalist&&datalist.work_members&&datalist.work_members.map((item,key)=>{
|
|
|
|
|
|
|
|
|
|
{datalist.work_members.map((item,key)=>{
|
|
|
|
|
return(
|
|
|
|
|
<div className={"fl mr20 ml20"} key={key} id={item.user_id}>
|
|
|
|
|
{item.user_name}
|
|
|
|
@ -323,8 +306,6 @@ class GraduationTasksappraise extends Component{
|
|
|
|
|
<div className={"both"}></div>
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|