@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; ComboGridOptions cgopProject = new ComboGridOptions { TextField = "Name", ValueField = "ExaminationProjectID", ID = "ExaminationProjectID", Name = "ExaminationProjectID", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="项目名称", Align=AlignStyle.Center ,Width=0.3} }, PageSize = 5, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/CertisfierDistribute/ProjectListViewGrid"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } , OnSelect = "reload" }; } @section scripts{ }
@Html.Position()
  • 项目名称:
  • @Html.ComboGrid(cgopProject, new Dictionary { { "data-condition", "dgList" } })
  • 领取状态:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.ER_CertisfierDistributeStatus, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "RecordStatus", Name = "RecordStatus", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgList" } })
  • 领取方式:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.ER_CertisfierDistributeType, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "DistributeTypeID", Name = "DistributeTypeID", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgList" } })
证书领取列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="CertisfierDistributeID"}, new BoundFieldColumn { FieldName="Schoolyear", HeaderText="学年学期", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ProjectName", HeaderText="考试项目", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CertificatesTypeName", HeaderText="证件类型", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="IDNumber", HeaderText="证件号码", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="DistributeStateName", HeaderText="领取状态", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="DistributeTypeName", HeaderText="领取方式", Align=AlignStyle.Center}, new BoundFieldColumn { FieldName="ContactPerson", HeaderText="联系人", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ContactNo", HeaderText="联系电话", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="DeliveryNoteNo", HeaderText="邮寄单号", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Distributer", HeaderText="领取人", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="DistributeTime", HeaderText="领取时间", Align=AlignStyle.Center, Formatter= Formatter.CHSOnlyYearMonthDay }, new BoundFieldColumn { FieldName="No", HeaderText="领取单号", Align=AlignStyle.Center }, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/CertisfierDistribute/StuList"), ID = "dgList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, })