|
|
|
@ -4305,10 +4305,10 @@ end
|
|
|
|
|
levels = SubjectLevelSystem.includes(subjects: [stage_shixuns: :shixun]).where(nil)
|
|
|
|
|
levels.each_with_index do |level, i|
|
|
|
|
|
sheet1[count_row, 0] = i + 1
|
|
|
|
|
sheet1[count_row, 1] = level.level
|
|
|
|
|
sheet1[count_row, 1] = level.name
|
|
|
|
|
level.subjects.each do |subject|
|
|
|
|
|
sheet1[count_row, 2] = subject.name
|
|
|
|
|
sheet1[count_row, 3] = "#{subject_path(subject)}"
|
|
|
|
|
sheet1[count_row, 3] = "#{Setting.protocol}://#{Setting.host_name}#{subject_path(subject)}"
|
|
|
|
|
count_row += 1
|
|
|
|
|
subject.shixuns.each do |shixun|
|
|
|
|
|
sheet1[count_row, 4] = shixun.name
|
|
|
|
|