TotalList.cshtml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "PersonalList";
  5. ComboGridOptions ddCollege = new ComboGridOptions
  6. {
  7. TextField = "Name",
  8. ValueField = "CollegeID",
  9. Name = "DDCollegeDropdown",
  10. ID = "DDCollegeDropdown",
  11. GridOptions = new DataGridOptions
  12. {
  13. Columns = new List<DataGridColumn>()
  14. {
  15. new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center }
  16. },
  17. IsCheckOnSelect = true,
  18. DataSourceUrl = Url.Content("~/College/List"),
  19. IsPagination = true,
  20. IsShowRowNumbers = true,
  21. IsSingleSelect = false,
  22. }
  23. };
  24. }
  25. @section scripts{
  26. <script type="text/javascript" src="../../Scripts/Business/SupervisionManage/TotalList.js"></script>
  27. <script type="text/javascript">
  28. var nonSelect = "@DropdownList.SELECT_ALL";
  29. var month = "@ViewBag.Month";
  30. $(function () {
  31. $("#txtDate").val(month);
  32. })
  33. </script>
  34. }
  35. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  36. @Html.Position()
  37. <div class="p_SearchTitle">
  38. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  39. 查询条件</div>
  40. </div>
  41. <form id="formQuery" method="post">
  42. <div class="search_keyword">
  43. <div class="search_input">
  44. <ul>
  45. <li class="sn" style="padding-left: 5px;">学年学期:</li>
  46. <li class="sv">
  47. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), ID = "SchoolYearDropdown", Name = "SchoolYearDropdown" })
  48. </li>
  49. <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
  50. <li class="sv">
  51. @Html.ComboGrid(ddCollege)
  52. </li>
  53. <li class="sn" style="padding-left: 5px;">月份:</li>
  54. <li class="sv">
  55. @Html.TextBox(new TextBoxOptions { ID = "txtDate", Name = "txtDate" })
  56. </li>
  57. <li class="sn" style="padding-left: 5px;">至:</li>
  58. <li class="sv">
  59. @Html.TextBox(new TextBoxOptions { ID = "txtEndDate", Name = "txtEndDate" })
  60. </li>
  61. <li class="sv">@Html.Button(new ButtonOptions { OnClick = "Report_Search()", Icon = ButtonIcon.Search, Text = "查询" })</li>
  62. </ul>
  63. </div>
  64. </div>
  65. </form>
  66. <div class="search_list">
  67. <iframe id="reportContent" scrolling="no" frameborder="0" style="width: 99%; height: 85%; position: absolute;
  68. left: 5px;"></iframe>
  69. </div>
  70. </div>