CollegeTeacherReport.cshtml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "CollegeTeacherReport";
  5. }
  6. @section scripts{
  7. <script src="~/Scripts/Business/PaymentManage/CollegeTeacherReport.js" type="text/javascript"></script>
  8. <script type="text/javascript">
  9. var nonSelect = "@DropdownList.SELECT_ALL";
  10. </script>
  11. }<div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  12. @Html.Position()
  13. <div class="p_SearchTitle">
  14. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  15. 查询条件</div>
  16. </div>
  17. <form id="formQuery" method="post">
  18. <div class="search_keyword">
  19. <div class="search_input">
  20. <ul>
  21. <li class="sn" style="padding-left: 5px;">学年学期:</li>
  22. <li class="sv">
  23. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), ID = "ddlSchoolyear", Name = "ddlSchoolyear" })
  24. </li>
  25. <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
  26. <li class="sv">
  27. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/College/CollegeDropdownListBanids"), ID = "ddlCollege", Name = "ddlCollege", OnSelect = "queryTeacher" })
  28. </li>
  29. <li class="sn" style="padding-left: 5px;">教师:</li>
  30. <li class="sv">
  31. @Html.ComboGrid(new ComboGridOptions
  32. {
  33. TextField = "Name",
  34. ValueField = "UserID",
  35. ID = "cgbTeacher",
  36. Name = "cgbTeacher",
  37. GridOptions = new DataGridOptions
  38. {
  39. Columns = new List<DataGridColumn>()
  40. {
  41. new BoundFieldColumn { FieldName="Name", HeaderText="教师姓名", Width=0.1, Align=AlignStyle.Center }
  42. },
  43. IsCheckOnSelect = true,
  44. DataSourceUrl = Url.Content("~/Staff/List"),
  45. IsPagination = true,
  46. IsShowRowNumbers = true,
  47. IsSingleSelect = false,
  48. IsAutoLoad = true
  49. }
  50. })
  51. </li>
  52. <li class="sn" style="padding-left: 5px;">年级:</li>
  53. <li class="sv">
  54. @Html.SchoolYearDropDownList(new DropdownListOptions { Name = "ddlYear", BindType = DropdownListBindType.PleaseSelect, OnSelect = "queryStandard", ID = "ddlYear" })
  55. </li>
  56. </ul>
  57. <ul>
  58. <li class="sn" style="padding-left: 5px;">专业名称:</li>
  59. <li class="sv">
  60. @Html.ComboGrid(new ComboGridOptions
  61. {
  62. TextField = "StandardName",
  63. ValueField = "StandardID",
  64. OnSelect = "queryClass",
  65. Name = "cgbStandard",
  66. ID = "cgbStandard",
  67. GridOptions = new DataGridOptions
  68. {
  69. Columns = new List<DataGridColumn>()
  70. {
  71. new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center }
  72. },
  73. IsCheckOnSelect = true,
  74. DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"),
  75. IsPagination = true,
  76. IsShowRowNumbers = true,
  77. IsSingleSelect = false,
  78. IsShowHeader = false
  79. }
  80. })
  81. </li>
  82. <li class="sn" style="padding-left: 5px;">班级名称:</li>
  83. <li class="sv">
  84. @Html.ComboGrid(new ComboGridOptions
  85. {
  86. TextField = "Name",
  87. ValueField = "ClassmajorID",
  88. Name = "cgbClassmajor",
  89. ID = "cgbClassmajor",
  90. GridOptions = new DataGridOptions
  91. {
  92. Columns = new List<DataGridColumn>()
  93. {
  94. new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center }
  95. },
  96. IsCheckOnSelect = true,
  97. DataSourceUrl = Url.Content("~/Classmajor/List"),
  98. IsPagination = true,
  99. IsShowRowNumbers = true,
  100. IsSingleSelect = false
  101. }
  102. })
  103. </li>
  104. <li class="sn" style="padding-left: 5px;">课程名称:</li>
  105. <li class="sv">
  106. @Html.ComboGrid(new ComboGridOptions
  107. {
  108. TextField = "CourseName",
  109. ValueField = "CoursematerialID",
  110. Name = "cgbCourse",
  111. ID = "cgbCourse",
  112. GridOptions = new DataGridOptions
  113. {
  114. Columns = new List<DataGridColumn>()
  115. {
  116. new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.12 },
  117. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.2 }
  118. },
  119. IsCheckOnSelect = true,
  120. DataSourceUrl = Url.Content("~/Coursematerial/ListForDropdown"),
  121. IsPagination = true,
  122. IsShowRowNumbers = true,
  123. IsSingleSelect = false,
  124. }
  125. })
  126. </li>
  127. <li class="sv">@Html.Button(new ButtonOptions { OnClick = "reload()", Icon = ButtonIcon.Search, Text = "查询" })</li>
  128. </ul>
  129. </div>
  130. </div>
  131. </form>
  132. <div class="search_list">
  133. <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 85%; position: absolute; left: 5px;"></iframe>
  134. </div>
  135. </div>