47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
@page "/user/serviceprovider/{id}"
|
|
@using TIAMSharedUI.Pages.User.SysAdmins
|
|
@using TIAMSharedUI.Shared
|
|
@using TIAMWebApp.Shared.Application.Models;
|
|
@using TIAMWebApp.Shared.Application.Interfaces;
|
|
@layout AdminLayout
|
|
@inject NavigationManager navigationManager
|
|
|
|
<div class="text-center m-5">
|
|
<h1>Company: @Id</h1>
|
|
<h2 style="font-size:small">Manage your service provider details</h2>
|
|
</div>
|
|
|
|
<div class="container">
|
|
<div class="w-100 ch-220">
|
|
<DxTabs>
|
|
|
|
<DxTabPage Text="Profile">
|
|
<ProfileComponent></ProfileComponent>
|
|
</DxTabPage>
|
|
<DxTabPage Text="Permissions">
|
|
<PermissionsComponent></PermissionsComponent>
|
|
</DxTabPage>
|
|
<DxTabPage Text="Services">
|
|
<Products></Products>
|
|
</DxTabPage>
|
|
|
|
</DxTabs>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
@code {
|
|
[Parameter]
|
|
public string Id { get; set; }
|
|
|
|
public string ProfileUrl => $"/images/serviceprovider/{Id}.png";
|
|
|
|
protected override void OnInitialized()
|
|
{
|
|
base.OnInitialized();
|
|
if (string.IsNullOrEmpty(Id))
|
|
navigationManager.NavigateTo("/user/properties");
|
|
}
|
|
}
|