完成机构与用户管理

This commit is contained in:
yubaolee
2015-11-13 21:33:53 +08:00
parent 8ab37845bc
commit 4dac594250
210 changed files with 74200 additions and 73971 deletions

View File

@@ -33,6 +33,11 @@ namespace OpenAuth.Mvc.Controllers
return View();
}
public ActionResult LookupMulti()
{
return View();
}
public ActionResult AddOrg()
{
return View();
@@ -71,7 +76,16 @@ namespace OpenAuth.Mvc.Controllers
public string LoadOrg()
{
return JsonHelper.Instance.Serialize(_orgApp.GetAll());
var orgs = _orgApp.GetAll();
//添加根节点
orgs.Add(new Org
{
Id = 0,
ParentId = -1,
Name = "全部机构",
CascadeId = "0"
});
return JsonHelper.Instance.Serialize(orgs);
}
public string LoadChildren(int id)