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.1.8 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.1.7 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.1.5 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.1.4 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.1.3 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.1.2 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.1.1 app/views/educode_sales/home/search_edu_teacher.json.jbuilder
educode_sales-0.1.0 app/views/educode_sales/home/search_edu_teacher.json.jbuilder