毕设提交作品调整

dev_forum
cxt 6 years ago
parent 91f6dbc567
commit 8bee375b67

@ -3,6 +3,8 @@ json.task_type @task.task_type
json.work_id @work.id
json.description @work.description
json.user_name @task_user.real_name
json.max_num @task.max_num
json.min_num @task.min_num
json.attachments @work.attachments do |atta|
json.partial! "attachments/attachment_simple", locals: {attachment: atta, delete: @work.delete_atta(atta)}

@ -6,4 +6,6 @@ if @task.task_type == 2
json.user_id @user.id
json.user_student_id @user.student_id
json.group_name @course.course_member(@user.id).try(:course_group_name)
json.max_num @task.max_num
json.min_num @task.min_num
end

Loading…
Cancel
Save