mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
Добавил маршрут в API для изменения статуса принтера
This commit is contained in:
1 parent
5faa4c6359
commit
286beabf89
8 files changed
+69
-8
No files matched your search
@@ -4,6 +4,22 @@
|
||||
@inject IJSRuntime JS
|
||||
@using System.Net
|
||||
|
||||
|
||||
<RadzenStack>
|
||||
|
||||
</RadzenStack>
|
||||
|
||||
@if (printer.StatusId == 1)
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
<RadzenStack Orientation="Orientation.Vertical">
|
||||
<RadzenCard style="height: 200px;">
|
||||
|
||||
@@ -17,12 +33,15 @@
|
||||
</RadzenStack>
|
||||
|
||||
@code {
|
||||
//bool dataIsLoading;
|
||||
[Parameter] public int PrinterId { get; set; }
|
||||
private Models.Printer.PrinterItem printer = default!;
|
||||
|
||||
protected async override Task OnInitializedAsync()
|
||||
{
|
||||
// dataIsLoading = true;
|
||||
await GetPrinterInfo();
|
||||
//dataIsLoading = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user