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.7.9 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.7.8 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.7.7 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.7.6 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.7.5 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.7.4 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.7.3 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.7.2 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.7.1 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.7.0 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.6.9 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.6.8 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.6.7 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.6.6 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.6.5 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.6.4 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.6.3 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.6.2 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.6.1 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.6.0 app/views/educode_sales/home/search_edu_teacher.json.jbuilder