@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
课程列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="EducationSchedulingAdjustmentID" },
new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=80 },
new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=80 },
new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=80 },
new BoundFieldColumn { FieldName="EducationMissionClassName", HeaderText="任务班名称", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="TeacherNames", HeaderText="原任课老师", Align=AlignStyle.Center, Width=80 },
new BoundFieldColumn { FieldName="TimeDetail", HeaderText="原上课时间", Align=AlignStyle.Center, Width=80 },
new BoundFieldColumn { FieldName="ClassroomName", HeaderText="原教室", Align=AlignStyle.Center, Width=80 },
new BoundFieldColumn { FieldName="ToTeacherNames", HeaderText="任课老师", Align=AlignStyle.Center, Width=80 },
new BoundFieldColumn { FieldName="ToTimeDetail", HeaderText="上课时间", Align=AlignStyle.Center, Width=80 },
new BoundFieldColumn { FieldName="ToClassroomName", HeaderText="教室", Align=AlignStyle.Center, Width=80 },
new BoundFieldColumn { FieldName="CreateUserName", HeaderText="申请人", Align=AlignStyle.Center, Width=80 },
new BoundFieldColumn { FieldName="ApplyTime", HeaderText="提交时间", Align=AlignStyle.Center, Width=80, Formatter = Formatter.OnlyYearMonthDay },
new ApproveStatusColumn { FieldName="RecordStatusName", TableName=typeof(EMIS.Entities.ES_EducationSchedulingAdjustment).Name, IDFieldName="EducationSchedulingAdjustmentID", HeaderText="状态", Align=AlignStyle.Center,Width=0.04 }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/EducationSchedule/AdjustmentList"),
ID = "dgEducationSchedulingAdjustmentList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})