Detail.cshtml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. @using (Ajax.BeginForm(new AjaxOptions
  14. {
  15. OnSuccess = "EMISFunction.FormSuccess",
  16. OnBegin = "EMISFunction.FormSubmit",
  17. OnComplete = "EMISFunction.FormComplete"
  18. }))
  19. {
  20. @Html.Position()
  21. @Html.Hidden("SOCDetailID", SOCDetailID);
  22. <div class="p_title">
  23. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Detail")</div>
  24. </div>
  25. <div class="search_list">
  26. @Html.DataGrid(new DataGridOptions
  27. {
  28. Columns = new List<DataGridColumn>()
  29. {
  30. new CheckBoxFieldColumn{ HeaderText="", FieldName="SOCDetailGroupID" },
  31. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.1 },
  32. new BoundFieldColumn { FieldName="Name", HeaderText="成果名称", Align=AlignStyle.Center, Width=0.08 },
  33. new BoundFieldColumn { FieldName="No", HeaderText="组别", Align=AlignStyle.Center, Width=0.02 },
  34. new BoundFieldColumn { FieldName="StudentCount", HeaderText="人数", Align=AlignStyle.Center, Width=0.02 },
  35. new BoundFieldColumn { FieldName="StudentName", HeaderText="学生", Align=AlignStyle.Center, Width=0.2 },
  36. },
  37. IsCheckOnSelect = true,
  38. DataSourceUrl = Url.Content("~/SOCDetailGroup/Group?SOCDetailID=" + SOCDetailID),
  39. ID = "dgSOCDetailGroupList",
  40. IsPagination = true,
  41. IsShowRowNumbers = true,
  42. IsSingleSelect = false,
  43. IsAutoHeight = true,
  44. })
  45. </div>
  46. }
  47. </div>