@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.Position()
@Html.PositionCondition()
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), ID = "ddlSchoolyear", Name = "ddlSchoolyear", OnSelect = "schoolyearChange", SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), OnLoadSuccess = "schoolyearChange" }, new Dictionary { { "data-condition", "dgResitList" } })
  • 考试批次:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlExaminationBatch", Name = "ddlExaminationBatch", OnSelect = "examinationBatchChange", OnLoadSuccess = "examinationBatchChange" }, new Dictionary { { "data-condition", "dgResitList" } })
  • 考试类型:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlExaminationType", Name = "ddlExaminationType", OnSelect = "examinationTypeChange", OnLoadSuccess = "examinationTypeChange" }, new Dictionary { { "data-condition", "dgResitList" } })
  • 项目名称:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlExaminationProject", Name = "ddlExaminationProject", OnSelect = "examinationProjectLoaded", OnLoadSuccess = "examinationProjectLoaded" }, new Dictionary { { "data-condition", "dgResitList" } })
  • 科目:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlExaminationSubject", Name = "ddlExaminationSubject", OnSelect = "reload", OnLoadSuccess = "examinationSubjectLoaded" }, new Dictionary { { "data-condition", "dgResitList" } })
  • 校区:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_SchoolArea, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlSchoolArea", Name = "ddlSchoolArea", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgResitList" } })
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlCollege", Name = "ddlCollege", OnSelect = "collegeSelect", OnLoadSuccess = "collegeChange" }, new Dictionary { { "data-condition", "dgResitList" } })
  • 专业:
  • @Html.ComboGrid(new ComboGridOptions { GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="StandardName", HeaderText="专业", Align=AlignStyle.Center } }, OnLoadSuccessFun = "standardChange", IsAutoLoad = false, DataSourceUrl = Url.Content("~/Grademajor/StandardList"), IsPagination = true }, TextField = "StandardName", ValueField = "StandardID", Name = "cgbStandard", ID = "cgbStandard", OnSelect = "standardSelect" }, new Dictionary { { "data-condition", "dgResitList" } })
  • 班级:
  • @Html.ComboGrid(new ComboGridOptions { TextField = "Name", ValueField = "ClassmajorID", Name = "cgbClassmajor", ID = "cgbClassmajor", OnSelect = "reload", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center } }, DataSourceUrl = Url.Content("~/Classmajor/List"), IsPagination = true } }, new Dictionary { { "data-condition", "dgResitList" } })
补考名单
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ResitID"}, new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationBatchName", HeaderText="考试批次", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationProjectName", HeaderText="考试项目", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationSubjectName", HeaderText="科目", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="SchoolAreaName", HeaderText="校区", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CollegeName", HeaderText=EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Year", HeaderText="年级", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="StandardName", HeaderText="专业", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ClassmajorName", 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, Width=150 }, new BoundFieldColumn { FieldName="Score", HeaderText="成绩", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }, new BoundFieldColumn { FieldName="Expire", HeaderText="有效期", Align=AlignStyle.Center, Formatter=Formatter.OnlyYearMonthDay } }, IsAutoLoad = false, DataSourceUrl = Url.Content("~/Resit/List"), ID = "dgResitList", IsPagination = true })