Explorar o código

user perfomance function

abiao %!s(int64=5) %!d(string=hai) anos
pai
achega
e4d9acdbd2
Modificáronse 1 ficheiros con 2 adicións e 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