You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/exercises/_exercise_user.json.jbuilder

16 lines
692 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

ex_user_info = exercise_use_info(exercise_user,user_status,exercise)
json.user_id ex_user_info[:user_id]
json.user_name ex_user_info[:user_name]
json.login ex_user_info[:login]
json.user_group_id ex_user_info[:user_group_id]
json.user_group_name ex_user_info[:user_group_name]
json.student_id ex_user_info[:student_id]
json.commit_status ex_user_info[:commit_status]
json.end_at ex_user_info[:end_at]
if subjective_type == 1
json.objective_score ex_user_info[:ex_object_score]
json.subjective_score ex_user_info[:ex_subject_score]
end
json.score ex_user_info[:score]
json.review_status ex_user_info[:teacher_review] #教师是否评阅评阅则为true否则为false