Apply.cshtml 7.8 KB

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