|
|
@ -98,7 +98,7 @@ class GraduationTasksController < ApplicationController
|
|
|
|
unless params[:cross_comment].blank?
|
|
|
|
unless params[:cross_comment].blank?
|
|
|
|
graduation_work_id = @task.graduation_work_comment_assignations.where(:user_id =>current_user.id)
|
|
|
|
graduation_work_id = @task.graduation_work_comment_assignations.where(:user_id =>current_user.id)
|
|
|
|
.pluck(:graduation_work_id).uniq if @task.graduation_work_comment_assignations
|
|
|
|
.pluck(:graduation_work_id).uniq if @task.graduation_work_comment_assignations
|
|
|
|
@work_list = @work_list.where(id: graduation_work_id)
|
|
|
|
@work_list = @task.graduation_works.where(id: graduation_work_id)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
# 输入姓名和学号搜索
|
|
|
|
# 输入姓名和学号搜索
|
|
|
|