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