@model EMIS.ViewModel.StudentManage.StudentRegister.StudentReportView @using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "PaymentRefresh"; //校区 ComboGridOptions cgopCampus = new ComboGridOptions { TextField = "Name", ValueField = "CampusID", ID = "CampusDropdown", Name = "CampusDropdown", OnSelect = "queryCampus", GridOptions = new DataGridOptions { Columns = new List() { //new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CampusCode"), Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CampusName"), Align=AlignStyle.Center, Width=0.12 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Campus/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; //院系所 ComboGridOptions cgopCollege = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", ID = "CollegeDropdown", Name = "CollegeDropdown", OnSelect = "queryCollege", GridOptions = new DataGridOptions { Columns = new List() { //new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center, Width=0.2 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/ListOnlyCollege"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; //年级 ComboGridOptions cgopSchoolyear = new ComboGridOptions { TextField = "SchoolyearID", ValueField = "SchoolyearID", ID = "DictionaryGrade", Name = "DictionaryGrade", OnSelect = "queryGrade", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="SchoolyearID", HeaderText="年级", Align=AlignStyle.Center, Width=0.1 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/GradeBindComboGridOptions"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; //专业名称 ComboGridOptions cgopStandard = new ComboGridOptions { TextField = "StandardName", ValueField = "StandardID", ID = "DictionaryStandard", Name = "DictionaryStandard", OnSelect = "queryStandard", 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 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; //学制 ComboGridOptions cgopLearnSystem = new ComboGridOptions { TextField = "LearnSystem", ValueField = "LearnSystem", ID = "DictionaryLearnSystem", Name = "DictionaryLearnSystem", OnSelect = "queryLearnSystem", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Facultymajor/LearnSystem"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsShowHeader = false } }; //年级专业 ComboGridOptions cgopGrademajor = new ComboGridOptions { TextField = "Name", ValueField = "GrademajorID", Name = "GrademajorComboGrid", ID = "GrademajorComboGrid", OnSelect = "queryGrademajor", GridOptions = new DataGridOptions { Columns = new List() { new LinkButtonColumn { FieldName="Code", HeaderText="年级专业代码", Align=AlignStyle.Center, Width=0.2 }, new BoundFieldColumn { FieldName="Name", HeaderText="年级专业名称", Align=AlignStyle.Center, Width=0.3 } }, PageSize = 5, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; //班级信息 ComboGridOptions cgopClassmajor = new ComboGridOptions { TextField = "Name", ValueField = "ClassmajorID", Name = "ClassmajorComboGrid", ID = "ClassmajorComboGrid", GridOptions = new DataGridOptions { Columns = new List() { new LinkButtonColumn { FieldName="No", HeaderText="班级编号", Width=0.25, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Width=0.5, Align=AlignStyle.Center } }, PageSize = 5, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Classmajor/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { //生成成功后不关闭弹出页面 OnSuccess = "EMISFunction.FormSuccessNoClose", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@Html.ContextMenuBar("PaymentReport")
  • @EMIS.Utility.RSL.Get("Campus"):
  • @Html.ComboGrid(cgopCampus)
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.ComboGrid(cgopCollege)
  • 年级:
  • @Html.ComboGrid(cgopSchoolyear)
  • 专业名称:
  • @Html.ComboGrid(cgopStandard)
  • @Html.RSLabel("EducationID"):
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Education, DropdownListBindType.SelectAll, new ComboGridOptions() { ID = "DictionaryEducation", Name = "DictionaryEducation", OnSelect = "queryEducation" })
  • 学习形式:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Learningform, DropdownListBindType.SelectAll, new ComboGridOptions() { ID = "DictionaryLearningform", Name = "DictionaryLearningform", OnSelect = "queryLearningform" })
  • 学制:
  • @Html.ComboGrid(cgopLearnSystem)
  • 年级专业:
  • @Html.ComboGrid(cgopGrademajor)
  • 班级信息:
  • @Html.ComboGrid(cgopClassmajor)
  • 在校状态:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_INOrOutSchoolStatus, DropdownListBindType.SelectAll, new ComboGridOptions() { ID = "DictionaryInschoolStatus", Name = "DictionaryInschoolStatus" //SelectedValue = (int)EMIS.ViewModel.CF_INOrOutSchoolStatus.Yes })
  • 学年学期:
  • @Html.DropdownListFor((x => x.SchoolyearID), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, TextField = "Text", ValueField = "Value", SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), ItemSourceUrl = Url.Content("~/SchoolYear/DropDownBeforeCurrent") })
}