@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @using EMIS.Utility; @using EMIS.ViewModel; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.Position() @using (Ajax.BeginForm(new AjaxOptions { Url = @Url.Content("~/CheckingControl/StudentEditControlSet?MNU=" + Request["MNU"]), OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
查询条件
@Html.PositionCondition()
  • 校对类型:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_CheckingType, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionaryCheckingType", Name = "DictionaryCheckingType", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgStudentEditControlList" } })
校对控制列表
@Html.ContextMenuBar("List")
@*@Html.PositionBatchModify()*@
@Html.DataGrid(new DataGridOptions { Columns = new List() { //new CheckBoxFieldColumn{ HeaderText="", FieldName="StudentEditControlID" }, //new BoundFieldColumn { FieldName="OrderNo", HeaderText="序号", Align=AlignStyle.Center, Width=0.03 }, //new BoundFieldColumn { FieldName="ColumnName", HeaderText="校对代码", Align=AlignStyle.Center, Width=0.08 }, //new BoundFieldColumn { FieldName="DisplayColumnName", HeaderText="校对列名", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="Description", HeaderText="校对名称", Align=AlignStyle.Center, Width=0.06 }, new RadioButtonColumn{ FieldName="CheckingTypeID", HeaderText="不可修改", Align=AlignStyle.Center, RadioValue=(int)CF_CheckingType.Close, Width=0.06 }, new RadioButtonColumn{ FieldName="CheckingTypeID", HeaderText="记录且审核", Align=AlignStyle.Center, RadioValue=(int)CF_CheckingType.OpenApprove, Width=0.08 }, new RadioButtonColumn{ FieldName="CheckingTypeID", HeaderText="记录且不审核", Align=AlignStyle.Center, RadioValue=(int)CF_CheckingType.OpenRecord, Width=0.08 }, new RadioButtonColumn{ FieldName="CheckingTypeID", HeaderText="不记录且不审核", Align=AlignStyle.Center, RadioValue=(int)CF_CheckingType.AllOpen, Width=0.08 }, new BoundFieldColumn { FieldName="CreateUserName", HeaderText="创建人", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="ModifyUserName", HeaderText="修改人", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="ModifyTime", HeaderText="修改时间", Align=AlignStyle.Center, Width=0.06, Formatter= Formatter.LongDate } }, PageSize = 100, IsCheckOnSelect = true, IsPostBack = true, DataSourceUrl = Url.Content("~/CheckingControl/List"), ID = "dgStudentEditControlList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })
}