CourseProcessSummary.cshtml 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "ClassmajorReport";
  5. var Count = ViewBag.ClassScheduleWeekTimeCount;
  6. ComboGridOptions cgopStandard = new ComboGridOptions
  7. {
  8. TextField = "StandardName",
  9. ValueField = "StandardID",
  10. OnSelect = "reload",
  11. Name = "DictionaryStandard",
  12. ID = "DictionaryStandard",
  13. GridOptions = new DataGridOptions
  14. {
  15. Columns = new List<DataGridColumn>()
  16. {
  17. new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center }
  18. },
  19. IsCheckOnSelect = true,
  20. DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"),
  21. IsPagination = true,
  22. IsShowRowNumbers = true,
  23. IsSingleSelect = false,
  24. IsShowHeader = false
  25. }
  26. };
  27. ListControlOptions course = new ListControlOptions
  28. {
  29. Name = "StatusID",
  30. TextField = "Name",
  31. ValueField = "Value",
  32. ColumnCount = 10,
  33. SelectedValueUrl = @Url.Content("~/EducationMissionClass/GetEducationMissionClassStatus"),
  34. //SelectedValues =
  35. };
  36. }
  37. @section scripts{
  38. <script src="~/Scripts/Business/EducationManage/CourseProcessSummary.js"
  39. type="text/javascript"></script>
  40. <script type="text/javascript">
  41. var nonSelect = "@DropdownList.SELECT_ALL";
  42. var Count = '@Count';
  43. </script>
  44. }
  45. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  46. @Html.Position()
  47. <div class="p_SearchTitle">
  48. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  49. 查询条件
  50. </div>
  51. </div>
  52. <form id="formQuery" method="post">
  53. <div class="search_keyword">
  54. <div class="search_input">
  55. <ul>
  56. <li class="sn" style="padding-left: 5px;">学年学期:</li>
  57. <li class="sv">
  58. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), SelectedValue = @ViewBag.SchoolYearID, ID = "SchoolYearDropdown", Name = "SchoolYearDropdown", OnSelect = "reload" })
  59. </li>
  60. <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
  61. <li class="sv">
  62. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/College/CollegeDropdownListOnlyCollege"), SelectedValue = Request["collegeID"], ID = "CollegeDropdown", Name = "CollegeDropdown", OnSelect = "queryClass", OnLoadSuccess = "QueryCollegeDropdownList" })
  63. </li>
  64. <li class="sn" style="padding-left: 5px;">年级:</li>
  65. <li class="sv">
  66. @Html.SchoolYearDropDownList(new DropdownListOptions { ID = "DictionarySchoolyear", Name = "DictionarySchoolyear", BindType = DropdownListBindType.SelectAll, SelectedValue = BaseExtensions.GetCurrentYearID(), OnSelect = "queryClass" })
  67. </li>
  68. <li class="sn" style="padding-left: 5px;">专业名称:</li>
  69. <li class="sv">
  70. @*@Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Standard, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionaryStandard", Name = "DictionaryStandard", OnSelect = "reload" })*@
  71. @Html.ComboGrid(cgopStandard)
  72. </li>
  73. <li class="sn" style="padding-right: 10px; float: left;"><a class="easyui-linkbutton l-btn"
  74. onclick="reload();" href="javascript:void(0)" data-options="iconCls:'icon-search'">
  75. 预览 </a></li>
  76. </ul>
  77. <ul>
  78. <li class="sn" style="padding-left: 5px;">状态:</li>
  79. <li class="sv">
  80. @Html.DictionaryCheckList(EMIS.ViewModel.DictionaryItem.EM_EducationMissionClassStatus, course)
  81. </li>
  82. </ul>
  83. </div>
  84. </div>
  85. </form>
  86. <div class="search_list">
  87. <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 85%; position: absolute; left: 5px;"></iframe>
  88. </div>
  89. </div>