Browse Source

Merge branch 'develop' into standalone_develop

pull/313/head
xiaoxiaoqiong 3 years ago
parent
commit
e71d28736d
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      app/controllers/admins/dashboards_controller.rb

+ 3
- 3
app/controllers/admins/dashboards_controller.rb View File

@@ -25,9 +25,9 @@ class Admins::DashboardsController < Admins::BaseController
@month_active_project_count = Project.where(updated_on: current_month).or(Project.where(id: month_project_ids)).count

# 新增项目数
@day_new_project_count = User.where(created_on: today).count
@weekly_new_project_count = User.where(created_on: current_week).count
@month_new_project_count = User.where(created_on: current_month).count
@day_new_project_count = Project.where(created_on: today).count
@weekly_new_project_count = Project.where(created_on: current_week).count
@month_new_project_count = Project.where(created_on: current_month).count
end

def month_active_user


Loading…
Cancel
Save