|
|
@ -12,7 +12,7 @@ class GraduateTopicItem extends Component{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
editTopic=(topicId)=>{
|
|
|
|
editTopic=(topicId)=>{
|
|
|
|
let courseId=this.props.match.params.coursesId;
|
|
|
|
let courseId=this.props.match.params.coursesId;
|
|
|
|
this.props.history.push(`/courses/${courseId}/graduation_topics/${topicId}/edit`);
|
|
|
|
this.props.history.push(`/classrooms/${courseId}/graduation_topics/${topicId}/edit`);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
toDetailPage=(topicId)=>{
|
|
|
|
toDetailPage=(topicId)=>{
|
|
|
|
|
|
|
|
|
|
|
@ -32,7 +32,7 @@ class GraduateTopicItem extends Component{
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
let courseId=this.props.match.params.coursesId;
|
|
|
|
let courseId=this.props.match.params.coursesId;
|
|
|
|
this.props.history.push(`/courses/${courseId}/graduation_topics/${topicId}/detail`);
|
|
|
|
this.props.history.push(`/classrooms/${courseId}/graduation_topics/${topicId}/detail`);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
render(){
|
|
|
|
render(){
|
|
|
|
const { checkBox, discussMessage, index,chooseTopic,
|
|
|
|
const { checkBox, discussMessage, index,chooseTopic,
|
|
|
|