PersonalList.cshtml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 src="../../Scripts/Business/SupervisionManage/PersonalList.js"
  27. type="text/javascript"></script>
  28. <script type="text/javascript">
  29. var nonSelect = "@DropdownList.SELECT_ALL";
  30. var month = "@ViewBag.Month";
  31. $(function () {
  32. $("#txtDate").val(month);
  33. })
  34. </script>
  35. }
  36. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  37. @Html.Position()
  38. <div class="p_SearchTitle">
  39. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  40. 查询条件</div>
  41. </div>
  42. <form id="formQuery" method="post">
  43. <div class="search_keyword">
  44. <div class="search_input">
  45. <ul>
  46. <li class="sn" style="padding-left: 5px;">学年学期:</li>
  47. <li class="sv">
  48. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), ID = "SchoolYearDropdown", Name = "SchoolYearDropdown" })
  49. </li>
  50. <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
  51. <li class="sv">
  52. @Html.ComboGrid(ddCollege)
  53. </li>
  54. <li class="sn" style="padding-left: 5px;">月份:</li>
  55. <li class="sv">
  56. @Html.TextBox(new TextBoxOptions { ID = "txtDate", Name = "txtDate" })
  57. </li>
  58. <li class="sn" style="padding-left: 5px;">至:</li>
  59. <li class="sv">
  60. @Html.TextBox(new TextBoxOptions { ID = "txtEndDate", Name = "txtEndDate" })
  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" scrolling="no" frameborder="0" style="width: 99%; height: 85%; position: absolute;
  69. left: 5px;"></iframe>
  70. </div>
  71. </div>