Sfoglia il codice sorgente

公文下发选择角色

新疆影视学院高职
edy 3 anni fa
parent
commit
0ba9c340d4
2 ha cambiato i file con 19 aggiunte e 3 eliminazioni
  1. +16
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Controllers/RoleController.cs
  2. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj

+ 16
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Controllers/RoleController.cs Vedi File

@@ -130,5 +130,21 @@ namespace Learun.Application.Web.Areas.LR_OrganizationModule.Controllers
return Success("删除成功!");
}
#endregion

#region 扩展数据
/// <summary>
/// 获取树形数据
/// </summary>
/// <param name="companyId">公司主键</param>
/// <returns></returns>
[HttpGet]
[AjaxOnly]
public ActionResult GetTree(string companyId)
{
var data = roleIBLL.GetTree(companyId);
return JsonResult(data);
}

#endregion
}
}

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj Vedi File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
@@ -7521,11 +7521,11 @@
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<UseIIS>True</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>20472</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:20873/</IISUrl>
<IISUrl>http://localhost:12345/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>


Caricamento…
Annulla
Salva