Group.cshtml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Entities;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "Detail";
  6. Guid? SOCDetailID = ViewBag.SOCDetailID;
  7. var list = ViewBag.FileList;
  8. }
  9. @section scripts{
  10. <script src="~/Scripts/Business/DQPSystem/SOCDetailGroupGroup.js" type="text/javascript"></script>
  11. }
  12. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  13. @Html.Position()
  14. <form id="formQuery" method="post" action="@Url.Content("~/SOCDetailGroup/GroupExcel")">
  15. @Html.Hidden("SOCDetailID", SOCDetailID)
  16. </form>
  17. <div class="p_title">
  18. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Group")</div>
  19. </div>
  20. <div class="search_list">
  21. @Html.DataGrid(new DataGridOptions
  22. {
  23. Columns = new List<DataGridColumn>()
  24. {
  25. new CheckBoxFieldColumn{ HeaderText="", FieldName="SOCDetailGroupID" },
  26. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.1 },
  27. new BoundFieldColumn { FieldName="Name", HeaderText="成果名称", Align=AlignStyle.Center, Width=0.08 },
  28. new BoundFieldColumn { FieldName="No", HeaderText="组别", Align=AlignStyle.Center, Width=0.02 },
  29. new BoundFieldColumn { FieldName="StudentName", HeaderText="学生", Align=AlignStyle.Center, Width=0.2 },
  30. },
  31. IsCheckOnSelect = true,
  32. DataSourceUrl = Url.Content("~/SOCDetailGroup/Group?SOCDetailID=" + SOCDetailID),
  33. ID = "dgSOCDetailGroupList",
  34. IsPagination = true,
  35. IsShowRowNumbers = true,
  36. IsSingleSelect = false,
  37. IsAutoHeight = true,
  38. })
  39. </div>
  40. </div>