12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- @model EMIS.ViewModel.MinorManage.MinorApply.StudentMinorView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
-
- }
- @section scripts{
- <script src="~/Scripts/Business/MinorManage/MinorApply/StudentMinor.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </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 style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
- <div class="normalContent">
- @Html.HiddenFor(x => x.StudentMinorRegistID, new { id = "StudentMinorRegistID" })
- <table cellpadding="0" cellspacing="0" width="98%">
- @Html.HiddenFor(x => x.UserID)
- @Html.HiddenFor(x => x.StudentMinorRegistID)
- <tr>
- <td width="8%">@Html.LabelFor(x => x.UserName):
- </td>
- <td style="background-color: white; width: 10%">@Html.DisplayFor(x => x.UserName)
- </td>
- <td width="8%">@Html.LabelFor(x => x.Grade):
- </td>
- <td style="background-color: white; width: 10%">@Html.DisplayFor(x => x.Grade)
- </td>
- <td width="8%">@Html.LabelFor(x => x.GrademinorName):
- </td>
- <td style="background-color: white; width: 16%">@Html.DisplayFor(x => x.GrademinorName)
- </td>
- <td width="8%">@Html.LabelFor(x => x.CollegeName):
- </td>
- <td style="background-color: white; width: 12%">@Html.DisplayFor(x => x.CollegeName)
- </td>
- <td width="8%">@Html.LabelFor(x => x.RecordStatusStr):
- </td>
- <td style="background-color: white; width: 10%">@Html.DisplayFor(x => x.RecordStatusStr)
- </td>
- </tr>
- </table>
- </div>
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 教学计划明细列表
- </div>
-
- </div>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- //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
- })
- </div>
- </div>
|