|
|
@ -71,7 +71,7 @@ class GraduationTasksController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
@work_list = @task.graduation_works.where(user_id: user_ids).includes(user: [:user_extension])
|
|
|
|
@work_list = @task.graduation_works.where(user_id: user_ids).includes(user: [:user_extension])
|
|
|
|
@all_work_count = @work_list.count
|
|
|
|
@all_work_count = @work_list.count
|
|
|
|
@teachers = @course.teachers
|
|
|
|
@teachers = @course.teachers.where.not(user_id: current_user.id)
|
|
|
|
# 教师评阅搜索 0: 未评, 1 已评
|
|
|
|
# 教师评阅搜索 0: 未评, 1 已评
|
|
|
|
unless params[:teacher_comment].blank?
|
|
|
|
unless params[:teacher_comment].blank?
|
|
|
|
graduation_work_ids = GraduationWorkScore.where(graduation_work_id: @work_list.map(&:id)).pluck(:graduation_work_id)
|
|
|
|
graduation_work_ids = GraduationWorkScore.where(graduation_work_id: @work_list.map(&:id)).pluck(:graduation_work_id)
|
|
|
|