Apply.cshtml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. @model EMIS.ViewModel.Students.StudentRecordView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "Edit";
  6. var CurseGrade = (IList<EMIS.ViewModel.Students.CourseGradeView>)ViewBag.CurseGrade;
  7. }
  8. <style type="text/css">
  9. #Coursematerialtable
  10. {
  11. width: 100%;
  12. border: 0px none;
  13. }
  14. #Coursematerialtable tr
  15. {
  16. min-height: 30px;
  17. }
  18. </style>
  19. @section scripts{
  20. <script src="~/Scripts/Business/ExaminationApply/ExaminationApply.js" type="text/javascript"></script>
  21. <script type="text/javascript">
  22. </script>
  23. }
  24. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  25. @using (Ajax.BeginForm(new AjaxOptions
  26. {
  27. OnSuccess = "EMISFunction.FormSuccess",
  28. OnBegin = "EMISFunction.FormSubmit",
  29. OnComplete = "EMISFunction.FormComplete"
  30. }))
  31. {
  32. @Html.Position()
  33. <div class="p_title">
  34. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  35. 学生详细信息
  36. </div>
  37. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
  38. </div>
  39. <div class="search_list">
  40. @Html.HiddenFor(x => x.UserID)
  41. <table cellpadding="0" cellspacing="0" id="Coursematerialtable" style="margin-bottom: 5px">
  42. <tr>
  43. <td colspan="5" style="color: Red; text-align: center">
  44. 报名注意事项:如果下述显示信息和自己的真实信息不符,请退出重新登录,或报告管理教师!(请同学们认真检查证件号码是否正确!)
  45. </td>
  46. </tr>
  47. <tr>
  48. <td width="220">@Html.LabelFor(x => x.UserName):
  49. </td>
  50. <td>@Model.UserName
  51. </td>
  52. <td>
  53. @Html.LabelFor(x => x.SexID):
  54. </td>
  55. <td>
  56. @Html.DictionaryItemName(Model.SexID, "CF_Sex")
  57. </td>
  58. <td rowspan="4">
  59. <img src="@Model.PhotoUrl" width="80" height="100" />
  60. </td>
  61. </tr>
  62. <tr>
  63. <td width="220">@Html.LabelFor(x => x.CollegeName):
  64. </td>
  65. <td>@Model.CollegeName
  66. </td>
  67. <td>
  68. @Html.LabelFor(x => x.GradeName):
  69. </td>
  70. <td>
  71. @Model.GradeName
  72. </td>
  73. </tr>
  74. <tr>
  75. <td>
  76. @Html.LabelFor(x => x.ClassName):
  77. </td>
  78. <td>
  79. @Model.ClassName
  80. </td>
  81. <td width="220">
  82. @Html.LabelFor(x => x.CertificatesType):
  83. </td>
  84. <td>
  85. @Html.DictionaryItemName(Model.CertificatesType, "CF_CertificatesType")
  86. </td>
  87. </tr>
  88. <tr>
  89. <td>
  90. @Html.LabelFor(x => x.IDNumber):
  91. </td>
  92. <td>
  93. @Model.IDNumber
  94. </td>
  95. <td>
  96. @Html.LabelFor(x => x.LoginID):
  97. </td>
  98. <td>
  99. @Model.LoginID
  100. </td>
  101. </tr>
  102. </table>
  103. <div>
  104. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  105. 考试科目列表
  106. </div>
  107. <div style="line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  108. </div>
  109. <div>
  110. @Html.DataGrid(new DataGridOptions
  111. {
  112. Columns = new List<DataGridColumn>()
  113. {
  114. new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationSubjectID", Width=0.01 , ColumnID="true" , CustomFormatFun="" },
  115. new BoundFieldColumn { FieldName="IsRister", HeaderText="是否已报考", Align=AlignStyle.Center, Width=0.08, IsHidden=true },
  116. new BoundFieldColumn { FieldName="IsRisterName", HeaderText="是否已报考", Align=AlignStyle.Center, Width=0.08, IsHidden=true },
  117. new BoundFieldColumn { FieldName="Name", HeaderText="考试科目", Align=AlignStyle.Center, OverflowLength=14, Width=0.12 },
  118. new BoundFieldColumn { FieldName="StartDate", HeaderText="开始报名日期", Align=AlignStyle.Center, Formatter= Formatter.CHSOnlyYearMonthDay, Width=0.12 },
  119. new BoundFieldColumn { FieldName="EndDate", HeaderText="截止报名日期", Align=AlignStyle.Center , Formatter= Formatter.CHSOnlyYearMonthDay, Width=0.12 },
  120. new BoundFieldColumn { FieldName="ExaminationDate", HeaderText="考试日期", Align=AlignStyle.Center , Formatter= Formatter.CHSOnlyYearMonthDay, Width=0.12 },
  121. new BoundFieldColumn { FieldName="PeopleNumLimit", HeaderText="最大可报人数", Align=AlignStyle.Center, Width=0.06 },
  122. new BoundFieldColumn { FieldName="RegisterNum", HeaderText="已选人数", Align=AlignStyle.Center, Width=0.06 },
  123. new BoundFieldColumn { FieldName="BKCS", HeaderText="报考次数", Align=AlignStyle.Center, Width=0.06,IsHidden=true },
  124. new BoundFieldColumn { FieldName="Cost", HeaderText="收费", Align=AlignStyle.Center, Width=0.05 },
  125. new BoundFieldColumn { FieldName="Remark", HeaderText="报考要求", Align=AlignStyle.Center, Width=0.08 },
  126. },
  127. CustomerRowStyleFun = "",
  128. //CustomerRowStyleFun = "CheckIsRister1",
  129. //OnLoadSuccessFun = "CheckIsRister1",
  130. IsCheckOnSelect = true,
  131. DataSourceUrl = Url.Content("~/ExamineApply/GetExaminationSubjectList"),
  132. ID = "dgCourseScheduleSettingList",
  133. IsPagination = false,
  134. IsShowRowNumbers = true,
  135. IsSingleSelect = false
  136. })
  137. </div>
  138. <div style="margin-top: 5px;">
  139. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  140. 已报名考试科目列表
  141. </div>
  142. <div style="line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List2")</div>
  143. </div>
  144. <div>
  145. @Html.DataGrid(new DataGridOptions
  146. {
  147. Columns = new List<DataGridColumn>()
  148. {
  149. new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationRegistrationID" },
  150. new BoundFieldColumn { FieldName="Name", HeaderText="考试科目", Align=AlignStyle.Center, Width=0.11 },
  151. new BoundFieldColumn { FieldName="SchoolYearCode", HeaderText="报名学年学期", Align=AlignStyle.Center, Width=0.10 },
  152. new BoundFieldColumn { FieldName="ExaminationSchoolYearCode", HeaderText="考试学年学期", Align=AlignStyle.Center, Width=0.10 },
  153. //new BoundFieldColumn { FieldName="StartDate", HeaderText="开始报名日期", Align=AlignStyle.Center, Formatter= Formatter.CHSOnlyYearMonthDay, Width=0.10 },
  154. //new BoundFieldColumn { FieldName="EndDate", HeaderText="截止报名日期", Align=AlignStyle.Center , Formatter= Formatter.CHSOnlyYearMonthDay, Width=0.10 },
  155. //new BoundFieldColumn { FieldName="ExaminationDate", HeaderText="考试日期", Align=AlignStyle.Center , Formatter= Formatter.CHSOnlyYearMonthDay, Width=0.10 },
  156. new BoundFieldColumn { FieldName="CertificatesType", HeaderText="证件类型", Align=AlignStyle.Center, Width=0.09 },
  157. new BoundFieldColumn { FieldName="IDNumber", HeaderText="证件号", Align=AlignStyle.Center, Width=0.15 },
  158. new BoundFieldColumn { FieldName="Cost", HeaderText="收费", Align=AlignStyle.Center, Width=0.04 },
  159. new BoundFieldColumn { FieldName="Remark", HeaderText="报考要求", Align=AlignStyle.Center, Width=0.05 },
  160. },
  161. IsCheckOnSelect = true,
  162. DataSourceUrl = Url.Content("~/ExamineApply/GetExaminationRegisterList"),
  163. ID = "dgUserGrade",
  164. IsPagination = false,
  165. IsShowRowNumbers = true,
  166. IsSingleSelect = false
  167. })
  168. </div>
  169. </div>
  170. }
  171. </div>