No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

step.htm 56KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091
  1. <?php
  2. $param = request()->param();
  3. function isValidChineseMobileNumber($number) {
  4. return preg_match('/^1\d{10}$/', $number) ? true : false;
  5. }
  6. if(!empty($param['p'])){
  7. //验证手机号码
  8. if(isValidChineseMobileNumber($param['p'])) {
  9. $is_cha = 1;
  10. }else{
  11. $is_cha = 0;
  12. }
  13. }else{
  14. $is_cha = 0;
  15. }
  16. $is_detail = 0;
  17. if(!empty($param['h'])){
  18. $is_cha = 1;
  19. $is_detail = 1;
  20. $sql = "select * from ey_zc_form where code='".$param['h']."' and status=1 and is_del=0 limit 1";
  21. }
  22. //缓存问题 增加时间参数即可
  23. ?>
  24. {eyou:if condition='($is_detail === 1)'}
  25. {eyou:sql sql='$sql' cachetime='3600' empty=''}
  26. {eyou:php}
  27. $detail = $field;
  28. $extend_info = json_decode($field['extend'],true);
  29. {/eyou:php}
  30. {/eyou:sql}
  31. <?php
  32. //区域
  33. if((int)$detail['yxdq'] === 10001){
  34. $area_name = '不限制';
  35. }else if((int)$detail['yxdq'] === 20000){
  36. $area_name = '全国';
  37. }else if((int)$detail['yxdq'] === 0){
  38. $area_name = '未选';
  39. }else{
  40. $area_name = '';
  41. $sql2 = "select id,name from ey_citysite where id=".$detail['yxdq'];
  42. }
  43. //职称
  44. $zc_name = '';
  45. $sql3 = "select id,title from ey_zc_position where id=".$detail['sbzy'];
  46. //职称等级
  47. $zc_dj = '';
  48. $sql4 = "select id,title from ey_zcdj_position where id=".$detail['sbdj'];
  49. ?>
  50. {eyou:if condition='($area_name == "")'}
  51. {eyou:sql sql='$sql2' cachetime='3600' empty=''}
  52. {eyou:php}
  53. $area_name = $field['name'];
  54. {/eyou:php}
  55. {/eyou:sql}
  56. {/eyou:if}
  57. <?php
  58. /*
  59. *
  60. * 减少sql调用
  61. *
  62. * {eyou:sql sql='$sql3' cachetime='3600' empty=''}
  63. {eyou:php}
  64. $zc_name = $field['title'];
  65. {/eyou:php}
  66. {/eyou:sql}
  67. {eyou:sql sql='$sql4' cachetime='3600' empty=''}
  68. {eyou:php}
  69. $zc_dj = $field['title'];
  70. {/eyou:php}
  71. {/eyou:sql}
  72. *
  73. *
  74. */
  75. ?>
  76. {/eyou:if}
  77. <style>
  78. .nav-item-b{
  79. color: #6b7386 !important;
  80. }
  81. .iconfont{
  82. color: #6b7386;
  83. }
  84. .nav-item:nth-child(4) .iconfont{
  85. color: red !important;
  86. }
  87. .nav-item:nth-child(4) .nav-item-b{
  88. color: red !important;
  89. }
  90. .table-bordered tr th{
  91. text-align: center;
  92. }
  93. .table-bordered tr td{
  94. text-align: center;
  95. }
  96. </style>
  97. <!--time css-->
  98. <link rel="stylesheet" type="text/css" media="all" href="/template/pc/js/botstrap-step/daterangepicker.css" />
  99. <style>
  100. /* 定位i标签在input标签内 */
  101. .daterange i {
  102. position: absolute;
  103. bottom: 18px;
  104. right: 14px;
  105. top: auto;
  106. cursor: pointer;
  107. }
  108. .daterange {
  109. /*position: relative;*/
  110. position: relative;
  111. }
  112. .daterangepicker button{
  113. height: auto !important;
  114. line-height: 1.5 !important;
  115. }
  116. .daterange input{
  117. padding: 0 20px 0 20px;
  118. }
  119. .daterange label{
  120. /*position: absolute;
  121. left: 27px;
  122. color: #888;
  123. top: 25%;
  124. font-size: 16px;
  125. font-weight: 300;*/
  126. }
  127. .daterangepicker{
  128. }
  129. .checkbox-inline input{
  130. transform: scale(1.2);
  131. }
  132. /* daterange i end */
  133. </style>
  134. <!-- Top menu -->
  135. <?php
  136. /*
  137. * <nav class="navbar navbar-inverse navbar-no-bg" role="navigation" >
  138. <div class="container">
  139. <div class="navbar-header">
  140. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#top-navbar-1">
  141. <span class="sr-only">Toggle navigation</span>
  142. <span class="icon-bar"></span>
  143. <span class="icon-bar"></span>
  144. <span class="icon-bar"></span>
  145. </button>
  146. <a class="navbar-brand" href="index.html">Bootstrap Multi Step Registration Form Template</a>
  147. </div>
  148. <!-- Collect the nav links, forms, and other content for toggling -->
  149. <div class="collapse navbar-collapse" id="top-navbar-1">
  150. <ul class="nav navbar-nav navbar-right">
  151. <li>
  152. <span class="li-text">
  153. Put some text or
  154. </span>
  155. <a href="#"><strong>links</strong></a>
  156. <span class="li-text">
  157. here, or some icons:
  158. </span>
  159. <span class="li-social">
  160. <a href="#"><i class="fa fa-facebook"></i></a>
  161. <a href="#"><i class="fa fa-twitter"></i></a>
  162. <a href="#"><i class="fa fa-envelope"></i></a>
  163. <a href="#"><i class="fa fa-skype"></i></a>
  164. </span>
  165. </li>
  166. </ul>
  167. </div>
  168. </div>
  169. </nav>
  170. */
  171. ?>
  172. <!-- Top content -->
  173. <div class="top-content">
  174. <div class="inner-bg">
  175. <div class="container">
  176. <div class="row">
  177. <!--col-sm-8 col-sm-offset-2-->
  178. <div class="col-sm-12 text" style="width:100%;text-align: center;">
  179. <span class="title-h1">
  180. 本系统已收录全国各地职称评审条件,并实时更新各地人才政策对应的绿色评审方案,您可输入您的基础信息,根据您的条件一键为您匹配通过率最高的地区!
  181. </span>
  182. <div class="description">
  183. <p>
  184. </p>
  185. </div>
  186. </div>
  187. </div>
  188. <div class="row">
  189. <!--col-sm-6 col-sm-offset-3 form-box-->
  190. <div class="form-box">
  191. <div class="form-gb">
  192. <div class="form-gb-con">
  193. <img src="/template/pc/js/botstrap-step/laba.png"/>
  194. <img src="/template/pc/js/botstrap-step/laba.png" />
  195. <span>最新公告:<font class="tib-li-end">河北建筑职称副高级破格已发布</font>(<font id="getCode">点击获取二维码</font>)</span>
  196. </div>
  197. </div>
  198. <div class="form-box-ssl">
  199. <!--案例显示-->
  200. <div class="ssl-list">
  201. <div class="ssl-list-t">
  202. 目前已有<font>265180</font>人参与测评
  203. </div>
  204. <div class="ssl-list-b">
  205. <div class="ti">
  206. <span class="sp1">姓名</span>
  207. <span class="sp2">手机号码</span>
  208. <span class="sp3">申报等级</span>
  209. <span class="sp4">匹配结果</span>
  210. </div>
  211. <div class="tib autoBox" id="autoScroll01">
  212. <ul class="clearfix">
  213. <!--加入 tib-li-end 有动画效果-->
  214. <li class="tib-li">
  215. <span class="sp1">李*新</span>
  216. <span class="sp2">150****5632</span>
  217. <span class="sp3">符合条件</span>
  218. <span class="sp4">中级建筑工程师[协助申报]</span>
  219. </li>
  220. <li class="tib-li tib-li-err">
  221. <span class="sp1">李*新</span>
  222. <span class="sp2">150****5632</span>
  223. <span class="sp3">条件不符</span>
  224. <span class="sp4">学历不符[解决方案]</span>
  225. </li>
  226. <li class="tib-li">
  227. <span class="sp1">李*新</span>
  228. <span class="sp2">150****5632</span>
  229. <span class="sp3">符合条件</span>
  230. <span class="sp4">中级建筑工程师[协助申报]</span>
  231. </li>
  232. <li class="tib-li">
  233. <span class="sp1">李*新</span>
  234. <span class="sp2">150****5632</span>
  235. <span class="sp3">符合条件</span>
  236. <span class="sp4">中级建筑工程师[协助申报]</span>
  237. </li>
  238. <li class="tib-li tib-li-err">
  239. <span class="sp1">李*新</span>
  240. <span class="sp2">150****5632</span>
  241. <span class="sp3">条件不符</span>
  242. <span class="sp4">学历不符[解决方案]</span>
  243. </li>
  244. <li class="tib-li">
  245. <span class="sp1">李*新</span>
  246. <span class="sp2">150****5632</span>
  247. <span class="sp3">符合条件</span>
  248. <span class="sp4">中级建筑工程师[协助申报]</span>
  249. </li>
  250. <li class="tib-li">
  251. <span class="sp1">李*新</span>
  252. <span class="sp2">150****5632</span>
  253. <span class="sp3">符合条件</span>
  254. <span class="sp4">中级建筑工程师[协助申报]</span>
  255. </li>
  256. <li class="tib-li tib-li-err">
  257. <span class="sp1">李*新</span>
  258. <span class="sp2">150****5632</span>
  259. <span class="sp3">条件不符</span>
  260. <span class="sp4">学历不符[解决方案]</span>
  261. </li>
  262. <li class="tib-li">
  263. <span class="sp1">李*新</span>
  264. <span class="sp2">150****5632</span>
  265. <span class="sp3">符合条件</span>
  266. <span class="sp4">中级建筑工程师[协助申报]</span>
  267. </li>
  268. <li class="tib-li">
  269. <span class="sp1">李*新</span>
  270. <span class="sp2">150****5632</span>
  271. <span class="sp3">符合条件</span>
  272. <span class="sp4">中级建筑工程师[协助申报]</span>
  273. </li>
  274. <li class="tib-li">
  275. <span class="sp1">李*新</span>
  276. <span class="sp2">150****5632</span>
  277. <span class="sp3">符合条件</span>
  278. <span class="sp4">中级建筑工程师[协助申报]</span>
  279. </li>
  280. <li class="tib-li">
  281. <span class="sp1">李*新</span>
  282. <span class="sp2">150****5632</span>
  283. <span class="sp3">符合条件</span>
  284. <span class="sp4">中级建筑工程师[协助申报]</span>
  285. </li>
  286. <li class="tib-li">
  287. <span class="sp1">李*新</span>
  288. <span class="sp2">150****5632</span>
  289. <span class="sp3">符合条件</span>
  290. <span class="sp4">中级建筑工程师[协助申报]</span>
  291. </li>
  292. <li class="tib-li">
  293. <span class="sp1">李*新</span>
  294. <span class="sp2">150****5632</span>
  295. <span class="sp3">符合条件</span>
  296. <span class="sp4">中级建筑工程师[协助申报]</span>
  297. </li>
  298. </ul>
  299. </div>
  300. </div>
  301. </div>
  302. <!--成功示例--->
  303. <div class="ssl-box">
  304. <div class="ssl-box-t">
  305. <p>匹配成功结果展示:</p>
  306. <p>
  307. 姓名:... <br/>
  308. 手机:183****8270 <br/>
  309. 地区:辽宁/葫芦岛 <br/>
  310. </p>
  311. <p>
  312. 申报专业:建筑职称 <br/>
  313. 申报等级:高级工程师
  314. </p>
  315. </div>
  316. <div class="ssl-box-b">
  317. <div class="p-con">
  318. 匹配结果展示: <br/>
  319. 河南省建筑副高级申报条件
  320. </div>
  321. <div class="p-con2">
  322. <table>
  323. <!--<caption>Awesome caption</caption>-->
  324. <colgroup>
  325. <col class="t-wid1 batman">
  326. <col class="t-wid2 flash">
  327. <col class="t-wid3 flash">
  328. <col class="t-wid4 flash">
  329. </colgroup>
  330. <thead>
  331. <tr>
  332. <th>字段信息</th>
  333. <th>实际要求</th>
  334. <th>填写资料</th>
  335. <th>匹配结果</th>
  336. </tr>
  337. </thead>
  338. <tbody>
  339. <tr>
  340. <td>学历</td>
  341. <td>本科</td>
  342. <td>本科</td>
  343. <td class="td-r">√</td>
  344. </tr>
  345. <tr>
  346. <td>年龄</td>
  347. <td>不限制</td>
  348. <td>30岁</td>
  349. <td class="td-b">x</td>
  350. </tr>
  351. <tr>
  352. <td>毕业专业</td>
  353. <td>不限制</td>
  354. <td>无</td>
  355. <td class="td-r">√</td>
  356. </tr>
  357. </tbody>
  358. <!-- <tfoot>
  359. <tr>
  360. <td>Footer content 1</td>
  361. <td>Footer content 2</td>
  362. <td>Footer content 3</td>
  363. <td>Footer content 4</td>
  364. </tr>
  365. </tfoot>-->
  366. </table>
  367. </div>
  368. </div>
  369. </div>
  370. {eyou:if condition='($is_cha === 1)'}
  371. <style>
  372. .ssl-box{
  373. display: none;
  374. }
  375. </style>
  376. {/eyou:if}
  377. <form role="form" action="" method="post" class="registration-form">
  378. {eyou:if condition='($is_cha === 1)'}
  379. <?php
  380. /*
  381. * 符合城市地区
  382. * 比对每一项资料
  383. * 查询功能 先不管
  384. */
  385. ?>
  386. <fieldset>
  387. <div class="form-top form-t-e">
  388. <div class="form-title">
  389. <span>职称申报&nbsp;一键测评</span>
  390. </div>
  391. <div class="form-top-left">
  392. <h3>第五步</h3>
  393. <!--<p>请填写您用于接收匹配结果的手机号码:</p>-->
  394. <?php
  395. function hide_phone_number_regex($phone_number) {
  396. return preg_replace('/(\d{3})\d{4}(\d{4})/', '$1****$2', $phone_number);
  397. }
  398. //$phone = "13812345678";
  399. //echo hide_phone_number_regex($phone); // 输出: 138****5678
  400. ?>
  401. {eyou:if condition='($is_detail === 0)'}
  402. <p>
  403. <span style="display:block;margin-bottom: 12px;">查询结果展示:</span>
  404. <!--编号: 202410247774<br/>-->
  405. <!-- 姓名: 郑工<br/>-->
  406. 手机: <?php echo hide_phone_number_regex($param['p']); ?><br/>
  407. </p>
  408. {eyou:else /}
  409. <div class="ftl-l">
  410. <!--<span style="display:block;margin-bottom: 12px;">匹配结果展示:</span>-->
  411. <!--编号: 202410247774<br/>-->
  412. 姓名: {$detail.ch}<br/>
  413. 手机: <?php echo hide_phone_number_regex($detail['sjhm']); ?><br/>
  414. 地区: {$extend_info.szsf}/{$extend_info.szcs}<br/>
  415. </div>
  416. <span style="display: block;width: 100%;height:5px;"></span>
  417. <div class="ftl-r">
  418. 申报专业: {$extend_info.sbzy}<br/>
  419. 申报等级: {$extend_info.sbdj}<br/>
  420. </div>
  421. <div class="clear"></div>
  422. {/eyou:if}
  423. </div>
  424. <div class="form-top-right">
  425. <img src="/template/pc/js/botstrap-step/img_5.png" />
  426. </div>
  427. </div>
  428. <div class="form-bottom form-b-e" style="">
  429. {eyou:if condition='($is_detail === 0)'}
  430. <div class="panel" style="margin-top:0px;margin-bottom:8px;">
  431. <div class="panel-body" style='font-family: "黑体", sans-serif !important;font-size:17px;font-weight:"bold";'>
  432. 查询最新10条结果:
  433. </div>
  434. <div class="panel-footer" style="background: #fff;padding:10px 0 0 0;">
  435. <ul class="list-group">
  436. <?php
  437. $sql = "select id,code,addtime,ch from ey_zc_form where sjhm='".$param['p']."' and status=1 and is_del=0 order by addtime desc limit 0,10";
  438. ?>
  439. {eyou:sql sql="$sql" cachetime='3600' empty='未找到相关记录' id='field'}
  440. <li class="list-group-item" style="position:relative;">
  441. <a href="/cp?h={$field.code}">{$field.ch}于&nbsp;{$field.addtime|MyDate="Y-m-d H:i:s",###}&nbsp;提交</a>
  442. <span aria-hidden="true" style="position:absolute;right: 0px;top:12px;">&raquo;</span>
  443. </li>
  444. {/eyou:sql}
  445. </ul>
  446. </div>
  447. </div>
  448. {eyou:else /}
  449. <div class="ta-info-detail">
  450. <p>匹配结果展示:</p>
  451. </div>
  452. <div class="well" style="margin-top:20px;display: none;">
  453. <?php
  454. /*
  455. *
  456. * 预选地区: {$area_name}<br/>
  457. */
  458. ?>
  459. 申报专业: {$extend_info.sbzy}<br/>
  460. 申报等级: {$extend_info.sbdj}<br/>
  461. </div>
  462. {eyou:if condition='($detail.yxdq > 0 && $detail.yxdq < 10001)'}
  463. <?php
  464. $yxdi_id = $detail['yxdq'];
  465. $sql_end = ' and sf='.$yxdi_id;
  466. $scen = '抱歉!暂时未找到<预选地区>相关匹配结果信息!';
  467. $t = "预选地区";
  468. ?>
  469. {eyou:include file='/template/pc/components/index/kop.htm' /}
  470. <?php
  471. $yxdi_id = $detail['yxdq'];
  472. $sql_end = ' and sf!='.$yxdi_id;
  473. $scen = '抱歉!暂时未找到<其他区域>相关匹配结果信息!';
  474. $t = "其他推荐地区";
  475. ?>
  476. {eyou:include file='/template/pc/components/index/kop.htm' /}
  477. {eyou:else /}
  478. <?php
  479. //现在没有所谓预选和其他推荐的区分
  480. $sql_end = '';
  481. $t = '';
  482. $scen = '抱歉!暂时未找到相关匹配结果信息!';
  483. ?>
  484. {eyou:include file='/template/pc/components/index/kop.htm' /}
  485. {/eyou:if}
  486. {/eyou:if}
  487. <!--<button type="button" class="btn btn-previous">上一步</button>
  488. <button type="button" class="btn btn-next">下一步</button>-->
  489. <button type="button" class="btn" onclick="location.href='https://www.zc10000.com/cp'">
  490. 重新匹配
  491. </button>
  492. {eyou:if condition='($is_detail > 0)'}
  493. {eyou:if condition='($is_tg === 1)'}
  494. <button type="button" class="btn" id="zxfy">
  495. 咨询费用
  496. </button>
  497. {eyou:else /}
  498. <button type="button" class="btn" id="jjfa">
  499. 解决方案
  500. </button>
  501. {/eyou:if}
  502. {/eyou:if}
  503. <!--<button type="button" class="btn">下载文档</button>
  504. <button type="button" class="btn">分享结果</button>-->
  505. <!--<span id="helpBlock" class="help-block">
  506. 点击分享本次结果<br/>
  507. 或<br/>
  508. 保存本次结果为文档下载 (生成execl功能或者word功能或者图片)<br/>
  509. </span>-->
  510. </div>
  511. </fieldset>
  512. <?php
  513. /*
  514. * //构建保存参数
  515. //不做冗余 规则变 提交信息不变 结果就会变
  516. //规则和结果都不做冗余
  517. */
  518. /*$data = [
  519. 'sjhm'=> $detail['sjhm'],
  520. 'code'=> $detail['code'],
  521. 'form_id'=> $detail['id'],
  522. 'sbzy'=> $detail['sbzy'],
  523. 'sbdj'=> $detail['sbdj'],
  524. 'sbzy_str'=> $detail['sbzy'],
  525. 'sbdj_str'=> $detail['sbdj'],
  526. 'ch' => $detail['ch'],
  527. ];*/
  528. /*
  529. * 地区: {$extend_info.szsf}/{$extend_info.szcs}<br/>
  530. <span style="display: block;width: 100%;height:5px;"></span>
  531. 申报专业: {$extend_info.sbzy}<br/>
  532. 申报等级: {$extend_info.sbdj}<br/>
  533. */
  534. /*不建立新表了
  535. //评测次数 是否符合 解决方案({$extend_info.sbzy}{$extend_info.sbdj}[协助申报])
  536. //[解决方案]*/
  537. if($is_tg === 1){
  538. $param_k = [
  539. 'form_id'=> $detail['id'],
  540. 'pccs' => 0,
  541. /*'sjhm' => $detail['sjhm'],*/
  542. 'is_tg' => $is_tg,
  543. 'jjfa' => $extend_info['sbzy'].$extend_info['sbdj'].'[协助申报]',
  544. 'xy_info' => json_encode($str_no_err,JSON_UNESCAPED_UNICODE),
  545. ];
  546. }else{
  547. $yy = [];
  548. foreach ($str_no_err as $k => $v) {
  549. foreach ($v as $k1 => $v1) {
  550. foreach ($v1 as $k2 => $v2) {
  551. if(!empty($v2)){
  552. $yy[] = $v2.'[解决方案]';
  553. }
  554. }
  555. }
  556. }
  557. $param_k = [
  558. 'form_id'=> $detail['id'],
  559. 'pccs' => 0,
  560. /*'sjhm' => $detail['sjhm'],*/
  561. 'is_tg' => $is_tg,
  562. 'jjfa' => $yy[0], /*//不符合 总有原因**/
  563. 'xy_info' => json_encode($str_no_err,JSON_UNESCAPED_UNICODE),
  564. ];
  565. }
  566. /*var_dump($param_k);*/
  567. $param_k_json = json_encode($param_k,JSON_UNESCAPED_UNICODE);
  568. ?>
  569. {eyou:else /}
  570. <?php
  571. /*
  572. * 选择地区
  573. * 申报专业
  574. * 选择等级
  575. */
  576. ?>
  577. <fieldset>
  578. <div class="form-top">
  579. <div class="form-title">
  580. <span>职称申报&nbsp;一键测评</span>
  581. </div>
  582. <div class="form-top-left">
  583. <h3>第一步</h3>
  584. <p>选择申报专业与等级:</p>
  585. </div>
  586. <div class="form-top-right">
  587. <!-- <i class="fa fa-user"></i>-->
  588. <img src="/template/pc/js/botstrap-step/img_1.png" />
  589. </div>
  590. </div>
  591. <div class="form-bottom">
  592. <div class="form-group">
  593. <!--<label class="sr-only" for="form-first-name">First name</label>
  594. <input type="text" name="form-first-name" placeholder="First name..." class="form-first-name form-control" id="form-first-name">-->
  595. <select class="form-control" id="choose1" name="yxdq" style="display:none;">
  596. <option value="0">选择地区(可选)</option>
  597. <option value="10001">不限制</option>
  598. <option value="20000">全国</option>
  599. {eyou:sql sql="select id,name from ey_citysite where level=1 and status=1" cachetime='3600' empty='' id='field'}
  600. <option value="{$field.id}">{$field.name}</option>
  601. {/eyou:sql}
  602. </select>
  603. </div>
  604. <div class="form-group" style="margin-bottom: 15px;">
  605. <div class="col-sm-6 col-xs-6" style="padding-left:0px;padding-right:3px;">
  606. <select class="form-control" id="choose11" name="szsf">
  607. <option value="0">选择省份</option> <!--您所在-->
  608. {eyou:sql sql="select id,name from ey_citysite where status=1 and level=1" cachetime='3600' empty='' id='field'}
  609. <option value="{$field.id}">{$field.name}</option>
  610. {/eyou:sql}
  611. </select>
  612. </div>
  613. <div class="col-sm-6 col-xs-6" style="padding-right:0px;padding-left: 3px;">
  614. <select class="form-control" id="choose12" name="szcs">
  615. <option value="0">选择城市</option><!--您所在-->
  616. </select>
  617. </div>
  618. <div class="clear"></div>
  619. </div>
  620. <div class="form-group">
  621. <!-- <label class="sr-only" for="form-last-name">Last name</label>
  622. <input type="text" name="form-last-name" placeholder="Last name..." class="form-last-name form-control" id="form-last-name">-->
  623. <select class="form-control" id="choose2" name="sbzy">
  624. <option value="0">选择申报专业</option>
  625. {eyou:sql sql="select id,title from ey_zc_position where is_del=0 and status=1" cachetime='3600' empty='' id='field'}
  626. <option value="{$field.id}">{$field.title}</option>
  627. {/eyou:sql}
  628. </select>
  629. </div>
  630. <div class="form-group">
  631. <!--<label class="sr-only" for="form-about-yourself">About yourself</label>
  632. <textarea name="form-about-yourself" placeholder="About yourself..."
  633. class="form-about-yourself form-control" id="form-about-yourself"></textarea>-->
  634. <select class="form-control" id="choose3" name="sbdj">
  635. <option value="0" selected>选择申报等级</option>
  636. </select>
  637. </div>
  638. <button type="button" class="btn btn-next">下一步</button>
  639. <button type="button" class="btn but-success but-success2">成功匹配示例</button>
  640. <div class="context-menu-arrow"></div>
  641. </div>
  642. </fieldset>
  643. <?php
  644. /*
  645. * 输入年龄
  646. * 选择学历
  647. * 输入毕业专业
  648. * 选择学校类型
  649. * 选择毕业时间
  650. */
  651. ?>
  652. <fieldset>
  653. <div class="form-top">
  654. <div class="form-title">
  655. <span>职称申报&nbsp;一键测评</span>
  656. </div>
  657. <div class="form-top-left">
  658. <h3>第二步</h3>
  659. <p>个人基本信息:</p>
  660. </div>
  661. <div class="form-top-right">
  662. <!--<i class="fa fa-key"></i>-->
  663. <img src="/template/pc/js/botstrap-step/img_2.png" />
  664. </div>
  665. </div>
  666. <div class="form-bottom">
  667. <div class="form-group">
  668. <!--<label class="sr-only" for="form-email">Email</label>
  669. <input type="text" name="form-email" placeholder="Email..." class="form-email form-control" id="form-email">-->
  670. <select class="form-control" id="choose6" name="nl">
  671. <option value="0">选择年龄</option>
  672. {eyou:for start='18' end='80'}
  673. <option value="{$i}">{$i}岁</option>
  674. {/eyou:for}
  675. </select>
  676. </div>
  677. <div class="form-group">
  678. <!--<label class="sr-only" for="form-password">Password</label>
  679. <input type="password" name="form-password" placeholder="Password..." class="form-password form-control" id="form-password">-->
  680. <select class="form-control" id="choose5" name="xl">
  681. <option value="0">选择学历</option>
  682. <option value="1">中专</option>
  683. <option value="2">高技</option>
  684. <option value="3">大专</option>
  685. <option value="4">本科</option>
  686. <option value="5">硕士</option>
  687. <option value="6">博士</option>
  688. </select>
  689. </div>
  690. <div class="form-group">
  691. <!--<label class="sr-only" for="form-repeat-password">Repeat password</label>
  692. <input type="password" name="form-repeat-password" placeholder="Repeat password..."
  693. class="form-repeat-password form-control" id="form-repeat-password">-->
  694. <select class="form-control" id="choose7" name="xxlx">
  695. <option value="0">选择学校类型</option>
  696. <option value="1">全日制</option>
  697. <option value="2">非全日制</option>
  698. </select>
  699. </div>
  700. <!--<div class="form-group">
  701. <label class="sr-only" for="form-password">Password</label>
  702. <input type="password" name="form-password" placeholder="Password..." class="form-password form-control" id="form-password">
  703. </div>-->
  704. <div class="form-group daterange" style="display:none;">
  705. <label style="margin-left: 5px;">选择毕业时间</label>
  706. <!--range_date-->
  707. <div class="">
  708. <input class="form-control" name="bysj" type="text" value="">
  709. <i class="fa fa-calendar"></i>
  710. </div>
  711. </div>
  712. <?php
  713. $end_year = date('Y', time()) + 1;
  714. /*{eyou:if condition='($i==$end_year)'}selected{/eyou:if}**/
  715. ?>
  716. <select class="form-control" id="choose33" name="bysj2" style="margin-bottom: 15px;">
  717. <option value="0">选择毕业时间</option>
  718. {eyou:for start='1990' end="$end_year"}
  719. <option value="{$i}-07-01">{$i}年</option>
  720. {/eyou:for}
  721. </select>
  722. <div id="zy_box" class="form-group" style="padding-left: 5px;position: relative;">
  723. <label class="col-sm-12 control-label" style="padding-left: 0;">是否以下相关毕业专业:</label>
  724. <div class="col-sm-12" style="padding-left: 0;margin-bottom: 0px;" id="zys">
  725. <!--先初始化证书-->
  726. <!--<p class="form-control-static" style="min-height:20px;padding-top:5px;padding-bottom:0px;">
  727. <font>建筑一级证书</font> <font style="margin-left:15px;">3年</font>
  728. </p>-->
  729. </div>
  730. <div class="col-sm-12" style="padding-left: 0;margin-bottom: 0px;" id="zys-list">
  731. <!--
  732. <span class="hjk">计算机技术</span>
  733. <span class="hjk">计算机网络技术</span>
  734. <span class="hjk">计算机网络技术</span>
  735. <span class="hjk hjk-check">计算机网络技术</span>-->
  736. </div>
  737. <div class="clear"></div>
  738. </div>
  739. <!--<label class="sr-only" for="form-google-plus">Google plus</label>
  740. <input type="text" name="form-google-plus" placeholder="Google plus..." class="form-google-plus form-control" id="form-google-plus">-->
  741. <!--<div class="form-group radio-box" style="padding-left: 7px;">
  742. <label class="radio-inline">
  743. <input type="radio" class="form-control-radio" name="inlineRadioOptions" id="inlineRadio1" value="option1" checked> 是
  744. </label>
  745. <label class="radio-inline">
  746. <input type="radio" class="form-control-radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> 否
  747. </label>
  748. </div>-->
  749. <!--<label class="sr-only" for="form-repeat-password">Repeat password</label>
  750. <input type="password" name="form-repeat-password" placeholder="Repeat password..."
  751. class="form-repeat-password form-control" id="form-repeat-password">-->
  752. <!--<div class="form-group">
  753. <input type="text" name="form-first-name" value="默认" placeholder="请输入毕业专业" class="form-first-name form-control" id="form-first-name">
  754. </div>-->
  755. <button type="button" class="btn btn-previous">上一步</button>
  756. <button type="button" class="btn btn-next">下一步</button>
  757. </div>
  758. </fieldset>
  759. <?php
  760. /* (使用是否 问答形式)
  761. * 已有证书
  762. * 时间年限
  763. * 工作要求 (结果展示)
  764. * 其他条件 (结果展示)
  765. */
  766. ?>
  767. <fieldset>
  768. <div class="form-top">
  769. <div class="form-title">
  770. <span>职称申报&nbsp;一键测评</span>
  771. </div>
  772. <div class="form-top-left">
  773. <h3>第三步</h3>
  774. <p>前置条件咨询:</p>
  775. </div>
  776. <div class="form-top-right">
  777. <!--<i class="fa fa-twitter"></i>-->
  778. <img src="/template/pc/js/botstrap-step/img_3.png" />
  779. </div>
  780. </div>
  781. <div class="form-bottom">
  782. <!--<div class="form-group">
  783. <label class="sr-only" for="form-facebook">Facebook</label>
  784. <input type="text" name="form-facebook" placeholder="Facebook..." class="form-facebook form-control" id="form-facebook">
  785. </div>
  786. <div class="form-group">
  787. <label class="sr-only" for="form-twitter">Twitter</label>
  788. <input type="text" name="form-twitter" placeholder="Twitter..." class="form-twitter form-control" id="form-twitter">
  789. </div>-->
  790. <?php
  791. //没法判断要不要 是在匹配结果去展示
  792. ?>
  793. <!--<div class="form-group">
  794. <label class="col-sm-2 control-label" style="padding-left: 0;">本申报专业是否要求前置证书</label>
  795. <div class="col-sm-10" style="padding-left: 0;">
  796. <p class="form-control-static">
  797. <font style="color:red;">需要</font>
  798. </p>
  799. <p class="form-control-static">
  800. <font style="color:red;">不需要</font>
  801. </p>
  802. <p class="form-control-static">
  803. <font style="color:red;">请点击进行下一步</font>
  804. </p>
  805. </div>
  806. </div>-->
  807. <div class="form-group">
  808. <label class="col-sm-12 control-label" style="padding-left: 0;">选择相关证书以及时间年限</label>
  809. <div class="col-sm-12" style="padding-left: 0;margin-bottom: 15px;" id="zss">
  810. <!--<p class="form-control-static" style="min-height:20px;padding-top:5px;padding-bottom:0px;">
  811. <font>建筑一级证书</font> <font style="margin-left:15px;">3年</font>
  812. </p>
  813. <p class="form-control-static" style="min-height:20px;padding-top:5px;padding-bottom:0px;">
  814. <font>建筑一级证书</font> <font style="margin-left:15px;">3年</font>
  815. </p>-->
  816. </div>
  817. <div class="clear"></div>
  818. <input type="hidden" id="zhengshu_val" name="zhengshu_val" value="" />
  819. </div>
  820. <!--<label class="sr-only" for="form-google-plus">Google plus</label>
  821. <input type="text" name="form-google-plus" placeholder="Google plus..." class="form-google-plus form-control" id="form-google-plus">-->
  822. <!--<div class="form-group radio-box">
  823. <label class="radio-inline">
  824. <input type="radio" class="form-control-radio" name="inlineRadioOptions2" id="inlineRadio12" value="option1" checked> 有
  825. </label>
  826. <label class="radio-inline">
  827. <input type="radio" class="form-control-radio" name="inlineRadioOptions2" id="inlineRadio22" value="option2"> 无
  828. </label>
  829. </div>-->
  830. <button type="button" class="btn btn-previous">上一步</button>
  831. <button type="button" class="btn btn-next" id="jumpBtn">下一步</button>
  832. </div>
  833. </fieldset>
  834. <?php
  835. /*
  836. * 姓名
  837. * 手机号码
  838. * 验证码
  839. * 获取结果-提交表单
  840. */
  841. ?>
  842. <fieldset>
  843. <div class="form-top">
  844. <div class="form-title">
  845. <span>职称申报&nbsp;一键测评</span>
  846. </div>
  847. <div class="form-top-left">
  848. <h3>第四步</h3>
  849. <p>请填写您用于接收匹配结果的手机号码:</p>
  850. </div>
  851. <div class="form-top-right">
  852. <!--<i class="fa fa-twitter"></i>-->
  853. <img src="/template/pc/js/botstrap-step/img_4.png" />
  854. </div>
  855. </div>
  856. <div class="form-bottom">
  857. <div class="form-group">
  858. <input type="text" name="ch" value="" placeholder="请输入称呼" class="form-first-name form-control" id="per-name">
  859. </div>
  860. <div class="form-group">
  861. <input type="text" name="sjhm" value="" placeholder="请输入手机号码" class="form-first-name form-control" id="per-phone">
  862. </div>
  863. <div class="form-group" style="position:relative;">
  864. <input type="text" name="yzm" value="" placeholder="请输入验证码" class="form-first-name form-control" id="per-code" style="width:60%;">
  865. <button type="button" class="btn btn-default get-code get-code-hover email-retrieve-code" id="retrieve-code" style="width: 38%;position:absolute;right: 0;top: 0;background-color:#3366ff !important;padding: 0 7px;height:43px;">获取验证码</button>
  866. </div>
  867. <input type="hidden" name="__mobile_1_token__" value="" id="token" />
  868. <button type="button" class="btn btn-previous">上一步</button>
  869. <button type="submit" class="btn">获取结果</button>
  870. </div>
  871. </fieldset>
  872. {/eyou:if}
  873. </form>
  874. </div>
  875. </div>
  876. </div>
  877. </div>
  878. </div>
  879. </div>
  880. {eyou:if condition='($is_mobile === false)'}
  881. <div class="col-sm-6 col-sm-offset-3 form-box" id="sele-box" style="padding-top:0;padding-bottom: 50px;text-align: left;margin-top:-60px;">
  882. <form class="form-inline form-inline-pc">
  883. <div class="form-group" style="float: left;width: 100%;height: 20px;margin-bottom:5px;text-align: left;">
  884. <label class="form-info-t" for="exampleInputFile" style="color: #fff;">如果您提交过资料信息:</label>
  885. </div>
  886. <div class="form-group" style="text-align: left;width: 100%;float: left;width: 100%;margin-bottom:5px;text-align: center;">
  887. <label class="sr-only" for="form-first-name">请输入手机号码</label>
  888. <input type="text" name="p" placeholder="请输入手机号码" class="form-first-name form-control" id="ffnp" value="<?php echo $param['p']?$param['p']:$detail['sjhm']; ?>" style="width: 170px;">
  889. <input type="hidden" name="t" value="" id="times"/>
  890. <input type="text" name="cxyzm" value="" placeholder="请输入验证码" class="form-first-name form-control" id="cx-code" style="width: 150px;float: left;margin-left:5px;">
  891. <button type="button" class="btn btn-default get-code get-code-hover email-retrieve-code" id="cx-rel-code" style="background-color:#3366ff !important;padding: 0 7px;width: 116px;float: left;">获取验证码</button>
  892. <button type="submit" id="cx-submit" class="btn btn-default btn-sm" onclick="return false;" style="float: left;margin-left: 5px;">立即查询</button>
  893. </div>
  894. <div class="form-group" style="position:relative;float: left;width: 100%;height: 50px;margin-bottom:5px;text-align: center;">
  895. </div>
  896. <div class="form-group" style="float: left;width: 100%;height: 50px;margin-bottom:5px;">
  897. </div>
  898. <div class="clear"></div>
  899. </form>
  900. </div>
  901. {eyou:else /}
  902. <div class="col-sm-6 col-sm-offset-3 form-box" id="sele-box" style="padding-top:0;padding-bottom: 50px;text-align: left;margin-top:-60px;">
  903. <form class="form-inline">
  904. <div class="form-group" style="text-align: left;width: 100%;float: left;width: 100%;margin-bottom:5px;">
  905. <label for="exampleInputFile" style="color: #fff;">如果您提交过资料信息:</label>
  906. <label class="sr-only" for="form-first-name">请输入手机号码</label>
  907. <input type="text" name="p" placeholder="请输入手机号码" class="form-first-name form-control" id="ffnp" value="<?php echo $param['p']?$param['p']:$detail['sjhm']; ?>" >
  908. <input type="hidden" name="t" value="" id="times"/>
  909. </div>
  910. <div class="form-group" style="position:relative;float: left;width: 100%;height: 50px;margin-bottom:5px;">
  911. <input type="text" name="cxyzm" value="" placeholder="请输入验证码" class="form-first-name form-control" id="cx-code" style="position:absolute;left:0;width: 64%;">
  912. <button type="button" class="btn btn-default get-code get-code-hover email-retrieve-code" id="cx-rel-code" style="background-color:#19b9e7 !important;padding: 0 7px;position:absolute;right:0;width: 36%;">获取验证码</button>
  913. </div>
  914. <div class="form-group" style="float: left;width: 100%;height: 50px;margin-bottom:5px;">
  915. <button type="submit" id="cx-submit" class="btn btn-default btn-sm" onclick="return false;">立即查询</button>
  916. </div>
  917. <div class="clear"></div>
  918. </form>
  919. </div>
  920. {/eyou:if}
  921. <style>
  922. @media (min-width: 768px){
  923. #sele-box{
  924. text-align: center !important;
  925. margin-top:-100px !important;
  926. padding-bottom: 70px !important;
  927. }
  928. }
  929. </style>
  930. <!-- 加载状态 -->
  931. <div class="modal" id="loadingModal" tabindex="-1">
  932. <div class="modal-dialog">
  933. <div class="modal-content">
  934. <div class="modal-body text-center">
  935. <div class="spinner-border text-primary" role="status">
  936. <span class="visually-hidden">Loading...</span>
  937. </div>
  938. <!-- <p>Loading...</p>-->
  939. </div>
  940. </div>
  941. </div>
  942. </div>
  943. <div class="modal fade" tabindex="-1" role="dialog" id="myModal">
  944. <div class="modal-dialog" role="document">
  945. <div class="modal-content">
  946. <div class="modal-header" style="padding: 8px;">
  947. <button type="button" class="close" data-dismiss="modal" aria-label="Close" style="font-size: 24px;"><span aria-hidden="true">&times;</span></button>
  948. <h4 class="modal-title">提示</h4>
  949. </div>
  950. <div class="modal-body">
  951. <p>One fine body&hellip;</p>
  952. </div>
  953. <div class="modal-footer">
  954. <button type="button" class="btn btn-default" data-dismiss="modal" style="height: 30px;line-height: 30px;">关闭</button>
  955. <!--<button type="button" class="btn btn-primary">Save changes</button>-->
  956. </div>
  957. </div><!-- /.modal-content -->
  958. </div><!-- /.modal-dialog -->
  959. </div><!-- /.modal -->