app/views/educode_sales/shixuns/index.json.jbuilder in educode_sales-1.10.49 vs app/views/educode_sales/shixuns/index.json.jbuilder in educode_sales-1.10.58
- old
+ new
@@ -1,22 +1,26 @@
json.data do
json.array! @shixuns do |d|
json.shixun_manages handled_data d.shixun_manages
- json.shixun_producer d.shixun_producer
- json.shixun_staff handled_data d.shixun_staff
+ json.shixun_producer handled_data d.shixun_producer
+ json.shixun_staff handled_data @shixun_staffs["#{d.id}"]
json.type d.shixun_type
json.deliver_date handled_time_data d.deliver_date
json.reception_at handled_time_data d.reception_at
- json.school_name d.school_name
+ json.school_name handled_data d.shixun_school
json.identifier handled_data d.identifier
+ json.subjects_identifier d.subjects_identifier
json.subject_name handled_data(d.subject_name)
json.shixun_name handled_data d.name
json.shixun_status d.shixun_status
json.level d.level
+ json.s_identifier d.s_identifier
json.id d.id
json.max_manage "喻银凤"
- json.dectect_feedback "审核反馈内容"
- json.commit_dectect_time handled_time_data Time.now
+ json.dectect_feedback handled_data d.dectects_content
+ json.commit_dectect_time handled_time_data_accurate d.shixun_dectects_time
+ json.money handled_data d.deliver_money
+ json.link d.link
end
end
json.code 0
json.count @shixuns.total_count
\ No newline at end of file