json.qrcode_img Util::FileManage.exists?(@subject, '_qrcode') ? Util::FileManage.source_disk_file_url(@subject, '_qrcode') : nil json.members @members do |member| json.partial! 'subject_member', locals: { user: member.user } json.role member.role end json.team_title @subject.team_title # 技能标签 json.tags @tags do |tag| unless tag.blank? json.tag_name tag json.status @user_tags.include?(tag) end end # 我的进展 json.progress do json.my_score @my_score json.all_score @all_score json.learned @learned json.time @time end