@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "异动统计"; var gridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center }, //new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center , }, //new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center , }, //new BoundFieldColumn { FieldName="DifferentDynamicTypeName", HeaderText="异动类型", Align=AlignStyle.Center, }, //new BoundFieldColumn { FieldName="Reason", HeaderText="异动原因", Align=AlignStyle.Center, }, //new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center, }, //new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="学籍状态", Align=AlignStyle.Center, }, //new BoundFieldColumn { FieldName="StandardName", HeaderText="异动前专业", Align=AlignStyle.Center, }, //new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="异动前班级", Align=AlignStyle.Center, }, //new BoundFieldColumn { FieldName="AfterStandardName", HeaderText="异动后专业", Align=AlignStyle.Center, }, //new BoundFieldColumn { FieldName="AfterClassmajorName", HeaderText="异动后班级", Align=AlignStyle.Center, }, //new BoundFieldColumn { FieldName="AfterInSchoolStatusName", HeaderText="异动后在校状态", Align=AlignStyle.Center, }, //new BoundFieldColumn { FieldName="AfterStudentStatusName", HeaderText="异动后学籍状态", Align=AlignStyle.Center, }, //new BoundFieldColumn { FieldName="ReturnSchoolyearCode", HeaderText="返校学期", Align=AlignStyle.Center, }, //new BoundFieldColumn { FieldName="ApprovalStatusName", HeaderText="审批状态", Align=AlignStyle.Center, }, //new BoundFieldColumn { FieldName="ReportStatusName", HeaderText="注册状态", Align=AlignStyle.Center, }, }, IsCheckOnSelect = true, DataSourceUrl = Url.Action("List"), ID = "dgList", IsPagination = false, IsShowRowNumbers = true, IsSingleSelect = false }; var differentDynamicTypes = (IEnumerable)ViewBag.DifferentDynamicTypes; foreach (var item in differentDynamicTypes) { gridOptions.Columns.Add(new BoundFieldColumn { FieldName = "Item" + item.Value, HeaderText = item.Name, Align = AlignStyle.Center, }); } } @section scripts{ }
@Html.Position()
查询条件
  • @EMIS.Utility.RSL.Get("Campus"):
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/Campus/CampusDropdownListBanid"), ID = "CampusDropdown", Name = "CampusDropdown", OnSelect = "QueryCampusDropdownList" }, new Dictionary { { "data-condition", "dgList" } })
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/College/CollegeDropdownListOnlyCollege"), ID = "CollegeDropdown", Name = "CollegeDropdown", OnSelect = "QueryCollegeDropdownList" }, new Dictionary { { "data-condition", "dgList" } })
  • 异动学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), ID = "SchoolYearDropdown", Name = "SchoolYearDropdown", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgList" } })
异动统计列表
@Html.ContextMenuBar("List")
@Html.DataGrid(gridOptions)