Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

260 řádky
16 KiB

  1. @model Learun.Application.TwoDevelopment.EducationalAdministration.CdMajorEntity
  2. @{
  3. /**/
  4. ViewBag.Title = "";
  5. Layout = null;
  6. }
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  8. <html xmlns="http://www.w3.org/1999/xhtml">
  9. <head>
  10. <meta http-equiv="X-UA-Compatible" content="IE=7,IE=8,IE=9,IE=10" />
  11. <meta name="”renderer”" content="”webkit|ie-comp|ie-stand”" />
  12. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  13. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  14. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  15. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  16. <meta name="renderer" content="webkit" />
  17. <title>网上报名-填写信息</title>
  18. <meta name="viewport" content="maximum-scale=1.0,width=device-width,initial-scale=1.0,user-scalable=no" />
  19. <link href="~/Content/bootstrap/bootstrap.min.css" rel="stylesheet" />
  20. <link href="~/Content/css/OnlineRegistrate/bootstrap.css" rel="stylesheet" />
  21. <link href="~/Content/css/OnlineRegistrate/zyjs.css" rel="stylesheet" />
  22. <link href="~/Content/css/OnlineRegistrate/default.css" rel="stylesheet" />
  23. <link href="~/Content/css/OnlineRegistrate/hddb.css" rel="stylesheet" />
  24. <link href="~/Content/css/OnlineRegistrate/style1.css" rel="stylesheet" />
  25. <link href="~/Content/css/OnlineRegistrate/zyxq.css" rel="stylesheet" />
  26. <link href="~/Content/jquery/plugin/layer/skin/default/layer.css" rel="stylesheet" />
  27. <script src="~/Content/jquery/jquery-1.10.2.min.js"></script>
  28. <script src="~/Content/bootstrap/bootstrap.min.js"></script>
  29. <script src="~/Content/datepicker/WdatePicker.js"></script>
  30. <script src="~/Content/jquery/plugin/layer/layer.js"></script>
  31. </head>
  32. <body style="overflow-x: hidden;">
  33. <div id="header"></div>
  34. <div class="page-container">
  35. <div class="page-content">
  36. <div class="row">
  37. <div class="col-md-12">
  38. <div class="section section-body">
  39. <div class="row tl-con" style="padding: 20px;">
  40. <div class="wybm_sbfzi">报名流程</div>
  41. <div class="wybm_tp">
  42. <div class="wybm_tpzi">
  43. <ul>
  44. <li class="wybm_xzzy"><a href="#">选择专业</a></li>
  45. <li class="wybm_txxx"><a href="#">填写信息</a></li>
  46. <li class="wybm_jf"><a href="#">报名成功</a></li>
  47. <li><a href="#">缴费</a></li>
  48. </ul>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. <div class="row">
  56. <div class="col-md-12">
  57. <div class="section join" id="tl_container">
  58. <div class="section-body">
  59. <form id="formEdit" name="formEdit" method="post" class="form-horizontal" action="PaymentMoney.aspx">
  60. <div>
  61. <div style="height: 76px; line-height: 76px; width: 95%; margin: 0px auto; border-bottom: 1px solid #e7e7e7;">
  62. <div style="float: left; margin-top: 15px;">
  63. <img src="~/Content/images/OnlineRegistrate/wybm2.png" width="36" height="45" />
  64. </div>
  65. <div style="text-align: left; font-family: 黑体; padding-left: 15px; font-weight: 900; float: left; font-size: 18px; color: #7c7c7c;">
  66. 我要报名
  67. </div>
  68. <div style="float:right; color:red;">
  69. 如已报名,请直接<a href="../Default/Login.aspx" style="text-align:center;"> 登录</a>
  70. </div>
  71. </div>
  72. <div class="wybm_nr">
  73. <div class="wybm_z">
  74. <ul>
  75. <span class="wybm_gnml">功能目录</span>
  76. <li><a target="_blank" href="http://www.sxyjjsxy.cn/zongxiao/contents/33/97.html">招生简章</a></li>
  77. <li><a target="_blank" href="http://www.sxyjjsxy.cn/zongxiao/contents/33/96.html">招生计划</a></li>
  78. <li><a target="_blank" href="/OnlineRegistrate/MajorInfo">招生专业</a></li>
  79. <li><a target="_blank" href="http://www.sxyjjsxy.cn/zongxiao/contents/33/70.html">报名须知</a></li>
  80. <li><a target="_blank" href="http://www.sxyjjsxy.cn/zongxiao/contents/33/476.html">报名咨询</a></li>
  81. <li><a target="_blank" href="http://www.sxyjjsxy.cn/zongxiao/contents/33/71.html">乘车线路</a></li>
  82. </ul>
  83. <div>
  84. <img src="~/Content/images/OnlineRegistrate/ewm_03.png" width="187" height="191" />
  85. </div>
  86. </div>
  87. <div class="wybm_y">
  88. <div style="line-height: 50px; background: #0193df; font-size: 18px; text-align: center; color: #ffffff;">
  89. <div class="tl-time text-center">在线报名</div>
  90. </div>
  91. <input type="hidden" name="MajorId" value="@Model.MajorNo" />
  92. <div style="width: 700px; height: 35px; line-height: 35px; float: left; margin-top: 10px;">
  93. <div style="width: 140px; height: 30px; float: left; text-align: right;">报名专业:</div>
  94. <div style="width: 360px; height: 35px; float: left; margin-left: 20px;">
  95. @Model.MajorName
  96. </div>
  97. </div>
  98. <div style="width: 700px; height: 35px; float: left; margin-top: 20px;">
  99. <div style="width: 140px; height: 30px; float: left; text-align: right;">所属校区:</div>
  100. <div style="width: 360px; height: 35px; float: left; margin-left: 20px;">
  101. @Model.SchoolName
  102. </div>
  103. </div>
  104. <div style="width: 700px; height: 35px; float: left; margin-top: 20px;">
  105. <div style="width: 140px; height: 30px; float: left; text-align: right;">文化程度:</div>
  106. <div style="width: 360px; height: 35px; float: left; margin-left: 20px;">
  107. @Model.RecruitObjectText
  108. </div>
  109. </div>
  110. <div style="width: 700px; height: 35px; margin-top: 15px; float: left;">
  111. <div style="width: 140px; height: 30px; line-height: 30px; float: left; text-align: right;">姓  名:</div>
  112. <div style="width: 360px; height: 35px; float: left; margin-left: 20px;">
  113. <input type="text" name="RealName" id="RealName" class="form-control" placeholder="请输入姓名~" value="" />
  114. <span class="errTip"></span>
  115. </div>
  116. </div>
  117. <div style="width: 700px; height: 35px; margin-top: 5px; float: left;">
  118. <div style="width: 140px; height: 30px; float: left; margin-top: 25px; line-height: 30px; text-align: right;">性  别:</div>
  119. <div style="width: 36px; height: 35px; float: left; margin-left: 20px; margin-top: 25px;">
  120. <select class="form-control input-auto courseType" id="SexId" name="SexId">
  121. @foreach (var item in ViewBag.Sex)
  122. {
  123. <option value="@item.F_ItemValue">@item.F_ItemName</option>
  124. }
  125. </select>
  126. <span class="errTip"></span>
  127. </div>
  128. </div>
  129. <div style="width: 700px; height: 35px; float: left; margin-top: 55px;">
  130. <div style="width: 140px; height: 30px; float: left; line-height: 30px; text-align: right;">出生日期:</div>
  131. <div style="width: 188px; height: 35px; float: left; margin-left: 20px;">
  132. <input type="text" id="BirthDate" name="BirthDate" placeholder="请输入出生日期~" onclick="WdatePicker({ dateFmt: 'yyyy-MM-dd' })" class="form-control" />
  133. <span class="errTip"></span>
  134. </div>
  135. </div>
  136. <div style="width: 700px; height: 35px; float: left; margin-top: 30px;">
  137. <div style="width: 140px; height: 30px; float: left; line-height: 30px; text-align: right;">手&nbsp;&nbsp;机&nbsp;号:</div>
  138. <div style="width: 360px; height: 35px; float: left; margin-left: 20px;">
  139. <input type="text" id="Mobile" name="Mobile" class="form-control" placeholder="请输入手机号~" value="" />
  140. <span class="errTip"></span>
  141. </div>
  142. </div>
  143. <div style="width: 700px; height: 35px; float: left; margin-top: 30px;">
  144. <div style="width: 140px; height: 30px; float: left; line-height: 30px; text-align: right;">家庭住址:</div>
  145. <div style="width: 360px; height: 35px; float: left; margin-left: 20px;">
  146. <input type="text" id="DetailedAddress" name="DetailedAddress" class="form-control" placeholder="请输入所在省市县乡(镇)村~" value="" />
  147. <span class="errTip"></span>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. </div>
  153. <div class="form-group">
  154. <div class="col-sm-offset-2 col-sm-8 text-center margin-top-15">
  155. <button type="button" id="button" class="btn btn-primary">下一步</button>
  156. <a id="button1" href="/OnlineRegistrate/MajorIntroduce?majorNo=@Model.MajorNo" class="btn btn-primary">返回</a>
  157. </div>
  158. </div>
  159. </form>
  160. </div>
  161. </div>
  162. </div>
  163. </div>
  164. </div>
  165. </div>
  166. <div id="footer"></div>
  167. <script>
  168. $(function () {
  169. $('#header').load('../Content/css/OnlineRegistrate/Header.html');
  170. $('#footer').load('../Content/css/OnlineRegistrate/Footer.html');
  171. })
  172. </script>
  173. <script>
  174. //错误提示
  175. var tip = function (target, msg) {
  176. var $tip = $(target).siblings('.errTip');
  177. $tip.hide();
  178. if (!!msg) {
  179. $tip.html('<img src="/Content/images/OnlineRegistrate/yuan.png" />&nbsp;' + msg);
  180. $tip.show();
  181. }
  182. };
  183. //点击“下一步”
  184. $("#button").on('click', function () {
  185. //姓名
  186. if (!$.trim($("#RealName").val())) {
  187. tip("#RealName", $("#RealName").attr("placeholder"));
  188. return false;
  189. }
  190. //出生日期
  191. if (!$.trim($("#BirthDate").val())) {
  192. tip("#BirthDate", $("#BirthDate").attr("placeholder"));
  193. return false;
  194. }
  195. //手机号
  196. var Mobile = $.trim($("#Mobile").val());
  197. if (!Mobile) {
  198. tip("#Mobile", $("#Mobile").attr("placeholder"));
  199. return false;
  200. } else {
  201. var reg = /^((\(\d{2,3}\))|(\d{3}\-))?1\d{10}$/;
  202. if (!reg.test(Mobile)) {
  203. tip("#Mobile", "手机号格式不正确");
  204. return false;
  205. }
  206. }
  207. //家庭住址
  208. if (!$.trim($("#DetailedAddress").val())) {
  209. tip("#DetailedAddress", $("#DetailedAddress").attr("placeholder"));
  210. return false;
  211. }
  212. var data = {
  213. strEntity: JSON.stringify(getFormData($("#formEdit")))
  214. };
  215. $.ajax({
  216. type: 'post',
  217. url: '/OnlineRegistrate/SaveOnlineRegistrate',
  218. contentType: 'application/json',
  219. dataType: 'json',
  220. async: true,
  221. cache: false,
  222. data: JSON.stringify(data),
  223. success: function (result) {
  224. if (result.code == 200) {
  225. layer.msg(result.info);
  226. if (result.data) {
  227. window.location.href = "/OnlineRegistrate/SignUpSuccess?userId=" + result.data.Id;
  228. }
  229. } else {
  230. layer.msg(result.info);
  231. }
  232. },
  233. error: function (XMLHttpRequest, textStatus, errorThrown) {
  234. }
  235. });
  236. });
  237. //序列化为Json
  238. function getFormData($form) {
  239. var unindexed_array = $form.serializeArray();
  240. var indexed_array = {};
  241. $.map(unindexed_array, function (n, i) {
  242. indexed_array[n['name']] = n['value'];
  243. });
  244. return indexed_array;
  245. }
  246. </script>
  247. </body>
  248. </html>