|
|
|
@ -377,31 +377,34 @@ class MessagSub extends Component{
|
|
|
|
|
}
|
|
|
|
|
case "StudentWorksScore" :
|
|
|
|
|
//课堂-作业 :id = parent_container_id
|
|
|
|
|
if(item.homework_type==="normal"){
|
|
|
|
|
//普通作业
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type==="group"){
|
|
|
|
|
//分组作业
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/group_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type==="practice"){
|
|
|
|
|
//实训作业
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/shixun_homeworks/${item.parent_container_id}/list?tab=0`)
|
|
|
|
|
}
|
|
|
|
|
// if(item.homework_type==="normal"){
|
|
|
|
|
// //普通作业
|
|
|
|
|
// return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
// }
|
|
|
|
|
// if(item.homework_type==="group"){
|
|
|
|
|
// //分组作业
|
|
|
|
|
// return window.open(`/courses/${item.belong_container_id}/group_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
// }
|
|
|
|
|
// if(item.homework_type==="practice"){
|
|
|
|
|
// //实训作业
|
|
|
|
|
// return window.open(`/courses/${item.belong_container_id}/shixun_homeworks/${item.parent_container_id}/list?tab=0`)
|
|
|
|
|
// }
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/${item.trigger_user.id}/appraise`);
|
|
|
|
|
|
|
|
|
|
case "StudentWorksScoresAppeal" :
|
|
|
|
|
if(item.homework_type==="normal"){
|
|
|
|
|
//普通作业
|
|
|
|
|
return window.open(`courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type==="group"){
|
|
|
|
|
//分组作业
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/group_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type==="practice"){
|
|
|
|
|
//实训作业
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/shixun_homeworks/${item.parent_container_id}/list?tab=0`)
|
|
|
|
|
}
|
|
|
|
|
// if(item.homework_type==="normal"){
|
|
|
|
|
// //普通作业
|
|
|
|
|
// return window.open(`courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
// }
|
|
|
|
|
// if(item.homework_type==="group"){
|
|
|
|
|
// //分组作业
|
|
|
|
|
// return window.open(`/courses/${item.belong_container_id}/group_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
// }
|
|
|
|
|
// if(item.homework_type==="practice"){
|
|
|
|
|
// //实训作业
|
|
|
|
|
// return window.open(`/courses/${item.belong_container_id}/shixun_homeworks/${item.parent_container_id}/list?tab=0`)
|
|
|
|
|
// }
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/${item.trigger_user.id}/appraise`);
|
|
|
|
|
case "ChallengeWorkScore" :
|
|
|
|
|
return '';
|
|
|
|
|
case "SendMessage" :
|
|
|
|
|