Добавил маршрут в API для изменения статуса принтера

This commit is contained in:
HK committed 2026-06-10 08:48:15 +09:00
1 parent 5faa4c6359
commit 286beabf89
8 files changed
+69 -8

No files matched your search

+19
View File
@@ -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;
}