List.cshtml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "List";
  5. ComboGridOptions cgopLearnSystem = new ComboGridOptions
  6. {
  7. TextField = "LearnSystem",
  8. ValueField = "LearnSystem",
  9. OnSelect = "queryClassmajor",
  10. Name = "DictionaryLearnSystem",
  11. ID = "DictionaryLearnSystem",
  12. GridOptions = new DataGridOptions
  13. {
  14. Columns = new List<DataGridColumn>()
  15. {
  16. new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center }
  17. },
  18. IsCheckOnSelect = true,
  19. DataSourceUrl = Url.Content("~/Specialty/LearnSystem"),
  20. IsPagination = true,
  21. IsShowRowNumbers = true,
  22. IsSingleSelect = false,
  23. IsShowHeader = false
  24. }
  25. };
  26. }
  27. @section scripts{
  28. <script src="../../Scripts/Business/RetakeManage/RetakePlanPrescan.js" type="text/javascript"></script>
  29. <script type="text/javascript">
  30. var nonSelect = "@DropdownList.SELECT_ALL";
  31. </script>
  32. }
  33. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  34. @Html.Position()
  35. <div class="p_SearchTitle">
  36. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  37. 查询条件
  38. </div>
  39. </div>
  40. <form id="formQuery" method="post" action="@Url.Content("~/RetakePlanPrescan/Excel")">
  41. @Html.PositionCondition()
  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.SelectAll, SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), ID = "ddlSchoolYear", Name = "ddlSchoolYear", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgRetakePlanStudentList" } })
  48. </li>
  49. <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
  50. <li class="sv">
  51. @Html.ComboGrid(new ComboGridOptions
  52. {
  53. TextField = "Name",
  54. ValueField = "CollegeID",
  55. Name = "cbgCollege",
  56. ID = "cbgCollege",
  57. OnSelect = "queryStandard",
  58. GridOptions = new DataGridOptions
  59. {
  60. Columns = new List<DataGridColumn>()
  61. {
  62. new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center }
  63. },
  64. IsCheckOnSelect = true,
  65. DataSourceUrl = Url.Content("~/College/ListOnlyCollege"),
  66. IsPagination = true,
  67. IsShowRowNumbers = true,
  68. IsSingleSelect = false
  69. }
  70. }, new Dictionary<string, string> { { "data-condition", "dgRetakePlanStudentList" } })
  71. </li>
  72. <li class="sn" style="padding-left: 5px;">年级:</li>
  73. <li class="sv">
  74. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Grade, new DropdownListOptions { ID = "ddlYear", Name = "ddlYear", BindType = DropdownListBindType.SelectAll, OnSelect = "queryStandard", OnLoadSuccess = "queryStandard" }, new Dictionary<string, string> { { "data-condition", "dgRetakePlanStudentList" } })
  75. </li>
  76. <li class="sn" style="padding-left: 5px;">专业名称:</li>
  77. <li class="sv">
  78. @Html.ComboGrid(new ComboGridOptions
  79. {
  80. TextField = "StandardName",
  81. ValueField = "StandardID",
  82. OnSelect = "queryClassmajor",
  83. Name = "cbgStandard",
  84. ID = "cbgStandard",
  85. GridOptions = new DataGridOptions
  86. {
  87. Columns = new List<DataGridColumn>()
  88. {
  89. new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center }
  90. },
  91. IsAutoLoad = false,
  92. IsCheckOnSelect = true,
  93. DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"),
  94. IsPagination = true,
  95. IsShowRowNumbers = true,
  96. IsSingleSelect = false,
  97. }
  98. }, new Dictionary<string, string> { { "data-condition", "dgRetakePlanStudentList" } })
  99. </li>
  100. </ul>
  101. <ul>
  102. <li class="sn" style="padding-left: 5px;">@Html.RSLabel("EducationID"):</li>
  103. <li class="sv">
  104. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Education, new DropdownListOptions { ID = "DictionaryEducation", Name = "DictionaryEducation", BindType = DropdownListBindType.SelectAll, OnSelect = "queryClassmajor" }, new Dictionary<string, string> { { "data-condition", "dgRetakePlanStudentList" } })
  105. </li>
  106. <li class="sn" style="padding-left: 5px;">学习形式:</li>
  107. <li class="sv">
  108. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Learningform, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "LearningformDictionaryDropDown", Name = "LearningformDictionaryDropDown", SelectedValue = BaseExtensions.GetDefaultLearnformForList(), OnSelect = "queryClassmajor" }, new Dictionary<string, string> { { "data-condition", "dgRetakePlanStudentList" } })
  109. </li>
  110. <li class="sn" style="padding-left: 5px;">学制:</li>
  111. <li class="sv">
  112. @Html.ComboGrid(cgopLearnSystem, new Dictionary<string, string> { { "data-condition", "dgRetakePlanStudentList" } })
  113. </li>
  114. <li class="sn" style="padding-left: 5px;">班级名称:</li>
  115. <li class="sv">
  116. @Html.ComboGrid(new ComboGridOptions
  117. {
  118. TextField = "Name",
  119. ValueField = "ClassmajorID",
  120. Name = "cbgClassmajor",
  121. ID = "cbgClassmajor",
  122. OnSelect = "reload",
  123. GridOptions = new DataGridOptions
  124. {
  125. Columns = new List<DataGridColumn>()
  126. {
  127. new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center }
  128. },
  129. IsAutoLoad = false,
  130. IsCheckOnSelect = true,
  131. DataSourceUrl = Url.Content("~/Classmajor/List"),
  132. IsPagination = true,
  133. IsShowRowNumbers = true,
  134. IsSingleSelect = false
  135. }
  136. }, new Dictionary<string, string> { { "data-condition", "dgRetakePlanStudentList" } })
  137. </li>
  138. </ul>
  139. <ul>
  140. <li class="sn" style="padding-left: 5px;">是否已缴费:</li>
  141. <li class="sv">
  142. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, new DropdownListOptions { Name = "ddlIsNoAssears", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgRetakePlanStudentList" } })
  143. </li>
  144. </ul>
  145. </div>
  146. </div>
  147. </form>
  148. <div class="p_title">
  149. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  150. 重修预查列表
  151. </div>
  152. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  153. </div>
  154. @Html.PositionBatchModify()
  155. <div class="search_list">
  156. @Html.DataGrid(new DataGridOptions
  157. {
  158. Columns = new List<DataGridColumn>()
  159. {
  160. new CheckBoxFieldColumn{ HeaderText="", FieldName="RetakePlanStudentID" },
  161. new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=100 },
  162. new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=100 },
  163. new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=60 },
  164. new BoundFieldColumn { FieldName="CollegeName", HeaderText="教学点", Align=AlignStyle.Center, Width=100 },
  165. new BoundFieldColumn { FieldName="Gradeyear", HeaderText="年级", Align=AlignStyle.Center, Width=50 },
  166. new BoundFieldColumn { FieldName="StandardDesc", HeaderText="专业", Align=AlignStyle.Center, Width=100 },
  167. new BoundFieldColumn { FieldName="ClassName", HeaderText="班级名称", Align=AlignStyle.Center, Width=200 },
  168. new LinkButtonColumn { FieldName="NoPassCount", HeaderText="不及格门数", Align=AlignStyle.Center,Handle="StudentDetail", Width=80 },
  169. new BoundFieldColumn { FieldName="IsNoArrearsDesc", HeaderText="是否已缴费", Align=AlignStyle.Center, Width=60 }
  170. },
  171. IsCheckOnSelect = true,
  172. DataSourceUrl = Url.Content("~/RetakePlanPrescan/List"),
  173. ID = "dgRetakePlanStudentList",
  174. IsPagination = true,
  175. IsShowRowNumbers = true,
  176. IsSingleSelect = false
  177. })
  178. </div>
  179. </div>