@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "ClassStatisticList"; ComboGridOptions cgopExaminationBatch = new ComboGridOptions { TextField = "Name", ValueField = "ExaminationBatchID", ID = "cgExaminationBatch", Name = "cgExaminationBatch", OnSelect = "queryBatch", //IsEnabled = false, GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="考试批次", Align=AlignStyle.Center, Width = 0.3 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ExaminationApplayStudentList/GetExaminationBatchViewGrid"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, //OnLoadSuccessFun = "queryBatch", } }; ComboGridOptions cgopExaminationType = new ComboGridOptions { TextField = "Name", ValueField = "ExaminationTypeID", Name = "cgExaminationType", ID = "cgExaminationType", OnSelect = "queryType", //IsEnabled = false, GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="考试类型", Align=AlignStyle.Center, Width = 0.3 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ExaminationApplayStudentList/GetExaminationTypeViewGrid"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, //OnLoadSuccessFun = "queryType", } }; ComboGridOptions cgopExaminationProject = new ComboGridOptions { TextField = "Name", ValueField = "ExaminationProjectID", Name = "cgExaminationProject", ID = "cgExaminationProject", //OnSelect = "reload", //IsEnabled = false, GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="项目名称", Align=AlignStyle.Center, Width = 0.3 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ExaminationApplayStudentList/GetProjectListViewGrid"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, //OnLoadSuccessFun = "queryProject", } }; } @section scripts{ }
@Html.Position()
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), ID = "ddlSchoolyear", Name = "ddlSchoolyear", OnSelect = "querySchoolYear", SelectedValue = BaseExtensions.GetCurrentSchoolYearID() }, new Dictionary { { "data-condition", "dgStudentFeeClassStatisticList" } })
  • 考试批次:
  • @Html.ComboGrid(cgopExaminationBatch, new Dictionary { { "data-condition", "dgStudentFeeClassStatisticList" } })
  • 考试类型:
  • @Html.ComboGrid(cgopExaminationType, new Dictionary { { "data-condition", "dgStudentFeeClassStatisticList" } })
  • 项目名称:
  • @Html.ComboGrid(cgopExaminationProject, new Dictionary { { "data-condition", "dgStudentFeeClassStatisticList" } })
@*
  • 学年学期:
  • @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", "dgStudentFeeClassStatisticList" } })
  • 考试批次:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlExaminationBatch", Name = "ddlExaminationBatch", OnSelect = "examinationBatchChange", OnLoadSuccess = "examinationBatchChange" }, new Dictionary { { "data-condition", "dgStudentFeeClassStatisticList" } })
  • 考试类型:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlExaminationType", Name = "ddlExaminationType", OnSelect = "examinationTypeChange", OnLoadSuccess = "examinationTypeChange" }, new Dictionary { { "data-condition", "dgStudentFeeClassStatisticList" } })
  • 项目名称:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlExaminationProject", Name = "ddlExaminationProject", OnSelect = "reload", OnLoadSuccess = "examinationProjectLoaded" }, new Dictionary { { "data-condition", "dgStudentFeeClassStatisticList" } })
*@
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlCollege", Name = "ddlCollege", OnSelect = "collegeSelect", OnLoadSuccess = "collegeChange" }, new Dictionary { { "data-condition", "dgStudentFeeClassStatisticList" } })
  • 年级:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlYear", Name = "ddlYear", OnSelect = "collegeSelect" }, new Dictionary { { "data-condition", "dgStudentFeeClassStatisticList" } })
  • 专业:
  • @Html.ComboGrid(new ComboGridOptions { GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="StandardName", HeaderText="专业", Align=AlignStyle.Center } }, //OnLoadSuccessFun = "standardChange", IsAutoLoad = true, DataSourceUrl = Url.Content("~/Grademajor/StandardList"), IsPagination = true }, TextField = "StandardName", ValueField = "StandardID", Name = "cgbStandard", ID = "cgbStandard", OnSelect = "standardSelect" }, new Dictionary { { "data-condition", "dgStudentFeeClassStatisticList" } })
  • 班级:
  • @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 } }, IsAutoLoad = true, DataSourceUrl = Url.Content("~/Classmajor/List"), IsPagination = true } }, new Dictionary { { "data-condition", "dgStudentFeeClassStatisticList" } })
  • 查询
查看项目报名汇总
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Year", HeaderText="年级", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CollegeName", HeaderText="院/系/部", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationProjectName", HeaderText="考试项目", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="FeeTypeName", HeaderText="报名项目(费用)", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="TotalRegistCount", HeaderText="报名人数", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="TotalRegistAmount", HeaderText="总金额", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }, new BoundFieldColumn { FieldName="TotalPaidCount", HeaderText="已交费人数", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="TotalPaidAmount", HeaderText="已交费金额", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }, new BoundFieldColumn { FieldName="TotalRefundCount", HeaderText="已退费人数", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="TotalRefundAmount", HeaderText="已退费金额", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }, new BoundFieldColumn { FieldName="TotalRefundApplyCount", HeaderText="退费申请人数", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="TotalRefundApplyAmount", HeaderText="退费申请金额", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }, new BoundFieldColumn { FieldName="TotalRefundingCount", HeaderText="待退费人数", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="TotalRefundingAmount", HeaderText="待退费金额", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }, }, IsAutoLoad = false, DataSourceUrl = Url.Content("~/StudentFee/ClassStatisticList"), OnLoadSuccessFun = "gridLoaded", ID = "dgStudentFeeClassStatisticList", IsPagination = false })