ClassroomPrintingReport.cshtml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "ClassroomPrintingReport";
  5. }
  6. @section scripts{
  7. <script src="~/Scripts/Business/SchedulingManage/ScheduleReport/ClassroomPrintingReport.js"
  8. type="text/javascript"></script>
  9. <script type="text/javascript">
  10. var nonSelect = "@DropdownList.SELECT_ALL";
  11. </script>
  12. }<div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  13. @Html.Position()
  14. <div class="p_SearchTitle">
  15. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  16. 查询条件</div>
  17. </div>
  18. <form id="formQuery" method="post">
  19. <div class="search_keyword">
  20. <div class="search_input">
  21. <ul>
  22. <li class="sn" style="padding-left: 5px;">学年学期:</li>
  23. <li class="sv">
  24. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), SelectedValue = @ViewBag.SchoolYearID, ID = "SchoolYearDropdown", Name = "SchoolYearDropdown" })
  25. </li>
  26. <li class="sn" style="padding-left: 5px;">所在建筑物:</li>
  27. <li class="sv">
  28. @Html.ComboGrid(new ComboGridOptions
  29. {
  30. TextField = "Name",
  31. ValueField = "BuildingsInfoID",
  32. ID = "BuildingsDropdown",
  33. Name = "BuildingsDropdown",
  34. GridOptions = new DataGridOptions
  35. {
  36. Columns = new List<DataGridColumn>()
  37. {
  38. new LinkButtonColumn { FieldName="Code", HeaderText="建筑物代码", Width=0.1, Align=AlignStyle.Center },
  39. new BoundFieldColumn { FieldName="Name", HeaderText="建筑物名称", Width=0.3, Align=AlignStyle.Center }
  40. },
  41. IsCheckOnSelect = true,
  42. DataSourceUrl = Url.Content("~/Buildings/List"),
  43. IsPagination = true,
  44. IsShowRowNumbers = true,
  45. IsSingleSelect = false,
  46. OnLoadSuccessFun = "QueryBuildingsDropdownList"
  47. }
  48. })
  49. </li>
  50. <li class="sv">
  51. <a class="easyui-linkbutton l-btn" onclick="Report_Search()" href="#;"
  52. data-options="iconCls:'icon-search'">查询</a>
  53. </li>
  54. </ul>
  55. </div>
  56. </div>
  57. </form>
  58. <div class="search_list">
  59. <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 85%; position: absolute; left: 5px;"></iframe>
  60. </div>
  61. </div>