dev_ec
杨树林 5 years ago
parent 563828c5df
commit ac07bb24aa

@ -498,7 +498,14 @@ class MessagSub extends Component {
}
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
}

Loading…
Cancel
Save