|
|
|
@ -16,6 +16,8 @@ json.exercise_types do
|
|
|
|
|
json.subjective @subjective_type #是否包含主观题,1为包括,0为不包括
|
|
|
|
|
json.exercise_end_time ((@ex_user_end_time.nil? || @ex_user_end_time < Time.now) ? "--" : how_much_time(@ex_user_end_time))
|
|
|
|
|
json.groups_count @c_group_counts
|
|
|
|
|
json.subjective_score @exercise.subjective_score
|
|
|
|
|
json.objective_score @exercise.objective_score
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
if @exercise_current_user_status == 0 #当为老师的时候
|
|
|
|
|