12345678910111213141516171819202122232425262728293031323334353637383940 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- Guid? ID = ViewBag.GrademinorID;
- Guid? schoolyearID = ViewBag.SchoolyearID;
- }
- @section scripts{
-
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 学生列表
- </div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Student")</div>
- </div>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID" },
- new BoundFieldColumn { FieldName="CollegeName", HeaderText="院系所", Align=AlignStyle.Center, Width=0.1 },
- new BoundFieldColumn { FieldName="GradeMajorName", HeaderText="年级专业", Align=AlignStyle.Center, Width=0.12 },
- new BoundFieldColumn { FieldName="ClassMajorName", HeaderText="班级", Align=AlignStyle.Center, Width=0.12 },
- new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.06 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/MinorSpecialty/GetStudentList?grademinorID=" + ID + "&schoolyearID=" + schoolyearID),
- ID = "dgStudentList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|