fixed 日志操作类型

This commit is contained in:
xxq250 2025-10-16 16:30:21 +08:00
parent 2d22bbc9d8
commit 63b60a0bac
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<%= form_tag(admins_user_actions_path, method: :get, class: 'form-inline search-form flex-1', remote: true) do %>
操作类型:
<% action_type_options = [['上传附件', 'Attachment'], ['登录', 'Login'], ['退出登录', 'Logout'],['删除用户','DestroyUser'], ['删除项目', 'DestroyProject'], ['删除组织', 'DestroyOrganization'], ['竞赛', 'CompetitionInfo']] %>
<%= select_tag(:action_type, options_for_select(action_type_options), class: 'form-control') %>
<%= select_tag(:action_type, options_for_select(action_type_options, params[:action_type]), class: 'form-control') %>
<%#= text_field_tag(:action_type, params[:action_type], class: 'form-control col-sm-2 ml-3',style: 'display: none;', placeholder: '自定义操作类型检索') %>
<%= text_field_tag(:keyword, params[:keyword], class: 'form-control col-sm-2 ml-3', placeholder: '操作人用户名/邮箱/手机号检索') %>
<%= submit_tag('搜索', class: 'btn btn-primary ml-3', 'data-disable-with': '搜索中...') %>