@using ShwasherSys @using ShwasherSys.Authorization.Permissions @using ShwasherSys.Models.Layout @using ShwasherSys.Views.Shared.New.Modals @using ShwasherSys.Views.Shared.New.Table @{ ViewBag.Title = "质量问题标签维护"; string activeMenu = PermissionNames.PagesBasicInfoQualityIssueLabel; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; var searchForm = new SearchFormViewModal(new List() { new SearchItem("name","标签名称"), },"search-form",false); var table = new TableViewModel( "/api/services/app/QualityIssueLabel/GetAll", activeMenu, searchForm) .SetFields(new List() { new FieldItem("name", "标签名称"), new FieldItem("description", "标签描述"), }); } @section css{ } @Html.Partial("New/Table/_Table", table) @section modal{ @{ var modal = new ModalViewModel("标签", new ModalBodyViewModel(new List() { new InputHide("id"), new Input("name", "标签名称"), new InputTextarea("description", "标签描述").SetNotRequired(), })); } @Html.Partial("New/Modals/_Modal", modal) } @section scripts { }
@*@Html.DropDownList("hid-type", type)*@