|
|
|
@ -28,6 +28,7 @@ class GraduationTasksedit extends Component{
|
|
|
|
|
name:"",
|
|
|
|
|
description:undefined,
|
|
|
|
|
shixunsreplace:false,
|
|
|
|
|
graduationtask_id:undefined
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -74,6 +75,7 @@ class GraduationTasksedit extends Component{
|
|
|
|
|
title_num:namelength,
|
|
|
|
|
attachments:result.data.attachments,
|
|
|
|
|
fileList:fileList,
|
|
|
|
|
graduationtask_id:result.data.graduation_id
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -300,7 +302,7 @@ class GraduationTasksedit extends Component{
|
|
|
|
|
render(){
|
|
|
|
|
const { getFieldDecorator } = this.props.form;
|
|
|
|
|
let {title_num,pageType,name,description,Loadtype,attachments,fileList,
|
|
|
|
|
Modalstype,Modalstopval,ModalCancel,ModalSave,shixunsreplace} =this.state;
|
|
|
|
|
Modalstype,Modalstopval,ModalCancel,ModalSave,shixunsreplace ,graduationtask_id} =this.state;
|
|
|
|
|
|
|
|
|
|
let {coursedata}=this.props;
|
|
|
|
|
let courseId=this.props.match.params.coursesId;
|
|
|
|
@ -361,13 +363,15 @@ class GraduationTasksedit extends Component{
|
|
|
|
|
<div className={"educontent mb20"}>
|
|
|
|
|
|
|
|
|
|
<p className="clearfix mt10">
|
|
|
|
|
<WordsBtn style="grey" className="fl"> <a onClick={this.goback} className="color-grey-6">{this.props.current_user&&this.props.current_user.course_name}</a></WordsBtn>
|
|
|
|
|
<WordsBtn style="grey" className="fl">
|
|
|
|
|
<Link to={`/courses/${graduationtask_id}`} className="color-grey-6">{this.props.current_user&&this.props.current_user.course_name}</Link>
|
|
|
|
|
</WordsBtn>
|
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|
|
<WordsBtn style="grey" className="fl"> <Link to={"/courses/"+courseId+"/graduation_tasks/"+category_id} className="color-grey-6">毕设任务</Link></WordsBtn>
|
|
|
|
|
<WordsBtn style="grey" className="fl"> <Link to={"/courses/"+courseId+"/graduation_tasks/"+graduationtask_id} className="color-grey-6">毕设任务</Link></WordsBtn>
|
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|
|
{name===""?"":
|
|
|
|
|
<WordsBtn style="grey" className="fl">
|
|
|
|
|
<Link to={"/courses/"+courseId+"/graduation_tasks/"+category_id} className="color-grey-6">{name}</Link>
|
|
|
|
|
<Link to={"/courses/"+courseId+"/graduation_tasks/"+graduationtask_id+"/detail/"+category_id+"/list"} className="color-grey-6">{name}</Link>
|
|
|
|
|
<span className="color-grey-9 ml3 mr3">></span>
|
|
|
|
|
</WordsBtn>
|
|
|
|
|
}
|
|
|
|
|