Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
孙永强 committed Jun 26, 2024
1 parent 4ae6321 commit 9595259
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 275 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,15 @@ class LogsExportExcelDialog extends React.Component {
}
switch (this.props.logType) {
case 'login':
// url += 'sys/loginadmin/export-excel/';
this.sysExportLogs('loginadmin');
break;
case 'fileAccess':
// url += 'sys/log/fileaudit/export-excel/';
this.sysExportLogs('fileaudit');
break;
case 'fileUpdate':
// url += 'sys/log/fileupdate/export-excel/';
this.sysExportLogs('fileupdate');
break;
case 'sharePermission':
// url += 'sys/log/permaudit/export-excel/';
this.sysExportLogs('permaudit');
break;
}
Expand Down
262 changes: 0 additions & 262 deletions seahub/sysadmin_extra/views.py

This file was deleted.

9 changes: 0 additions & 9 deletions seahub/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,20 +889,11 @@

from seahub.utils import is_pro_version
if is_pro_version():
from seahub.sysadmin_extra.views import \
sys_login_admin_export_excel, sys_log_file_audit_export_excel, \
sys_log_file_update_export_excel, sys_log_perm_audit_export_excel
urlpatterns += [
re_path(r'^api/v2.1/admin/logs/login/$', LoginLogs.as_view(), name='api-v2.1-admin-logs-login'),
path('sys/loginadmin/export-excel/', sys_login_admin_export_excel, name='sys_login_admin_export_excel'),

re_path(r'^api/v2.1/admin/logs/file-audit/$', FileAudit.as_view(), name='api-v2.1-admin-logs-file-audit'),
path('sys/log/fileaudit/export-excel/', sys_log_file_audit_export_excel, name='sys_log_file_audit_export_excel'),
re_path(r'^api/v2.1/admin/logs/file-update/$', FileUpdate.as_view(), name='api-v2.1-admin-logs-file-update'),
path('sys/log/fileupdate/export-excel/', sys_log_file_update_export_excel, name='sys_log_file_update_export_excel'),

re_path(r'^api/v2.1/admin/logs/perm-audit/$', PermAudit.as_view(), name='api-v2.1-admin-logs-perm-audit'),
path('sys/log/permaudit/export-excel/', sys_log_perm_audit_export_excel, name='sys_log_perm_audit_export_excel'),

re_path(r'^api/v2.1/admin/logs/export-excel/$', SysLogsExport.as_view(), name='api-v2.1-admin-logs-export-excel'),
re_path(r'^api/v2.1/query-export-status/$', FileLogsExportStatus.as_view(), name='api-v2.1-query-export-status'),
Expand Down

0 comments on commit 9595259

Please sign in to comment.