TeacherExaminationTimes.cshtml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "TeacherExaminationTimes";
  5. }
  6. @section scripts{
  7. <script src="~/Scripts/Business/ExaminationManage/TeacherExaminationTimes.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="sv">@Html.Button(new ButtonOptions { OnClick = "reload()", Icon = ButtonIcon.Search, Text = "查询" })</li>
  53. </ul>
  54. </div>
  55. </div>
  56. </form>
  57. <div class="search_list">
  58. <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 85%; position: absolute; left: 5px;"></iframe>
  59. </div>
  60. </div>