@model EMIS.ViewModel.RetakeManage.RetakePlanTaskView @using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "StudentSelect"; } @section scripts{ }
@*
重修报名名单列表
*@
@using (Ajax.BeginForm(new AjaxOptions { //报名成功不关闭窗口(并且刷新列表信息) OnSuccess = "formSuccessReloadNoClose", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) { @Html.HiddenFor(x => x.RetakePlanID) @Html.HiddenFor(x => x.UserIDs) } @Html.PositionCondition("StudentSelect", null)
  • 年级:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { ID = "ddlYear", Name = "ddlYear", BindType = DropdownListBindType.SelectAll, OnSelect = "queryStandard" }, new Dictionary { { "data-condition", "dgStudentList" } })
  • 专业名称:
  • @Html.ComboGrid(new ComboGridOptions { ID = "cbgStandard", Name = "cbgStandard", TextField = "StandardName", ValueField = "StandardID", OnSelect = "queryClassmajor", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="StandardCode", HeaderText="专业代码", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center, Width=0.2 } }, //IsAutoLoad = false, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }, new Dictionary { { "data-condition", "dgStudentList" } })
  • 班级名称:
  • @Html.ComboGrid(new ComboGridOptions { TextField = "Name", ValueField = "ClassmajorID", Name = "cbgClassmajor", ID = "cbgClassmajor", OnSelect = "reload", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center, Width=0.25 } }, //IsAutoLoad = false, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Classmajor/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }, new Dictionary { { "data-condition", "dgStudentList" } })
  • 在校状态:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_INOrOutSchoolStatus, new DropdownListOptions { ID = "DictionaryInschoolStatus", Name = "DictionaryInschoolStatus", BindType = DropdownListBindType.SelectAll, SelectedValue = (int)EMIS.ViewModel.CF_INOrOutSchoolStatus.Yes, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgStudentList" } })
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"}, new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.04 }, //new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级名称", Align=AlignStyle.Center, Width=0.1 }, //new BoundFieldColumn { FieldName="GrademajorName", HeaderText="年级专业名称", Align=AlignStyle.Center, Width=0.12 }, new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="CourseTypeDesc", HeaderText="课程类型", Align=AlignStyle.Center, Width=0.05 }, new BoundFieldColumn { FieldName="CourseCredit", HeaderText="课程学分", Align=AlignStyle.Center, Width=0.04 }, //new BoundFieldColumn { FieldName="SchoolyearNumDesc", HeaderText="开课学年", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="StarttermDesc", HeaderText="开课学期", Align=AlignStyle.Center, Width=0.04 }, //new BoundFieldColumn { FieldName="DepartmentName", HeaderText="开课教研室", Align=AlignStyle.Center, Width=0.08 }, //new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="RecordStatusName", HeaderText="状态", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="ApplyStatusName", HeaderText="报名状态", Align=AlignStyle.Center, Width=0.04 } }, PageSize = 20, IsAutoLoad = true, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/RetakePlanResultTask/BaseStudentViewList?RetakePlanID=" + ViewBag.RetakePlanID), ID = "dgStudentList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsAutoHeight = false, })