@model EMIS.ViewModel.MinorManage.MinorApply.StudentMinorView
@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
@Html.ContextMenuBar("List")
@Html.HiddenFor(x => x.StudentMinorRegistID, new { id = "StudentMinorRegistID" })
@Html.HiddenFor(x => x.UserID)
@Html.HiddenFor(x => x.StudentMinorRegistID)
@Html.LabelFor(x => x.UserName):
|
@Html.DisplayFor(x => x.UserName)
|
@Html.LabelFor(x => x.Grade):
|
@Html.DisplayFor(x => x.Grade)
|
@Html.LabelFor(x => x.GrademinorName):
|
@Html.DisplayFor(x => x.GrademinorName)
|
@Html.LabelFor(x => x.CollegeName):
|
@Html.DisplayFor(x => x.CollegeName)
|
@Html.LabelFor(x => x.RecordStatusStr):
|
@Html.DisplayFor(x => x.RecordStatusStr)
|
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
//new CheckBoxFieldColumn{ HeaderText="", FieldName="MinorPlanID" },
new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.05 },
new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.15 },
new BoundFieldColumn { FieldName="CourseTypeName", HeaderText="课程类型", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="Totalhours", HeaderText="总学时", Align=AlignStyle.Center, Width=0.03},
new BoundFieldColumn { FieldName="TheoryCourse", HeaderText="理论学时", Align=AlignStyle.Center, Width=0.04},
new BoundFieldColumn { FieldName="Practicehours", HeaderText="实践学时", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="Trialhours", HeaderText="实验学时", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="Credit", HeaderText="学分", Align=AlignStyle.Center, Width=0.03 },
new BoundFieldColumn { FieldName="SchoolyearNumName", HeaderText="开课学年", Align=AlignStyle.Center, Width=0.05 },
new BoundFieldColumn { FieldName="SchoolcodeName", HeaderText="开课学期", Align=AlignStyle.Center, Width=0.05 },
new BoundFieldColumn { FieldName="DepartmentName", HeaderText="开课教研室", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="CollegeName", HeaderText="开课"+@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center, Width=0.08 },
},
//IsShow = ((!Model.GrademajorStartTime.HasValue && !Model.GrademajorEndTime.HasValue) || (Model.GrademajorStartTime <= DateTime.Now && Model.GrademajorEndTime >= DateTime.Now)),
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/StudentMinorRegist/List"),
ID = "dgStudentMinorList",
IsPagination = false,
IsShowRowNumbers = true,
IsSingleSelect = false
})