Explorar el Código

user perfomance function

abiao hace 5 años
padre
commit
e4d9acdbd2
Se han modificado 1 ficheros con 2 adiciones y 9 borrados
  1. 2 9
      app/models/user_perfomance.rb

+ 2 - 9
app/models/user_perfomance.rb

@@ -36,16 +36,9 @@ class UserPerfomance < ActiveRecord::Base
     navigation_label '统计汇总'
     weight -500
     list do
-      filters [:wx_user_id,:begin_date,:end_date]
+      filters [:wx_user_id]
       field :id
-      field :begin_date do
-        visible false
-        filterable true
-      end
-      field :end_date do
-        visible false
-        filterable true
-      end
+
       field :begin_date_fomat
       field :end_date_fomat
       field :wx_user_id do