1111
This commit is contained in:
+7
@@ -1,3 +1,4 @@
|
||||
using System.ComponentModel;
|
||||
namespace SimpleAdmin.Web.Core;
|
||||
|
||||
/// <summary>
|
||||
@@ -19,6 +20,7 @@ public class OnboardingEntryConfigController
|
||||
/// 查询动态入职字段。
|
||||
/// </summary>
|
||||
[HttpGet("form-field/list")]
|
||||
[DisplayName("查询动态字段列表")]
|
||||
public async Task<dynamic> ListFormFields()
|
||||
{
|
||||
return await _service.ListFormFields();
|
||||
@@ -28,6 +30,7 @@ public class OnboardingEntryConfigController
|
||||
/// 保存动态入职字段。
|
||||
/// </summary>
|
||||
[HttpPost("form-field/save")]
|
||||
[DisplayName("保存动态入职字段")]
|
||||
public async Task SaveFormField([FromBody] OnboardingFormFieldSaveInput input)
|
||||
{
|
||||
await _service.SaveFormField(input);
|
||||
@@ -37,6 +40,7 @@ public class OnboardingEntryConfigController
|
||||
/// 删除动态入职字段。
|
||||
/// </summary>
|
||||
[HttpPost("form-field/delete")]
|
||||
[DisplayName("删除动态入职字段")]
|
||||
public async Task DeleteFormFields([FromBody] BaseIdListInput input)
|
||||
{
|
||||
await _service.DeleteFormFields(input);
|
||||
@@ -46,6 +50,7 @@ public class OnboardingEntryConfigController
|
||||
/// 查询入职材料类型。
|
||||
/// </summary>
|
||||
[HttpGet("material-type/list")]
|
||||
[DisplayName("查询材料类型列表")]
|
||||
public async Task<dynamic> ListMaterialTypes()
|
||||
{
|
||||
return await _service.ListMaterialTypes();
|
||||
@@ -55,6 +60,7 @@ public class OnboardingEntryConfigController
|
||||
/// 保存入职材料类型。
|
||||
/// </summary>
|
||||
[HttpPost("material-type/save")]
|
||||
[DisplayName("保存入职材料类型")]
|
||||
public async Task SaveMaterialType([FromBody] OnboardingMaterialTypeSaveInput input)
|
||||
{
|
||||
await _service.SaveMaterialType(input);
|
||||
@@ -64,6 +70,7 @@ public class OnboardingEntryConfigController
|
||||
/// 删除入职材料类型。
|
||||
/// </summary>
|
||||
[HttpPost("material-type/delete")]
|
||||
[DisplayName("删除入职材料类型")]
|
||||
public async Task DeleteMaterialTypes([FromBody] BaseIdListInput input)
|
||||
{
|
||||
await _service.DeleteMaterialTypes(input);
|
||||
|
||||
Reference in New Issue
Block a user