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 61KB

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