@using WePlatform.Configuration @using WePlatform.Authorization @using WePlatform.Views.Shared.Modals @using WePlatform.Views.Shared.SearchForm @using WePlatform.Views.Shared.Table @{ ViewBag.Title = "知识信息引导库管理"; string activeMenu = PermissionNames.PagesResourceMgGuideMgKnowledgeMg; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; string plans = ViewBag.Plan; var searchForm = new SearchFormViewModel(new List() { new SearchItem("name", "知识名称"), }); var table = new TableViewModel(IwbConsts.ApiAppUrl + "Knowledge/GetAll", activeMenu, searchForm) .SetFields(new List() { new FieldItem("id", "编码"), new FieldItem("name", "知识名称"), new FieldItem("description", "知识详情"), }); } @section css{ } @Html.Partial("Table/_Table", table) @section modal{ @{ var input = new ModalBodyViewModel(new List() { new InputHide("id"), new Input("name", "知识名称").SetNotRequired(), new InputTextarea("description", "知识详情").SetNotRequired(), }); }
} @section scripts { }
@*@Html.DropDownList("hid-type", type)*@