|
|
|
@ -488,12 +488,26 @@ class MessagSub extends Component {
|
|
|
|
|
case "SubjectStartCourse":
|
|
|
|
|
return window.open(`/paths/${item.container_id}`);
|
|
|
|
|
case "ResubmitStudentWork":
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/graduation_tasks/${item.container_id}/appraise`);
|
|
|
|
|
if (item.homework_type === "normal") {
|
|
|
|
|
//普通作业
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/${item.container_id}/appraise`);
|
|
|
|
|
}
|
|
|
|
|
if (item.homework_type === "group") {
|
|
|
|
|
//分组作业
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/group_homeworks/${item.parent_container_id}/${item.container_id}/appraise`);
|
|
|
|
|
}
|
|
|
|
|
case "AdjustScore":
|
|
|
|
|
//belong_container_id course的id
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/graduation_tasks/${item.parent_container_id}`);
|
|
|
|
|
if (item.homework_type === "normal") {
|
|
|
|
|
//普通作业
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}`);
|
|
|
|
|
}
|
|
|
|
|
if (item.homework_type === "group") {
|
|
|
|
|
//分组作业
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/group_homeworks/${item.parent_container_id}`);
|
|
|
|
|
}
|
|
|
|
|
default :
|
|
|
|
|
return window.open("/")
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -575,7 +589,16 @@ class MessagSub extends Component {
|
|
|
|
|
boolps = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (item.container_type === "DeleteCourse") {
|
|
|
|
|
if (item.tiding_type === "System") {
|
|
|
|
|
boolps = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (item.container_type === "DeleteCourseMember") {
|
|
|
|
|
if (item.tiding_type === "System") {
|
|
|
|
|
boolps = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return (
|
|
|
|
|
<div className="pl25 ridinglist edu-back-white" key={key}>
|
|
|
|
|
<div
|
|
|
|
|