Compare commits
No commits in common. "c9984d4cf558bcca0311a21eb8a81ed3c010ee38" and "c431c8d2ba8710b42a43ceb0f574283f0172cc9d" have entirely different histories.
c9984d4cf5
...
c431c8d2ba
|
|
@ -3,7 +3,6 @@
|
|||
@using AyCode.Services.Loggers
|
||||
@using TIAM.Entities.ServiceProviders
|
||||
@using TIAM.Resources
|
||||
@using TIAM.Services
|
||||
@using TIAMSharedUI.Pages.User.SysAdmins
|
||||
@using TIAMSharedUI.Shared
|
||||
@using TIAMSharedUI.Shared.Components.Grids
|
||||
|
|
@ -64,7 +63,7 @@
|
|||
<ProfileGridComponent ParentData="((Company)myContext.DataItem)" KeyboardNavigationEnabled="true" />
|
||||
</DxTabPage>
|
||||
<DxTabPage Text="Products">
|
||||
<ProductDetailGridComponent GetAllTag="SignalRTags.GetProductsByOwnerId" ContextId="((Company)myContext.DataItem).Id" ParentData="((Company)myContext.DataItem)" KeyboardNavigationEnabled="true" />
|
||||
<ProductDetailGridComponent ParentData="((Company)myContext.DataItem)" KeyboardNavigationEnabled="true" />
|
||||
</DxTabPage>
|
||||
<DxTabPage Text="Address">
|
||||
<AddressDetailGridComponent ParentData="((Company)myContext.DataItem).Profile" KeyboardNavigationEnabled="true" />
|
||||
|
|
|
|||
|
|
@ -89,10 +89,10 @@
|
|||
[Parameter] public Guid? ContextId { get; set; }
|
||||
[Parameter] public IProductsRelation? ParentData { get; set; } = null!;
|
||||
[Parameter] public EventCallback<GridEditModelSavingEventArgs> OnGridEditModelSaving { get; set; }
|
||||
[Parameter] public int GetAllTag { get; set; } = SignalRTags.GetProductsByOwnerId;
|
||||
[Parameter] public int GetAllTag { get; set; } = SignalRTags.GetProductsByContextId;
|
||||
[Parameter] public GridDetailExpandButtonDisplayMode DetailExpandButtonDisplayMode { get; set; } = GridDetailExpandButtonDisplayMode.Never;
|
||||
|
||||
// private ProductDetailGrid _productGrid = null!;
|
||||
private ProductDetailGrid _productGrid = null!;
|
||||
private LoggerClient<ProductDetailGridComponent> _logger = null!;
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ public class CompanyByIdDetailGrid : CompanyGrid
|
|||
{
|
||||
public CompanyByIdDetailGrid() : base()
|
||||
{
|
||||
GetAllMessageTag = SignalRTags.GetCompaniesById;
|
||||
GetAllMessageTag = SignalRTags.GetCompany;
|
||||
AddMessageTag = SignalRTags.AddCompany;
|
||||
UpdateMessageTag = SignalRTags.UpdateCompany;
|
||||
RemoveMessageTag = SignalRTags.RemoveCompany;
|
||||
|
|
|
|||
Loading…
Reference in New Issue