if identity == Course::STUDENT
  if homework.homework_type == "practice"
    json.task_operation task_operation_url(work.try(:myshixun), homework.shixuns.take)
    json.view_report work.work_status > 0
    json.commit_des commit_des_status(work, homework)
  else
    json.work_statuses student_work_status(homework, work.user_id, homework.course, work)
  end
  json.work_id work.id
end