|
|
|
@ -214,7 +214,7 @@ class MessagSub extends Component{
|
|
|
|
|
//学生作业页 homework = parent_container_id
|
|
|
|
|
if(item.homework_type===1){
|
|
|
|
|
//普通作业
|
|
|
|
|
return window.open(`t/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type===3){
|
|
|
|
|
//分组作业
|
|
|
|
@ -231,7 +231,7 @@ class MessagSub extends Component{
|
|
|
|
|
//学生作业页
|
|
|
|
|
if(item.homework_type===1){
|
|
|
|
|
//普通作业
|
|
|
|
|
return window.open(`t/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type===3){
|
|
|
|
|
//分组作业
|
|
|
|
@ -310,7 +310,7 @@ class MessagSub extends Component{
|
|
|
|
|
// 课堂-作业列表 homework = container_id
|
|
|
|
|
if(item.homework_type===1){
|
|
|
|
|
//普通作业
|
|
|
|
|
return window.open(`t/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type===3){
|
|
|
|
|
//分组作业
|
|
|
|
@ -323,7 +323,7 @@ class MessagSub extends Component{
|
|
|
|
|
case "HomeworkPublish" :
|
|
|
|
|
if(item.homework_type===1){
|
|
|
|
|
//普通作业
|
|
|
|
|
return window.open(`t/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type===3){
|
|
|
|
|
//分组作业
|
|
|
|
@ -336,7 +336,7 @@ class MessagSub extends Component{
|
|
|
|
|
case "AnonymousAppeal" :
|
|
|
|
|
if(item.homework_type===1){
|
|
|
|
|
//普通作业
|
|
|
|
|
return window.open(`t/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type===3){
|
|
|
|
|
//分组作业
|
|
|
|
@ -350,7 +350,7 @@ class MessagSub extends Component{
|
|
|
|
|
// 课堂-作业列表 homework = container_id
|
|
|
|
|
if(item.homework_type===1){
|
|
|
|
|
//普通作业
|
|
|
|
|
return window.open(`t/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type===3){
|
|
|
|
|
//分组作业
|
|
|
|
@ -379,7 +379,7 @@ class MessagSub extends Component{
|
|
|
|
|
//课堂-作业 :id = parent_container_id
|
|
|
|
|
if(item.homework_type===1){
|
|
|
|
|
//普通作业
|
|
|
|
|
return window.open(`t/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
return window.open(`/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type===3){
|
|
|
|
|
//分组作业
|
|
|
|
@ -392,7 +392,7 @@ class MessagSub extends Component{
|
|
|
|
|
case "StudentWorksScoresAppeal" :
|
|
|
|
|
if(item.homework_type===1){
|
|
|
|
|
//普通作业
|
|
|
|
|
return window.open(`t/courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
return window.open(`courses/${item.belong_container_id}/common_homeworks/${item.parent_container_id}/list`)
|
|
|
|
|
}
|
|
|
|
|
if(item.homework_type===3){
|
|
|
|
|
//分组作业
|
|
|
|
|