入职任务预览,入职任务cope,验证填入的信息
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace SimpleAdmin.Web.Core;
|
||||
|
||||
/// <summary>
|
||||
@@ -25,4 +26,14 @@ public class OnboardingTaskController
|
||||
{
|
||||
return await _service.Create(input);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 在原任务之外批量复制独立的新入职任务。
|
||||
/// </summary>
|
||||
[HttpPost("copy")]
|
||||
[DisplayName("复制入职任务")]
|
||||
public async Task<dynamic> Copy([FromBody] OnboardingTaskCopyInput input)
|
||||
{
|
||||
return await _service.Copy(input);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user