|
|
|
@ -9,6 +9,7 @@ json.stages @subject.stages.includes(shixuns: [user: :user_extension]) do |stage
|
|
|
|
|
json.shixuns stage.shixuns do |shixun|
|
|
|
|
|
if shixun.status == 2 && !shixun.is_jupyter && !@none_shixun_ids.include?(shixun.id)
|
|
|
|
|
json.shixun_id shixun.id
|
|
|
|
|
json.id shixun.id
|
|
|
|
|
json.identifier shixun.identifier
|
|
|
|
|
json.shixun_name "#{stage.position}-#{index} #{shixun.name}"
|
|
|
|
|
json.title shixun.name
|
|
|
|
|