学生匿评修改
This commit is contained in:
parent
6157a67e23
commit
f0377ffae7
|
@ -431,7 +431,7 @@ class HomeworkAttachController < ApplicationController
|
|||
elsif is_student && @is_anonymous_comments && !@has_evaluation#是学生且开启了匿评且未进行评分
|
||||
@is_comprehensive_evaluation = 2 #匿评
|
||||
elsif is_student && @is_anonymous_comments && @has_evaluation #是学生且开启了匿评,但已评分
|
||||
@is_comprehensive_evaluation = 3 #留言
|
||||
@is_comprehensive_evaluation = 2 #匿评
|
||||
elsif is_student && !@is_anonymous_comments #是学生未开启匿评
|
||||
@is_comprehensive_evaluation = 3 #留言
|
||||
elsif is_teacher
|
||||
|
|
Loading…
Reference in New Issue