StudentScoreList.cshtml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "StudentScoreList";
  5. }
  6. @section scripts{
  7. <script src="~/Scripts/Business/DQPSystem/StudentScoreList.js" type="text/javascript"></script>
  8. <script type="text/javascript">
  9. var scoreDigitCount = @ViewBag.ScoreDigitCount;
  10. </script>
  11. }
  12. <style type="text/css">
  13. .Coursematerialtable
  14. {
  15. width: 100%;
  16. }
  17. .Coursematerialtable tr
  18. {
  19. min-height: 30px;
  20. border: 1px solid #D6D6D6;
  21. }
  22. .Coursematerialtable td
  23. {
  24. border: 1px solid #D6D6D6;
  25. }
  26. </style>
  27. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  28. @Html.Position()
  29. <div class="p_SearchTitle">
  30. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  31. 查询条件
  32. </div>
  33. </div>
  34. <div class="search_list">
  35. <div id="StudentCoursematerialtable"></div>
  36. <div id="search_list" style="width: 100%;overflow-x: scroll;
  37. scrollbar-highlight-color: #ffffff; scrollbar-3dlight-color: #70807d; scrollbar-shadow-color: #ffffff;
  38. scrollbar-darkshadow-color: #70807d; scrollbar-track-color: #ffffff; scrollbar-face-color: #cccccc"; overflow:visible">
  39. </div>
  40. </div>
  41. <div id="display_search_list" style="display: none;">
  42. <div class="p_title">
  43. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  44. SOC成绩明细</div>
  45. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;"></div>
  46. </div>
  47. <div class="search_list">
  48. @Html.DataGrid(new DataGridOptions
  49. {
  50. Columns = new List<DataGridColumn>()
  51. {
  52. new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.06 },
  53. new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=0.08},
  54. new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center, Width=0.04 },
  55. new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.04 },
  56. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.1 },
  57. new BoundFieldColumn { FieldName="SOCDetailName", HeaderText="成果名称", Align=AlignStyle.Center, Width=0.05 },
  58. new BoundFieldColumn { FieldName="SOCDetailCredit", HeaderText="成果学分", Align=AlignStyle.Center, Width=0.04 },
  59. new BoundFieldColumn { FieldName="Weight", HeaderText="成果权重", Align=AlignStyle.Center, Width=0.04 },
  60. new BoundFieldColumn { FieldName="Score", HeaderText="成果得分", Align=AlignStyle.Center, Width=0.03, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" },
  61. new BoundFieldColumn { FieldName="CreateTime", HeaderText="录入时间", Align=AlignStyle.Center, Width=0.06, Formatter= Formatter.OnlyYearMonthDay },
  62. new BoundFieldColumn { FieldName="CreateUserName", HeaderText="录入人", Align=AlignStyle.Center, Width=0.03 }
  63. },
  64. IsCheckOnSelect = true,
  65. DataSourceUrl = Url.Content("~/SOCDetailScore/StudentDetailScoreList"),
  66. ID = "dgStudentDetailScoreList",
  67. IsPagination = true,
  68. IsShowRowNumbers = true,
  69. IsSingleSelect = false,
  70. IsAutoLoad = false
  71. })
  72. </div>
  73. </div>
  74. </div>