新增文档分类列表树

This commit is contained in:
hogan
2019-01-25 16:49:09 +08:00
parent a9afd0d23d
commit 96c2a66131
25 changed files with 875 additions and 515 deletions

View File

@ -27,7 +27,7 @@ namespace FreeSql.Site.UI.Areas.Doc.Controllers
// GET: Documents
public IActionResult Index(int id = 1)
{
var typeList = DocumentTypeDAL.Query(d => d.ID != 0);
var typeList = DocumentTypeDAL.Query(d => d.ID != 0).list;
var contentlist = DocumentContentDAL.Query(d => d.Status == 1).list;
//适应两层结构即可