@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; ComboGridOptions optCollege = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", OnSelect = "queryStandard", Name = "cgbCollege", ID = "cgbCollege", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center, Width=0.2 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; ComboGridOptions optStandard = new ComboGridOptions { TextField = "StandardName", ValueField = "StandardID", OnSelect = "queryClass", Name = "cbgStandard", ID = "cbgStandard", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center } }, OnLoadSuccessFun = "queryClass", IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; ComboGridOptions optClassmajor = 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 } }, IsAutoLoad = false, OnLoadSuccessFun = "reload", IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Classmajor/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; ComboGridOptions optCourse = new ComboGridOptions { TextField = "CourseName", ValueField = "CoursematerialID", OnSelect = "reload", Name = "cgbCourse", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.12 }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.2 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Coursematerial/ListForDropdown"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; } @section scripts{ } @Html.Position()
查询条件
@Html.PositionCondition()
@Html.Hidden("SelectedID")
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), Name = "ddlSchoolyear", ID = "ddlSchoolyear", SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), OnSelect = "reload" }, new Dictionary { { "data-condition", "dgStudentScoreConvertByApplyList" } })
  • @(EMIS.Utility.RSL.Get("College")):
  • @Html.ComboGrid(optCollege, new Dictionary { { "data-condition", "dgStudentScoreConvertByApplyList" } })
  • 年级:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "ddlYear", ID = "ddlYear", OnSelect = "queryStandard" }, new Dictionary { { "data-condition", "dgStudentScoreConvertByApplyList" } })
  • 专业:
  • @Html.ComboGrid(optStandard, new Dictionary { { "data-condition", "dgStudentScoreConvertByApplyList" } })
  • 班级:
  • @Html.ComboGrid(optClassmajor, new Dictionary { { "data-condition", "dgStudentScoreConvertByApplyList" } })
  • 课程名称:
  • @Html.ComboGrid(optCourse, new Dictionary { { "data-condition", "dgStudentScoreConvertByApplyList" } })
  • 状态:
  • @Html.DropdownList(new DropdownListOptions { Name = "ddlRecordStatus", ItemSourceUrl = Url.Content("~/Common/ApproveStatusDropDown?tableName=" + typeof(EMIS.Entities.ER_ScoreConvertByApply).Name), BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgStudentScoreConvertByApplyList" } })
申报认定列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn { FieldName = "ScoreConvertByApplyID" }, new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="CollegeName", HeaderText=EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="StandardDesc", HeaderText="专业", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.12 }, //new BoundFieldColumn { FieldName="SchoolyearNumName", HeaderText="开课学年", Align=AlignStyle.Center, Width=40 }, //new BoundFieldColumn { FieldName="SchoolcodeName", HeaderText="开课学期", Align=AlignStyle.Center, Width=40 }, new BoundFieldColumn { FieldName="TotalScore", HeaderText="成绩", Align=AlignStyle.Center, Width=0.06 }, new LinkButtonColumn { FieldName="AttachmentName", HeaderText="证明文件", Align=AlignStyle.Center, Width=0.06, Handle = "attachment" }, new ApproveStatusColumn { FieldName="RecordStatusDesc", TableName=typeof(EMIS.Entities.ER_ScoreConvertByApply).Name, IDFieldName="ScoreConvertByApplyID", HeaderText="状态", Align=AlignStyle.Center,Width=0.04 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ScoreConvert/StudentByApplyList"), ID = "dgStudentScoreConvertByApplyList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })