StudentReport.cshtml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "StudentReport";
  5. //var CurseGrade = (IList<EMIS.ViewModel.Students.CourseGradeView>)ViewBag.CurseGrade;
  6. ComboGridOptions cgop = new ComboGridOptions
  7. {
  8. TextField = "LoginID",
  9. ValueField = "UserID",
  10. Name = "StudentsComboGrid",
  11. ID = "StudentNo",
  12. GridOptions = new DataGridOptions
  13. {
  14. Columns = new List<DataGridColumn>()
  15. {
  16. new LinkButtonColumn { FieldName="LoginID", HeaderText="学号", Width=0.1, Align=AlignStyle.Center },
  17. new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Width=0.3, Align=AlignStyle.Center }
  18. },
  19. IsCheckOnSelect = true,
  20. DataSourceUrl = Url.Content("~/Students/List"),
  21. IsPagination = true,
  22. IsShowRowNumbers = true,
  23. IsSingleSelect = false
  24. }
  25. };
  26. }
  27. @section scripts{
  28. <script src="~/Scripts/Business/SchedulingManage/ScheduleReport/StudentReport.js"
  29. type="text/javascript"></script>
  30. <script type="text/javascript">
  31. var nonSelect = "@DropdownList.SELECT_ALL";
  32. </script>
  33. }<div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  34. @Html.Position()
  35. <div class="p_SearchTitle">
  36. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  37. 查询条件</div>
  38. </div>
  39. <form id="formQuery" method="post">
  40. <div class="search_keyword">
  41. <div class="search_input">
  42. <ul>
  43. <li class="sn" style="padding-left: 5px;">学年学期:</li>
  44. <li class="sv">
  45. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), ID = "SchoolYearDropdown", Name = "SchoolYearDropdown" })
  46. </li>
  47. <li class="sn" style="padding-left: 5px;">学号:</li>
  48. <li class="sv">
  49. @Html.ComboGrid(cgop)
  50. </li>
  51. <li class="sv">@Html.Button(new ButtonOptions { OnClick = "Report_Search()", Icon = ButtonIcon.Search, Text = "查询" })</li>
  52. </ul>
  53. </div>
  54. </div>
  55. </form>
  56. <div class="search_list">
  57. <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 85%; position: absolute; left: 5px;"></iframe>
  58. </div>
  59. </div>