@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.Hidden("finallyScoreIDs")
@Html.HiddenFor(x => x.RetakePlanID)
}
@Html.PositionCondition("StudentSelect", null)
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="FinallyScoreID"},
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="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.08 },
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="ExamsCategoryDesc", HeaderText="考试性质", Align=AlignStyle.Center, Width=0.04 },
//new BoundFieldColumn { FieldName="ExamsStateDesc", 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="TotalScore", HeaderText="总成绩", Align=AlignStyle.Center, Width=0.03 },
//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 }
},
PageSize = 20,
IsAutoLoad = true,
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/RetakePlanTask/BaseStudentViewList?RetakePlanID=" + ViewBag.RetakePlanID),
ID = "dgStudentList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsAutoHeight = false,
})