@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.PagesBasicMgTrainingRoleMg; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; var searchForm = new SearchFormViewModel(new List() { new SearchItem("roleName","角色名称"), },"search-form",false); var table = new TableViewModel(IwbConsts.ApiAppUrl + "TrainingRole/GetAll", activeMenu, searchForm) .SetFields(new List() { new FieldItem("roleName", "角色名称").SetWidth(200), new FieldItem("description", "角色描述"), }); } @section css{ } @Html.Partial("Table/_Table", table) @section modal{ @{ var modal = new ModalViewModel("演练角色", new ModalBodyViewModel(new List() { new InputHide("id"), new Input("roleName", "角色名称"), new InputTextarea("description", "角色描述").SetNotRequired(), })); } @Html.Partial("Modals/_Modal", modal) } @section scripts { }
@*@Html.DropDownList("hid-type", type)*@