Browse Source

🚑 Vben 分页组件参数设置 #59

IdentityServer4 5.3.2.2
WangJunZzz 4 years ago
parent
commit
1fc71cc7dd
  1. 0
      aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Extensions/Hangfire/RecurringJobsExtensions.cs
  2. 80
      aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Lion.AbpPro.HttpApi.Host.csproj
  3. 4
      vben28/src/settings/componentSetting.ts

0
aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Extensions/RecurringJobsExtensions.cs → aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Extensions/Hangfire/RecurringJobsExtensions.cs

80
aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Lion.AbpPro.HttpApi.Host.csproj

@ -10,53 +10,53 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer"/> <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis"/> <PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" />
<PackageReference Include="Volo.Abp.Account.Web"/> <PackageReference Include="Volo.Abp.Account.Web" />
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy"/> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy" />
<PackageReference Include="Volo.Abp.Autofac"/> <PackageReference Include="Volo.Abp.Autofac" />
<PackageReference Include="Volo.Abp.Caching.StackExchangeRedis"/> <PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" />
<PackageReference Include="Volo.Abp.AspNetCore.Serilog"/> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" />
<PackageReference Include="Volo.Abp.Swashbuckle"/> <PackageReference Include="Volo.Abp.Swashbuckle" />
<PackageReference Include="Volo.Abp.AspNetCore.Authentication.JwtBearer"/> <PackageReference Include="Volo.Abp.AspNetCore.Authentication.JwtBearer" />
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic"/> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic" />
<PackageReference Include="Serilog"/> <PackageReference Include="Serilog" />
<PackageReference Include="Serilog.AspNetCore"/> <PackageReference Include="Serilog.AspNetCore" />
<PackageReference Include="Serilog.Exceptions"/> <PackageReference Include="Serilog.Exceptions" />
<PackageReference Include="Serilog.Extensions.Logging"/> <PackageReference Include="Serilog.Extensions.Logging" />
<PackageReference Include="Serilog.Settings.Configuration"/> <PackageReference Include="Serilog.Settings.Configuration" />
<PackageReference Include="Serilog.Sinks.Console"/> <PackageReference Include="Serilog.Sinks.Console" />
<PackageReference Include="Serilog.Sinks.Elasticsearch"/> <PackageReference Include="Serilog.Sinks.Elasticsearch" />
<PackageReference Include="Serilog.Sinks.File"/> <PackageReference Include="Serilog.Sinks.File" />
<PackageReference Include="Serilog.Sinks.Async"/> <PackageReference Include="Serilog.Sinks.Async" />
<PackageReference Include="Hangfire.MySqlStorage"/> <PackageReference Include="Hangfire.MySqlStorage" />
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks"/> <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" />
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic"/> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic" />
<PackageReference Include="MiniProfiler.AspNetCore.Mvc"/> <PackageReference Include="MiniProfiler.AspNetCore.Mvc" />
<PackageReference Include="DotNetCore.CAP.MySql"/> <PackageReference Include="DotNetCore.CAP.MySql" />
<PackageReference Include="DotNetCore.CAP.RabbitMQ"/> <PackageReference Include="DotNetCore.CAP.RabbitMQ" />
<PackageReference Include="DotNetCore.CAP.Dashboard"/> <PackageReference Include="DotNetCore.CAP.Dashboard" />
<PackageReference Include="DotNetCore.CAP.InMemoryStorage"/> <PackageReference Include="DotNetCore.CAP.InMemoryStorage" />
<PackageReference Include="Savorboard.CAP.InMemoryMessageQueue"/> <PackageReference Include="Savorboard.CAP.InMemoryMessageQueue" />
<PackageReference Include="MiniProfiler.AspNetCore.Mvc"/> <PackageReference Include="MiniProfiler.AspNetCore.Mvc" />
<PackageReference Include="MiniProfiler.EntityFrameworkCore"/> <PackageReference Include="MiniProfiler.EntityFrameworkCore" />
<PackageReference Include="MiniProfiler.Shared"/> <PackageReference Include="MiniProfiler.Shared" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\..\frameworks\CAP\src\Lion.AbpPro.CAP\Lion.AbpPro.CAP.csproj"/> <ProjectReference Include="..\..\..\frameworks\CAP\src\Lion.AbpPro.CAP\Lion.AbpPro.CAP.csproj" />
<ProjectReference Include="..\..\..\shared\Lion.AbpPro.Shared.Hosting.Microservices\Lion.AbpPro.Shared.Hosting.Microservices.csproj"/> <ProjectReference Include="..\..\..\shared\Lion.AbpPro.Shared.Hosting.Microservices\Lion.AbpPro.Shared.Hosting.Microservices.csproj" />
<ProjectReference Include="..\..\src\Lion.AbpPro.Application\Lion.AbpPro.Application.csproj"/> <ProjectReference Include="..\..\src\Lion.AbpPro.Application\Lion.AbpPro.Application.csproj" />
<ProjectReference Include="..\..\src\Lion.AbpPro.EntityFrameworkCore\Lion.AbpPro.EntityFrameworkCore.csproj"/> <ProjectReference Include="..\..\src\Lion.AbpPro.EntityFrameworkCore\Lion.AbpPro.EntityFrameworkCore.csproj" />
<ProjectReference Include="..\..\src\Lion.AbpPro.HttpApi\Lion.AbpPro.HttpApi.csproj"/> <ProjectReference Include="..\..\src\Lion.AbpPro.HttpApi\Lion.AbpPro.HttpApi.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Remove="Logs\**"/> <Compile Remove="Logs\**" />
<Content Remove="Logs\**"/> <Content Remove="Logs\**" />
<EmbeddedResource Remove="Logs\**"/> <EmbeddedResource Remove="Logs\**" />
<None Remove="Logs\**"/> <None Remove="Logs\**" />
</ItemGroup> </ItemGroup>
</Project> </Project>

4
vben28/src/settings/componentSetting.ts

@ -9,13 +9,13 @@ export default {
// support xxx.xxx.xxx // support xxx.xxx.xxx
fetchSetting: { fetchSetting: {
// The field name of the current page passed to the background // The field name of the current page passed to the background
pageField: 'page', pageField: 'pageIndex',
// The number field name of each page displayed in the background // The number field name of each page displayed in the background
sizeField: 'pageSize', sizeField: 'pageSize',
// Field name of the form data returned by the interface // Field name of the form data returned by the interface
listField: 'items', listField: 'items',
// Total number of tables returned by the interface field name // Total number of tables returned by the interface field name
totalField: 'total', totalField: 'totalCount',
}, },
// Number of pages that can be selected // Number of pages that can be selected
pageSizeOptions: ['10', '50', '80', '100'], pageSizeOptions: ['10', '50', '80', '100'],

Loading…
Cancel
Save