1111
This commit is contained in:
+4
@@ -1,3 +1,4 @@
|
||||
using System.ComponentModel;
|
||||
namespace SimpleAdmin.Web.Core;
|
||||
|
||||
/// <summary>
|
||||
@@ -19,6 +20,7 @@ public class OnboardingTaskLifecycleController
|
||||
/// 归档审核通过的入职任务。
|
||||
/// </summary>
|
||||
[HttpPost("archive")]
|
||||
[DisplayName("归档入职任务")]
|
||||
public async Task Archive([FromBody] OnboardingAuditActionInput input)
|
||||
{
|
||||
await _service.Archive(input);
|
||||
@@ -28,6 +30,7 @@ public class OnboardingTaskLifecycleController
|
||||
/// 撤销入职任务及员工填写链接。
|
||||
/// </summary>
|
||||
[HttpPost("revoke")]
|
||||
[DisplayName("撤销入职任务")]
|
||||
public async Task Revoke([FromBody] OnboardingAuditActionInput input)
|
||||
{
|
||||
await _service.Revoke(input);
|
||||
@@ -37,6 +40,7 @@ public class OnboardingTaskLifecycleController
|
||||
/// 删除已撤销的入职任务。
|
||||
/// </summary>
|
||||
[HttpPost("delete")]
|
||||
[DisplayName("删除已撤销入职任务")]
|
||||
public async Task Delete([FromBody] BaseIdInput input)
|
||||
{
|
||||
await _service.Delete(input);
|
||||
|
||||
Reference in New Issue
Block a user