You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
453 B
14 lines
453 B
# shixun_id: 1, //实训id
|
|
# shixun_name: '实训名称',
|
|
# school_users: 使用院校
|
|
# myshixuns_count: 1, //学习人数
|
|
# preference: '', //评价等级
|
|
#
|
|
json.array! shixuns do |shixun|
|
|
json.shixun_id shixun.id
|
|
json.identifier shixun.identifier
|
|
json.shixun_name shixun.name
|
|
json.myshixuns_count shixun.myshixuns_count
|
|
json.school_users school_user_detail(shixun)
|
|
json.preference format("%.1f", shixun.shixun_preference)
|
|
end |