@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.PagesBasicMgPhoneQuestionMg; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; string answerType = ViewBag.AnswerType; var searchForm = new SearchFormViewModel(new List() { }, "search-form", false); var table = new TableViewModel(IwbConsts.ApiAppUrl + "PhoneQuestion/GetAll", activeMenu, searchForm) .SetFields(new List() { new FieldItem("name", "简称"), new FieldItem("content", "内容"), //new FieldItem("type", ""), //new FieldItem("tag", "标签"), }); var input = new ModalBodyViewModel(new List() { new InputHide("id"), new Input("name", "简称").SetNotRequired(), new InputTextarea("content", "提问内容").SetNotRequired(), //new InputNumber("type", "").SetNotRequired(), //new Input("tag", "标签").SetNotRequired(), }); } @section css{ } @Html.Partial("Table/_Table", table) @section modal{
} @section scripts { }
@*@Html.DropDownList("hid-type", type)*@