32 lines
727 B
C#
32 lines
727 B
C#
using EgwCoreLib.Lux.Core.RestPayload;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace Lux.UI.Components.Compo.WorkLoad
|
|
{
|
|
public partial class WorkCheck
|
|
{
|
|
#region Public Properties
|
|
|
|
[Parameter]
|
|
public WorkLoadDetailDTO WorkLoadRecord { get; set; } = null!;
|
|
|
|
|
|
[Parameter]
|
|
public EventCallback<bool> EC_ReRunReq { get; set; }
|
|
|
|
[Parameter]
|
|
public EventCallback<bool> EC_ClosePopup { get; set; }
|
|
|
|
#endregion Public Properties
|
|
|
|
protected async Task ReRunJob()
|
|
{
|
|
await EC_ReRunReq.InvokeAsync(true);
|
|
}
|
|
protected async Task ClosePopup()
|
|
{
|
|
await EC_ClosePopup.InvokeAsync(true);
|
|
}
|
|
|
|
}
|
|
} |