📝 操作日志
记录和管理系统中所有管理员、员工的操作行为
总操作次数
{{ stats.summary.total_operations }}
{{ stats.summary.date_range }}
成功操作
{{ stats.summary.success_operations }}
成功率 {{ stats.summary.success_rate }}
管理员操作
{{ getStatByUserType('admin') }}
员工操作
{{ getStatByUserType('employee') }}
搜索
导出日志
清理历史
{{ scope.row.created_at }}
{{ scope.row.user_name }}
{{ scope.row.method }}
{{ scope.row.status_text }}
{{ currentLog.user_name }}
{{ currentLog.created_at }}
{{ currentLog.action }}
{{ currentLog.resource }}
{{ currentLog.resource_id || '--' }}
{{ currentLog.method }}
{{ currentLog.url }}
{{ currentLog.ip_address }}
{{ currentLog.response_status }} - {{ currentLog.status_text }}
{{ currentLog.duration_text }}
{{ currentLog.user_agent || '--' }}
请求数据
{{ JSON.stringify(currentLog.request_data, null, 2) }}
响应数据
{{ JSON.stringify(currentLog.response_data, null, 2) }}
选择要保留的日志天数,更早的日志将被清理:
当前将保留最近 {{ cleanupDays }} 天的日志
取消
确定清理