|
|
|
@ -186,7 +186,13 @@ class MessagSub extends Component{
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/teachers`)
|
|
|
|
|
case 'StudentJoinCourse':
|
|
|
|
|
// 课堂详情页 :id = container_id
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}`)
|
|
|
|
|
if(item.tiding_type === 'Apply') {
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/teachers`);
|
|
|
|
|
}
|
|
|
|
|
if(item.tiding_type === 'System'){
|
|
|
|
|
//教学案例详情 :id = container_id
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/students`);
|
|
|
|
|
}
|
|
|
|
|
case 'DealCourse':
|
|
|
|
|
// 课堂详情页 :id = container_id
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/shixun_homeworks/${item.container_id}`)
|
|
|
|
@ -287,10 +293,12 @@ class MessagSub extends Component{
|
|
|
|
|
switch (item.parent_container_type) {
|
|
|
|
|
case "CommitExercise":
|
|
|
|
|
// 课堂-学生试卷详情 :id = container_id :user_id = trigger_user.id
|
|
|
|
|
return window.open(` /courses/${item.belong_container_id}/exercises/${item.container_id}/student_exercise_list?tab=0`)
|
|
|
|
|
return window.open(` /courses/${item.belong_container_id}/exercises/${item.container_id}/student_exercise_list?tab=0`);
|
|
|
|
|
//记得跳评阅页面
|
|
|
|
|
case "ExerciseScore":
|
|
|
|
|
// 课堂-学生试卷详情 :id = container_id :user_id = trigger_user.id
|
|
|
|
|
return window.open(` /courses/${item.belong_container_id}/exercises/${item.container_id}/student_exercise_list?tab=0`)
|
|
|
|
|
return window.open(` /courses/${item.belong_container_id}/exercises/${item.container_id}/student_exercise_list?tab=0`);
|
|
|
|
|
//记得跳评阅页面
|
|
|
|
|
default :
|
|
|
|
|
// 课堂-试卷列表详情 :id = container_id
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/exercises/${item.container_id}`)
|
|
|
|
@ -554,7 +562,7 @@ class MessagSub extends Component{
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<p className="color-grey-6 break_word_firefox yslspansk markdown-body" style={{wordBreak: "break-word"}} dangerouslySetInnerHTML={{__html: markdownToHTML(item.content).replace(/▁/g, "▁▁▁")}} ></p>
|
|
|
|
|
<p className="color-grey-6 break_word_firefox yslspansk markdown-body mt3" style={{wordBreak: "break-word"}} dangerouslySetInnerHTML={{__html: markdownToHTML(item.content).replace(/▁/g, "▁▁▁")}} ></p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<span className={item.new_tiding===true?"new-point fr mr40 mt22":""}></span>
|
|
|
|
|