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

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