TeacherReport.cshtml 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "TeacherReport";
  5. }
  6. @section scripts{
  7. <script src="~/Scripts/Business/SchedulingManage/ScheduleReport/TeacherReport.js"
  8. type="text/javascript"></script>
  9. <script type="text/javascript">
  10. var nonSelect = "@DropdownList.SELECT_ALL";
  11. </script>
  12. }
  13. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  14. @Html.Position()
  15. <div class="p_SearchTitle">
  16. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  17. 查询条件
  18. </div>
  19. </div>
  20. <form id="formQuery" method="post">
  21. <div class="search_keyword">
  22. <div class="search_input">
  23. <ul>
  24. <li class="sn" style="padding-left: 5px;">学年学期:</li>
  25. <li class="sv">
  26. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), SelectedValue = @ViewBag.SchoolYearID, ID = "SchoolYearDropdown", Name = "SchoolYearDropdown", OnSelect = "reload" })
  27. </li>
  28. <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
  29. <li class="sv">
  30. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/College/CollegeDropdownListBanids"), SelectedValue = Request["collegeID"], ID = "CollegeDropdown", Name = "CollegeDropdown", OnSelect = "QueryCollegeDropdownList", OnLoadSuccess = "" })
  31. </li>
  32. <li class="sn" style="padding-left: 5px;">教研室:</li>
  33. <li class="sv">
  34. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ID = "DepartmentDropdown", Name = "DepartmentDropdown", OnSelect = "SelectDepartmentDropdownList", OnLoadSuccess = "" })
  35. </li>
  36. <li class="sn" style="padding-left: 5px;">教师:</li>
  37. <li class="sv">
  38. @*@Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ID = "StaffDropdown", Name = "StaffDropdown", OnSelect = "reload", OnLoadSuccess = "" })*@
  39. @Html.ComboGrid(new ComboGridOptions
  40. {
  41. TextField = "Name",
  42. ValueField = "UserID",
  43. OnSelect = "reload",
  44. ID = "StaffDropdown",
  45. Name = "StaffDropdown",
  46. GridOptions = new DataGridOptions
  47. {
  48. Columns = new List<DataGridColumn>()
  49. {
  50. //new BoundFieldColumn { FieldName="Code", HeaderText="教室代码", Width=0.1, Align=AlignStyle.Center },
  51. new BoundFieldColumn { FieldName="Name", HeaderText="教师名字", Width=0.1, Align=AlignStyle.Center }
  52. },
  53. IsCheckOnSelect = true,
  54. DataSourceUrl = Url.Content("~/Staff/List"),
  55. IsPagination = true,
  56. IsShowRowNumbers = true,
  57. IsSingleSelect = false,
  58. IsAutoLoad = true
  59. }
  60. })
  61. </li>
  62. <li class="sv">@Html.Button(new ButtonOptions { OnClick = "Report_Search()", Icon = ButtonIcon.Search, Text = "查询" })</li>
  63. </ul>
  64. </div>
  65. </div>
  66. </form>
  67. <div class="search_list">
  68. <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 85%; position: absolute; left: 5px;"></iframe>
  69. </div>
  70. </div>