@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.PagesBasicMgPhoneAnswerMg; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; var searchForm = new SearchFormViewModel(new List() { new SearchItem("keywords","关键字"), },"search-form",false); var table = new TableViewModel(IwbConsts.ApiAppUrl + "PhoneAnswer/GetAll", activeMenu, searchForm) .SetFields(new List() { new FieldItem("content", "内容"), new FieldItem("keywords", "关键字"), new FieldItem("type", "答案类型"), new FieldItem("questionNo", "培训营"), }); var inputs = new List() { new InputHide("id"), new Input("content", "内容"), new Input("keywords", "关键字"), new InputNumber("type", "答案类型"), new Input("questionNo", "培训营").SetNotRequired(), }; var modalBody = new ModalBodyViewModel(inputs); var modal = new ModalViewModel("答案",modalBody); } @section css{ } @Html.Partial("Table/_Table", table) @section modal{ @Html.Partial("Modals/_Modal", modal) } @section scripts { }
@*@Html.DropDownList("hid-type", type)*@