|
|
|
@ -9,7 +9,7 @@ if @task.published? || @user_course_identity < Course::STUDENT
|
|
|
|
|
json.teacher_comment teacher_comment @task, @current_user.id
|
|
|
|
|
json.task_status task_status @task, @current_user.id
|
|
|
|
|
json.course_group_info course_group_info @course, @current_user.id
|
|
|
|
|
json.cross_comment cross_comment @task, @current_user if @task.status >= 3
|
|
|
|
|
json.cross_comment cross_comment @task, @current_user
|
|
|
|
|
end
|
|
|
|
|
# 课堂下所有老师 TODO: 考虑以后在点击分配时,再获取老师列表
|
|
|
|
|
json.teacher_list do
|
|
|
|
|