|
|
@ -853,7 +853,7 @@ class ManagementsController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
def evaluate_simple
|
|
|
|
def evaluate_simple
|
|
|
|
page = params[:page]
|
|
|
|
page = params[:page]
|
|
|
|
@recodes = EvaluateRecord.where("created_at > ?", Time.now - 1000.days).reorder("consume_time desc")
|
|
|
|
@recodes = EvaluateRecord.where("created_at > ?", Time.now - 1.days).reorder("consume_time desc")
|
|
|
|
@recodes_count = @recodes.size
|
|
|
|
@recodes_count = @recodes.size
|
|
|
|
@record_pages = Paginator.new @recodes_count, 20, page || 1
|
|
|
|
@record_pages = Paginator.new @recodes_count, 20, page || 1
|
|
|
|
@offset ||= @record_pages.offset
|
|
|
|
@offset ||= @record_pages.offset
|
|
|
|