12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- @model EMIS.ViewModel.DQPSystem.SOCDetailGroupView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- }
- @section scripts{
- <script src="~/Scripts/Business/DQPSystem/SOCDetailGroupStudentEdit.js" type="text/javascript"></script>
- <script type="text/javascript">
-
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions
- {
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete"
- }))
- {
- @Html.Hidden("hid_ExamsCategory")
- <div class="p_title">
- @*<div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 学生名单</div>*@
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.SOCDetailGroupID)
- <table cellpadding="0" cellspacing="0" id="FinalExaminationtable">
- <tr>
- <td colspan="3">
- <div style="line-height: 30px; font-size: 12px; text-align: left;">@Html.ContextMenuBar("Student")</div>
- </td>
- </tr>
- <tr>
- <td colspan="3">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn { FieldName="UserID", HeaderText="" },
- new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=0.1},
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.05 },
- new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center, Width=0.03 },
- //new BoundFieldColumn { FieldName="Startterm", HeaderText="开课学期", Align=AlignStyle.Center, CustomFormatFun = "CoursematerialNameColor",Width=0.05 },
- //new BoundFieldColumn { FieldName="CoursematerialCode", HeaderText="课程代码", Align=AlignStyle.Center, CustomFormatFun = "",Width=0.06 },
- //new BoundFieldColumn { FieldName="CoursematerialName", HeaderText="课程名称", Align=AlignStyle.Center, CustomFormatFun = "CoursematerialNameColor",Width=0.1 },
- new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级名称", Align=AlignStyle.Center, Width=0.15 },
- new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center, Width=0.05 },
- //new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="学籍状态", Align=AlignStyle.Center, CustomFormatFun = "StudentStatusNameColor",Width=0.05 },
- //new BoundFieldColumn { FieldName="IsDifferentDynamic", HeaderText="是否异动申请", Align=AlignStyle.Center, IsHidden = true }
- },
- PageSize = 50,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/SOCDetailGroup/SOCDetailGroupStudentList?SOCDetailGroupID=" + Model.SOCDetailGroupID),
- IsPostBack = true,
- ID = "dgStudentList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- MaxHeight = 300
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|