@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition()
@Html.Hidden("SelectedID")
  • 启用状态:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "IsCurrentDropDown", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgMinorConditionList" } })
辅修条件列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="MinorConditionID" }, new BoundFieldColumn { FieldName="Title", HeaderText="条件名称", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="RecordStatusStr", HeaderText="启用状态", Align=AlignStyle.Center, Width=0.04 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/MinorCondition/List"), ID = "dgMinorConditionList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })