update 组织机构新增区域选择

This commit is contained in:
2021-04-30 14:02:36 +08:00
parent fdb4b4897b
commit 7a57ba34ed
14 changed files with 106 additions and 37 deletions

View File

@@ -49,7 +49,7 @@ namespace Ewide.Core.Service
/// <summary>
/// 机构所在区域
/// </summary>
public virtual string AreaNumberCode { get; set; }
public virtual string AreaCode { get; set; }
}
public class AddOrgInput : OrgInput
@@ -69,7 +69,7 @@ namespace Ewide.Core.Service
/// 机构所在区域
/// </summary>
[Required(ErrorMessage = "机构所在区域不能为空")]
public override string AreaNumberCode { get; set; }
public override string AreaCode { get; set; }
}
public class DeleteOrgInput

View File

@@ -48,7 +48,7 @@ namespace Ewide.Core.Service
/// <param name="input"></param>
/// <returns></returns>
[HttpPost("/sysOrg/page")]
public async Task<dynamic> QueryOrgPageList([FromForm] PageOrgInput input)
public async Task<dynamic> QueryOrgPageList([FromBody] PageOrgInput input)
{
var dataScopeList = GetDataScopeList(await GetUserDataScopeIdList());