学生匿评修改

This commit is contained in:
z9hang 2014-11-08 13:52:18 +08:00
parent 6157a67e23
commit f0377ffae7
1 changed files with 1 additions and 1 deletions

View File

@ -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