Browse Source
Merge pull request #699 from colinin/upt-5.3.5
update common.props
pull/712/head
yx lin
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with
58 additions and
5 deletions
-
apps/vue/src/api/auditing/auditLog.ts
-
apps/vue/src/api/auditing/model/auditLogModel.ts
-
aspnet-core/Directory.Build.props
-
aspnet-core/common.props
-
aspnet-core/modules/auditing/LINGYUN.Abp.Auditing.Application.Contracts/LINGYUN/Abp/Auditing/Localization/Resources/en.json
-
aspnet-core/modules/auditing/LINGYUN.Abp.Auditing.Application.Contracts/LINGYUN/Abp/Auditing/Localization/Resources/zh-Hans.json
-
common.props
-
gateways/common.props
|
|
|
@ -1,5 +1,13 @@ |
|
|
|
import { defAbpHttp } from '/@/utils/http/abp'; |
|
|
|
import { AuditLog, GetAuditLogPagedRequest } from './model/auditLogModel'; |
|
|
|
import { |
|
|
|
AuditLog, |
|
|
|
EntityChange, |
|
|
|
EntityChangeWithUsername, |
|
|
|
GetAuditLogPagedRequest, |
|
|
|
EntityChangeGetByPagedRequest, |
|
|
|
EntityChangeGetWithUsernameInput |
|
|
|
} from './model/auditLogModel'; |
|
|
|
import { ListResultDto } from '../model/baseModel'; |
|
|
|
|
|
|
|
enum Api { |
|
|
|
RemoteService = 'AbpAuditing', |
|
|
|
@ -38,3 +46,21 @@ export const getList = (input: GetAuditLogPagedRequest) => { |
|
|
|
}, |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
|
export const getEntityChanges = (input: EntityChangeGetByPagedRequest) => { |
|
|
|
return defAbpHttp.pagedRequest<EntityChange>({ |
|
|
|
service: Api.RemoteService, |
|
|
|
controller: 'EntityChanges', |
|
|
|
action: 'GetListAsync', |
|
|
|
params: { |
|
|
|
input: input, |
|
|
|
}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
export const getEntityChangesWithUsername = (input: EntityChangeGetWithUsernameInput) => { |
|
|
|
return defAbpHttp.get<ListResultDto<EntityChangeWithUsername>>({ |
|
|
|
url: '/api/auditing/entity-changes/with-username', |
|
|
|
params: input, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
@ -25,6 +25,11 @@ export interface EntityChange { |
|
|
|
extraProperties?: { [key: string]: any }; |
|
|
|
} |
|
|
|
|
|
|
|
export interface EntityChangeWithUsername { |
|
|
|
entityChange: EntityChange; |
|
|
|
userName?: string; |
|
|
|
} |
|
|
|
|
|
|
|
export interface Action { |
|
|
|
id: string; |
|
|
|
serviceName?: string; |
|
|
|
@ -74,3 +79,17 @@ export interface GetAuditLogPagedRequest extends PagedAndSortedResultRequestDto |
|
|
|
hasException?: boolean; |
|
|
|
httpStatusCode?: number; |
|
|
|
} |
|
|
|
|
|
|
|
export interface EntityChangeGetByPagedRequest extends PagedAndSortedResultRequestDto { |
|
|
|
auditLogId?: string; |
|
|
|
startTime?: Date; |
|
|
|
endTime?: Date; |
|
|
|
changeType?: ChangeType; |
|
|
|
entityId?: string; |
|
|
|
entityTypeFullName?: string; |
|
|
|
} |
|
|
|
|
|
|
|
export interface EntityChangeGetWithUsernameInput { |
|
|
|
entityId?: string; |
|
|
|
entityTypeFullName?: string; |
|
|
|
} |
|
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
<Project> |
|
|
|
<PropertyGroup> |
|
|
|
<VoloAbpPackageVersion>5.3.4</VoloAbpPackageVersion> |
|
|
|
<LINGYUNAbpPackageVersion>5.3.4</LINGYUNAbpPackageVersion> |
|
|
|
<LINGYUNAbpPackageVersion>5.3.5</LINGYUNAbpPackageVersion> |
|
|
|
<DaprPackageVersion>1.8.0</DaprPackageVersion> |
|
|
|
<DistributedLockRedisPackageVersion>1.0.1</DistributedLockRedisPackageVersion> |
|
|
|
<DotNetCoreCAPPackageVersion>6.0.1</DotNetCoreCAPPackageVersion> |
|
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
<Project> |
|
|
|
<PropertyGroup> |
|
|
|
<LangVersion>latest</LangVersion> |
|
|
|
<Version>5.3.4</Version> |
|
|
|
<Version>5.3.5</Version> |
|
|
|
<Authors>colin</Authors> |
|
|
|
<NoWarn>$(NoWarn);CS1591;CS0436;CS8618</NoWarn> |
|
|
|
<PackageProjectUrl>https://github.com/colinin/abp-next-admin</PackageProjectUrl> |
|
|
|
@ -17,6 +17,12 @@ |
|
|
|
<None Remove="LocalNuget\**" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<Compile Remove="Modules\**" /> |
|
|
|
<EmbeddedResource Remove="Modules\**" /> |
|
|
|
<None Remove="Modules\**" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
|
|
|
<OutputPath>$(SolutionDir)LocalNuget</OutputPath> |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
@ -48,6 +48,7 @@ |
|
|
|
"MethodName": "Method", |
|
|
|
"Parameters": "Parameters", |
|
|
|
"EntitiesChanged": "Entities changed", |
|
|
|
"ChangeTime": "Change time", |
|
|
|
"ChangeType": "Change type", |
|
|
|
"EntityTypeFullName": "Entity type", |
|
|
|
"EntityId": "Entity id", |
|
|
|
|
|
|
|
@ -48,6 +48,7 @@ |
|
|
|
"MethodName": "方法名称", |
|
|
|
"Parameters": "参数列表", |
|
|
|
"EntitiesChanged": "实体变更", |
|
|
|
"ChangeTime": "变更时间", |
|
|
|
"ChangeType": "变更类型", |
|
|
|
"EntityTypeFullName": "实体类型", |
|
|
|
"EntityId": "实体标识", |
|
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
<Project> |
|
|
|
<PropertyGroup> |
|
|
|
<LangVersion>latest</LangVersion> |
|
|
|
<Version>5.3.4</Version> |
|
|
|
<Version>5.3.5</Version> |
|
|
|
<Authors>LINGYUN</Authors> |
|
|
|
<NoWarn>$(NoWarn);CS1591;CS0436</NoWarn> |
|
|
|
<PackageProjectUrl>https://github.com/colinin/abp-next-admin</PackageProjectUrl> |
|
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
<Project> |
|
|
|
<PropertyGroup> |
|
|
|
<LangVersion>latest</LangVersion> |
|
|
|
<Version>5.3.4</Version> |
|
|
|
<Version>5.3.5</Version> |
|
|
|
<NoWarn>$(NoWarn);CS1591;CS0436</NoWarn> |
|
|
|
</PropertyGroup> |
|
|
|
</Project> |