123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "StudentRetakeCourseList";
- //课程信息
- ComboGridOptions cgopCourse = new ComboGridOptions
- {
- TextField = "CourseName",
- ValueField = "CoursematerialID",
- ID = "CoursematerialComboGrid",
- Name = "CoursematerialComboGrid",
- OnSelect = "reload",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.1 },
- new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.2 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Coursematerial/ListForDropdown"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
-
- }
- @section scripts{
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </script>
- }
- <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("CourseList")</div>
- </div>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="MinorCourseID" },
- new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.14 },
- new BoundFieldColumn { FieldName="StarttermID", HeaderText="开课学期", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="Credit", HeaderText="学分", Align=AlignStyle.Center, Width=0.05 },
- new BoundFieldColumn { FieldName="TheoryCourse", HeaderText="理论学时", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="Practicehours", HeaderText="实践学时", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="TheoryWeeklyNum", HeaderText="理论周次", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="PracticeWeeklyNum", HeaderText="实践周次", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="TrialWeeklyNum", HeaderText="实验周次", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="StartWeeklyNum", HeaderText="开始周次", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="EndWeeklyNum", HeaderText="结束周次", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="WeeklyHours", HeaderText="周学时", Align=AlignStyle.Center, Width=0.05 },
- new BoundFieldColumn { FieldName="WeeklyNum", HeaderText="每周次数", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="ResultTypeName", HeaderText="成绩类型", Align=AlignStyle.Center, Width=0.08, IsHidden=true },
- //new BoundFieldColumn { FieldName="HandleModeName", HeaderText="处理方式", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="IsNeedMaterialName", HeaderText="是否需要教材", Align=AlignStyle.Center, Width=0.1 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/StudentMinorRegistApply/GetCourseListByGrademinorID?grademinorID=" + Request["grademinorID"]),
- ID = "dgStudentRetakeCourseList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|