多重身份的学生匿评变为了教辅评分

cxt_course
cxt 9 years ago
parent b7c05fed4a
commit f9bfe278c0

@ -828,7 +828,7 @@ class StudentWorkController < ApplicationController
if User.current.admin?
@new_score.reviewer_role = 1
else
role = User.current.members.where("course_id = ?",@course.id).first.roles.first.name
role = User.current.members.where("course_id = ?",@course.id).first.roles.where("is_current = 1").first.name
@new_score.reviewer_role = get_role_by_name(role)
end
if @score

Loading…
Cancel
Save