@using WeApp @using WeApp.Configuration @using WeApp.Authorization @using WeApp.Views.Shared.Modals @using WeApp.Views.Shared.SearchForm @using WeApp.Views.Shared.Table @{ ViewBag.Title = "学员提示信息"; string activeMenu = PermissionNames.PagesBasicMgStudentHelpMg; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; var searchForm = new SearchFormViewModel(new List() { new SearchItem("helpName","提示简称"), }, "search-form", false); var table = new TableViewModel(IwbConsts.ApiAppUrl + "StudentHelp/GetAll", activeMenu, searchForm) .SetFields(new List() { new FieldItem("helpName", "提示简称").SetWidth(200), new FieldItem("helpContent", "提示内容"), }); } @section css{ } @Html.Partial("Table/_Table", table) @section modal{ @{ var modal = new ModalViewModel("演练角色", new ModalBodyViewModel(new List() { new InputHide("id"), new Input("helpName", "提示简称"), new InputTextarea("helpContent", "提示内容"), })); } @Html.Partial("Modals/_Modal", modal) } @section scripts { }
@*@Html.DropDownList("hid-type", type)*@