diff --git a/aspnet-core/modules/auditing/LINGYUN.Abp.Auditing.Application.Contracts/LINGYUN/Abp/Auditing/Localization/Resources/en.json b/aspnet-core/modules/auditing/LINGYUN.Abp.Auditing.Application.Contracts/LINGYUN/Abp/Auditing/Localization/Resources/en.json index 6d422d306..22046fb52 100644 --- a/aspnet-core/modules/auditing/LINGYUN.Abp.Auditing.Application.Contracts/LINGYUN/Abp/Auditing/Localization/Resources/en.json +++ b/aspnet-core/modules/auditing/LINGYUN.Abp.Auditing.Application.Contracts/LINGYUN/Abp/Auditing/Localization/Resources/en.json @@ -9,6 +9,59 @@ "Features:DisplayName:AuditLog": "Audit log", "Features:Description:AuditLog": "Whether to enable audit logging", "Features:DisplayName:SecurityLog": "Security log", - "Features:Description:SecurityLog": "Whether to enable security logging" + "Features:Description:SecurityLog": "Whether to enable security logging", + "SecurityLog": "Security log", + "AuditLog": "Audit log", + "Application": "Application", + "ApplicationName": "Application name", + "TenantId": "Tenant id", + "TenantName": "Tenant name", + "ImpersonatorTenantId": "Impersonator tenant", + "UserInfo": "User info", + "UserId": "User id", + "UserName": "User name", + "ImpersonatorUserId": "Impersonator user", + "ClientId": "Client id", + "ClientName": "Client name", + "ClientIpAddress": "Ip address", + "BrowserInfo": "Browser", + "Operation": "Operation", + "HttpMethod": "Http method", + "RequestUrl": "Request url", + "HttpStatusCode": "StatusCode", + "HasException": "Has exception", + "ExecutionTime": "Execution time", + "MinExecutionDuration": "Min execution duration(ms)", + "MaxExecutionDuration": "Max execution duration(ms)", + "ExecutionDuration": "Execution duration(ms)", + "Identity": "Identity", + "ActionName": "Action", + "CreationTime": "Creation time", + "Additional": "Additional", + "CorrelationId": "Correlation", + "StartTime": "Start time", + "EndTime": "End time", + "SelectDateTime": "Select time", + "InvokeMethod": "Invoke method", + "ServiceName": "Service", + "MethodName": "Method", + "Parameters": "Parameters", + "EntitiesChanged": "Entities changed", + "ChangeType": "Change type", + "EntityTypeFullName": "Entity type", + "EntityId": "Entity id", + "PropertyChanges": "Property changes", + "PropertyName": "Property name", + "NewValue": "New value", + "OriginalValue": "Original value", + "PropertyTypeFullName": "Property type", + "Exception": "Exception", + "StackTrack": "Stack track", + "SecrchLog": "Secrch", + "Created": "Created", + "Updated": "Updated", + "Deleted": "Deleted", + "ShowLogDialog": "Show log", + "DeleteLog": "Delete log" } } \ No newline at end of file diff --git a/aspnet-core/modules/auditing/LINGYUN.Abp.Auditing.Application.Contracts/LINGYUN/Abp/Auditing/Localization/Resources/zh-Hans.json b/aspnet-core/modules/auditing/LINGYUN.Abp.Auditing.Application.Contracts/LINGYUN/Abp/Auditing/Localization/Resources/zh-Hans.json index 255612c6e..a741e3af8 100644 --- a/aspnet-core/modules/auditing/LINGYUN.Abp.Auditing.Application.Contracts/LINGYUN/Abp/Auditing/Localization/Resources/zh-Hans.json +++ b/aspnet-core/modules/auditing/LINGYUN.Abp.Auditing.Application.Contracts/LINGYUN/Abp/Auditing/Localization/Resources/zh-Hans.json @@ -9,6 +9,59 @@ "Features:DisplayName:AuditLog": "审计日志", "Features:Description:AuditLog": "是否启用审计日志功能", "Features:DisplayName:SecurityLog": "安全日志", - "Features:Description:SecurityLog": "是否启用安全日志功能" + "Features:Description:SecurityLog": "是否启用安全日志功能", + "SecurityLog": "安全日志", + "AuditLog": "审计日志", + "Application": "应用信息", + "ApplicationName": "应用名称", + "TenantId": "租户标识", + "TenantName": "租户名称", + "ImpersonatorTenantId": "模拟租户", + "UserInfo": "用户信息", + "UserId": "用户标识", + "UserName": "用户名称", + "ImpersonatorUserId": "模拟用户", + "ClientId": "客户端标识", + "ClientName": "客户端名称", + "ClientIpAddress": "客户端地址", + "BrowserInfo": "浏览器信息", + "Operation": "操作信息", + "HttpMethod": "请求方法", + "RequestUrl": "请求路径", + "HttpStatusCode": "响应状态", + "HasException": "包含异常", + "ExecutionTime": "调用时间", + "MinExecutionDuration": "最短响应时间(ms)", + "MaxExecutionDuration": "最长响应时间(ms)", + "ExecutionDuration": "响应时间(ms)", + "Identity": "主体名称", + "ActionName": "方法名称", + "CreationTime": "创建时间", + "Additional": "附加信息", + "CorrelationId": "链路标识", + "StartTime": "开始时间", + "EndTime": "结束时间", + "SelectDateTime": "选择日期时间", + "InvokeMethod": "调用方法", + "ServiceName": "服务名称", + "MethodName": "方法名称", + "Parameters": "参数列表", + "EntitiesChanged": "实体变更", + "ChangeType": "变更类型", + "EntityTypeFullName": "实体类型", + "EntityId": "实体标识", + "PropertyChanges": "属性变更", + "PropertyName": "属性名称", + "NewValue": "当前值", + "OriginalValue": "原始值", + "PropertyTypeFullName": "属性类型", + "Exception": "异常信息", + "StackTrack": "异常堆栈", + "SecrchLog": "查询日志", + "Created": "新增", + "Updated": "修改", + "Deleted": "删除", + "ShowLogDialog": "查看日志", + "DeleteLog": "删除日志" } } \ No newline at end of file diff --git a/aspnet-core/services/apigateway/LINGYUN.ApiGateway.Host/event-bus-cap.db b/aspnet-core/services/apigateway/LINGYUN.ApiGateway.Host/event-bus-cap.db index d29e1dd23..5eb62e853 100644 Binary files a/aspnet-core/services/apigateway/LINGYUN.ApiGateway.Host/event-bus-cap.db and b/aspnet-core/services/apigateway/LINGYUN.ApiGateway.Host/event-bus-cap.db differ diff --git a/vueJs/src/lang/zh.ts b/vueJs/src/lang/zh.ts index 62babc19e..ecc30bf0e 100644 --- a/vueJs/src/lang/zh.ts +++ b/vueJs/src/lang/zh.ts @@ -298,7 +298,7 @@ export default { filterString: '过滤字符', searchList: '查询列表', creationTime: '创建时间', - successful: '提交成功', + successful: '操作成功', pleaseInputBy: '请输入{key}', pleaseSelectBy: '请选择{key}', none: '未定义', diff --git a/vueJs/src/views/admin/auditing/audit-log/components/AuditLogDialog.vue b/vueJs/src/views/admin/auditing/audit-log/components/AuditLogDialog.vue index c11322c69..a6ce6e2e9 100644 --- a/vueJs/src/views/admin/auditing/audit-log/components/AuditLogDialog.vue +++ b/vueJs/src/views/admin/auditing/audit-log/components/AuditLogDialog.vue @@ -1,7 +1,7 @@ @@ -367,12 +367,12 @@ export default class extends mixins(DataListMiXin) { } private handleDeleteAuditLog(id: string) { - this.$confirm('是否要删除选定的审计日志记录?', - '删除审计日志', { + this.$confirm(this.l('questingDeleteByMessage', { message: id }), + this.l('AbpAuditLogging.DeleteLog'), { callback: (action) => { if (action === 'confirm') { AuditingService.deleteAuditLog(id).then(() => { - this.$message.success('删除成功!') + this.$message.success(this.l('successful')) this.refreshPagedData() }) } @@ -390,7 +390,7 @@ export default class extends mixins(DataListMiXin) { } -