12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
-
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
-
- }
- @section scripts{
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- $(function () {
- mnu = $.SystemGeneral.getUrlParam("MNU");
- });
- function reload() {
- $("#dgStudentSelectCourseList").cmsXDataTable("load", $.getDataGridParams("dgStudentSelectCourseList"));
- }
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <div class="p_SearchTitle">
- <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
- 查询条件
- </div>
- </div>
-
- <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("List")</div>
- </div>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="SchoolYearCode", HeaderText="学年学期", Align=AlignStyle.Center, OverflowLength=18, Width=0.14 },
- new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, OverflowLength=18, Width=0.14 },
- new BoundFieldColumn { FieldName="Credit", HeaderText="学分", Align=AlignStyle.Center, Width=0.03 },
- new BoundFieldColumn { FieldName="DefaultClassName", HeaderText="课程班级", Align=AlignStyle.Center, OverflowLength=20, Width=0.16 },
- new BoundFieldColumn { FieldName="SelectCourseTypeName", HeaderText="课程类型", Align=AlignStyle.Center, OverflowLength=12, Width=0.1 },
- //new BoundFieldColumn { FieldName="PeopleNumlimit", HeaderText="人数上限", Align=AlignStyle.Center, Width=0.06 },
- //new BoundFieldColumn { FieldName="StudentCount", HeaderText="已选人数", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="TeacherNames", HeaderText="任课教师", Align=AlignStyle.Center, Width=0.12 },
- new BoundFieldColumn { FieldName="IsNeedMaterialName", HeaderText="是否需要教材", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="", HeaderText="教材名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="WeeklyNum", HeaderText="周次", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CoursesTimeName", HeaderText="上课时间", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ClassroomName", HeaderText="上课教室", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CampusName", HeaderText="校区", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="", HeaderText="报修时间", Align=AlignStyle.Center },
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/StudentSelectCourse/CanceledList"),
- ID = "dgStudentSelectCourseList",
- IsPagination = false,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|