|
|
|
@ -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}`)
|
|
|
|
@ -379,7 +387,7 @@ class MessagSub extends Component{
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type==="practice"){
|
|
|
|
|
//实训作业
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/shixun_homeworks/${item.container_id}/list?tab=0`)
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/shixun_homeworks/${item.parent_container_id}/list?tab=0`)
|
|
|
|
|
}
|
|
|
|
|
case "StudentWorksScore" :
|
|
|
|
|
//课堂-作业 :id = parent_container_id
|
|
|
|
|