Sha256: 7bccf78a5da040563e5da9819756c42035a6e0085adb3d353a55871b19f5bed6

Contents?: true

Size: 445 Bytes

Versions: 228

Compression:

Stored size: 445 Bytes

Contents

json.data do
  json.array! @data do |d|
    json.value d.id
    if d.department_id.present?
      json.extras "#{d.department_id}---#{d.user_extension.department&.school&.name}-#{d.user_extension.department&.name}"
      json.name "#{d.real_name}--(#{d.user_extension.department&.school&.name}-#{d.user_extension.department&.name})"
    else
      json.name "#{d.real_name}"
      json.extras ""
    end
  end
end
json.code 0
json.msg 'succcess'

Version data entries

228 entries across 228 versions & 1 rubygems

Version Path
educode_sales-0.9.95 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.94 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.93 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.92 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.91 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.90 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.89 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.86 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.84 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.83 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.82 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.81 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.80 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.79 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.78 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.77 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.76 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.75 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.74 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.9.73 app/views/educode_sales/home/search_edu_teacher.json.jbuilder