update 完成选房

This commit is contained in:
2021-05-30 20:28:09 +08:00
parent 0f44438d78
commit ccd914fb81
30 changed files with 650 additions and 43 deletions

View File

@@ -33,11 +33,13 @@ namespace Ewide.Core
/// </summary>
[Description("自定义数据")]
DEFINE = 5,
/// <summary>
/// 本部门所在区域及以下区域
/// </summary>
[Description("本部门所在区域及以下区域")]
AREA_WITH_CHILD = 6,
/// <summary>
/// 本部门所在区域数据 不包括下面区域
/// </summary>

View File

@@ -9,6 +9,7 @@ namespace Ewide.Core.Service
Task AddOrg(AddOrgInput input);
Task DeleteOrg(DeleteOrgInput input);
Task<List<string>> GetDataScopeListByDataScopeType(int dataScopeType, string orgId);
List<string> GetDataScopeList(List<string> dataScopes);
Task<SysOrg> GetOrg([FromQuery] QueryOrgInput input);
Task<List<OrgOutput>> GetOrgList([FromQuery] OrgInput input);
Task<dynamic> GetOrgTree([FromQuery] OrgInput input);

View File

@@ -74,7 +74,7 @@ namespace Ewide.Core.Service
/// </summary>
/// <param name="dataScopes"></param>
/// <returns></returns>
private List<string> GetDataScopeList(List<string> dataScopes)
public List<string> GetDataScopeList(List<string> dataScopes)
{
var dataScopeList = new List<string>();
// 如果是超级管理员则获取所有组织机构,否则只获取其数据范围的机构数据

View File

@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core.Service.Role
namespace Ewide.Core.Service
{
public interface ISysRoleAreaService
{