|
|
@ -477,6 +477,8 @@ class StudentWorksController < ApplicationController
|
|
|
|
@user_evaluate_count = 0
|
|
|
|
@user_evaluate_count = 0
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@view_tpi = ((@user_course_identity < Course::STUDENT && current_user.is_certification_teacher) || current_user.admin_or_business?) && @work.myshixun.present?
|
|
|
|
|
|
|
|
|
|
|
|
# 图形效率图的数据
|
|
|
|
# 图形效率图的数据
|
|
|
|
@echart_data = student_efficiency(@homework, @work) if @work.myshixun
|
|
|
|
@echart_data = student_efficiency(@homework, @work) if @work.myshixun
|
|
|
|
end
|
|
|
|
end
|
|
|
|