Generate.cshtml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. @using EMIS.Web.Controls;
  2. @using Bowin.Web.Controls.Mvc;
  3. @{
  4. ViewBag.Title = "Edit";
  5. string SchoolYearID = ViewBag.SchoolYearID;
  6. ComboGridOptions cgop = new ComboGridOptions
  7. {
  8. TextField = "Name",
  9. ValueField = "CollegeID",
  10. Name = "CollegeDropdown",
  11. ID = "CollegeDropdown",
  12. GridOptions = new DataGridOptions
  13. {
  14. Columns = new List<DataGridColumn>()
  15. {
  16. // new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center },
  17. new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center }
  18. },
  19. IsCheckOnSelect = true,
  20. DataSourceUrl = Url.Content("~/College/ListOnlyCollege"),
  21. IsPagination = true,
  22. IsShowRowNumbers = true,
  23. IsSingleSelect = false
  24. }
  25. };
  26. }
  27. <style type="text/css">
  28. #FinalExaminationtable
  29. {
  30. width: 100%;
  31. border: 0px none;
  32. }
  33. #FinalExaminationtable tr
  34. {
  35. min-height: 30px;
  36. }
  37. </style>
  38. @section scripts{
  39. <script src="~/Scripts/Business/MinorGraduation/MinorGraduationSetting/MinorGraduationStandardGenerate.js"
  40. type="text/javascript"></script>
  41. <script type="text/javascript">
  42. var nonSelect = "@DropdownList.SELECT_ALL";
  43. </script>
  44. }
  45. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  46. @using (Ajax.BeginForm(new AjaxOptions
  47. {
  48. OnSuccess = "EMISFunction.FormSuccess",
  49. OnBegin = "EMISFunction.FormSubmit",
  50. OnComplete = "EMISFunction.FormComplete"
  51. }))
  52. {
  53. @Html.Hidden("IsGenerateNotSubmit")
  54. <div class="p_title">
  55. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  56. 生成辅修毕业标准</div>
  57. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Generate")</div>
  58. </div>
  59. <div class="search_list">
  60. <table cellpadding="0" cellspacing="0" id="FinalExaminationtable">
  61. <tr>
  62. <td>
  63. <label>年级:</label>
  64. </td>
  65. <td>
  66. @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "YearDropDown", Name = "YearDropDown" })
  67. </td>
  68. <td>
  69. <label>@EMIS.Utility.RSL.Get("College"):</label>
  70. </td>
  71. <td>
  72. @Html.ComboGrid(cgop)
  73. </td>
  74. </tr>
  75. </table>
  76. </div>
  77. }
  78. </div>