MgGridBase...
This commit is contained in:
parent
c178c72a3d
commit
7c370251c6
|
|
@ -133,7 +133,8 @@ public class MgGridBase : DxGrid
|
|||
{
|
||||
e.Layout = await LoadLayoutFromLocalStorageAsync($"{AutoSaveLayoutName}_AutoSave_{LoggedInModel.CustomerDto?.Id ?? 0}");
|
||||
}
|
||||
async Task Grid_LayoutAutoSaving(GridPersistentLayoutEventArgs e)
|
||||
|
||||
private async Task Grid_LayoutAutoSaving(GridPersistentLayoutEventArgs e)
|
||||
{
|
||||
await SaveLayoutToLocalStorageAsync(e.Layout, $"{AutoSaveLayoutName}_AutoSave_{LoggedInModel.CustomerDto?.Id ?? 0}");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
using AyCode.Core.Helpers;
|
||||
using AyCode.Core.Loggers;
|
||||
using AyCode.Interfaces.Users;
|
||||
using AyCode.Core.Loggers;
|
||||
using AyCode.Utils.Extensions;
|
||||
using FruitBank.Common.Loggers;
|
||||
using FruitBank.Common.Models;
|
||||
using FruitBankHybrid.Shared.Services.Loggers;
|
||||
using FruitBankHybrid.Shared.Services.SignalRs;
|
||||
|
|
|
|||
|
|
@ -1,14 +1,9 @@
|
|||
using AyCode.Core.Extensions;
|
||||
using AyCode.Core.Loggers;
|
||||
using AyCode.Services.SignalRs;
|
||||
using DevExpress.Blazor;
|
||||
using DevExpress.Xpo.DB;
|
||||
using FruitBank.Common.Dtos;
|
||||
using FruitBank.Common.Entities;
|
||||
using FruitBank.Common.Helpers;
|
||||
using FruitBank.Common.Interfaces;
|
||||
using FruitBank.Common.Models;
|
||||
using FruitBank.Common.Models.SignalRs;
|
||||
using FruitBank.Common.SignalRs;
|
||||
using FruitBankHybrid.Shared.Extensions;
|
||||
using FruitBankHybrid.Shared.Models;
|
||||
|
|
@ -16,21 +11,14 @@ using FruitBankHybrid.Shared.Services;
|
|||
using FruitBankHybrid.Shared.Services.Loggers;
|
||||
using FruitBankHybrid.Shared.Services.SignalRs;
|
||||
using Mango.Nop.Core.Extensions;
|
||||
using Mango.Nop.Core.Loggers;
|
||||
using MessagePack.Resolvers;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Nop.Core.Domain.Orders;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FruitBankHybrid.Shared.Pages
|
||||
{
|
||||
public partial class MeasuringOut : ComponentBase
|
||||
{
|
||||
private readonly object _lock = new object();
|
||||
private readonly Lock _lock = new Lock();
|
||||
[Inject] public required IEnumerable<IAcLogWriterClientBase> LogWriters { get; set; }
|
||||
[Inject] public required FruitBankSignalRClient FruitBankSignalRClient { get; set; }
|
||||
[Inject] public required NavigationManager NavManager{ get; set; }
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public partial class OrdersAdmin : ComponentBase
|
|||
[Inject] private IDialogService DialogService { get; set; } = null!;
|
||||
[Inject] public required LoggedInModel LoggedInModel { get; set; }
|
||||
|
||||
public IGrid gridOrder;
|
||||
public required IGrid gridOrder;
|
||||
private List<ProductDto>? ProductDtos { get; set; } = null!;
|
||||
private List<OrderDto>? OrderDtos { get; set; } = null!;
|
||||
private List<OrderItemDto>? OrderItemDtos { get; set; } = null!;
|
||||
|
|
|
|||
Loading…
Reference in New Issue