暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

step.htm 60KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169
  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}">{$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. {eyou:if condition='($detail.yxdq > 0 && $detail.yxdq < 10001)'}
  484. <?php
  485. $yxdi_id = $detail['yxdq'];
  486. $sql_end = ' and sf='.$yxdi_id;
  487. $scen = '抱歉!暂时未找到<预选地区>相关匹配结果信息!';
  488. $t = "预选地区";
  489. ?>
  490. {eyou:include file='/template/pc/components/index/kop.htm' /}
  491. <?php
  492. $yxdi_id = $detail['yxdq'];
  493. $sql_end = ' and sf!='.$yxdi_id;
  494. $scen = '抱歉!暂时未找到<其他区域>相关匹配结果信息!';
  495. $t = "其他推荐地区";
  496. ?>
  497. {eyou:include file='/template/pc/components/index/kop.htm' /}
  498. {eyou:else /}
  499. <?php
  500. //现在没有所谓预选和其他推荐的区分
  501. $sql_end = '';
  502. $t = '';
  503. $scen = '抱歉!暂时未找到相关匹配结果信息!';
  504. ?>
  505. {eyou:include file='/template/pc/components/index/kop.htm' /}
  506. {/eyou:if}
  507. {/eyou:if}
  508. <!--<button type="button" class="btn btn-previous">上一步</button>
  509. <button type="button" class="btn btn-next">下一步</button>-->
  510. <button type="button" class="btn" onclick="location.href='https://www.zc10000.com/cp'">
  511. 重新匹配
  512. </button>
  513. {eyou:if condition='($is_detail > 0)'}
  514. {eyou:if condition='($is_tg === 1)'}
  515. <button type="button" class="btn" id="zxfy">
  516. 咨询费用
  517. </button>
  518. {eyou:else /}
  519. <button type="button" class="btn" id="jjfa">
  520. 解决方案
  521. </button>
  522. {/eyou:if}
  523. {/eyou:if}
  524. <!--<button type="button" class="btn">下载文档</button>
  525. <button type="button" class="btn">分享结果</button>-->
  526. <!--<span id="helpBlock" class="help-block">
  527. 点击分享本次结果<br/>
  528. 或<br/>
  529. 保存本次结果为文档下载 (生成execl功能或者word功能或者图片)<br/>
  530. </span>-->
  531. </div>
  532. </fieldset>
  533. <?php
  534. /*
  535. * //构建保存参数
  536. //不做冗余 规则变 提交信息不变 结果就会变
  537. //规则和结果都不做冗余
  538. */
  539. /*$data = [
  540. 'sjhm'=> $detail['sjhm'],
  541. 'code'=> $detail['code'],
  542. 'form_id'=> $detail['id'],
  543. 'sbzy'=> $detail['sbzy'],
  544. 'sbdj'=> $detail['sbdj'],
  545. 'sbzy_str'=> $detail['sbzy'],
  546. 'sbdj_str'=> $detail['sbdj'],
  547. 'ch' => $detail['ch'],
  548. ];*/
  549. /*
  550. * 地区: {$extend_info.szsf}/{$extend_info.szcs}<br/>
  551. <span style="display: block;width: 100%;height:5px;"></span>
  552. 申报专业: {$extend_info.sbzy}<br/>
  553. 申报等级: {$extend_info.sbdj}<br/>
  554. */
  555. /*不建立新表了
  556. //评测次数 是否符合 解决方案({$extend_info.sbzy}{$extend_info.sbdj}[协助申报])
  557. //[解决方案]*/
  558. if($is_tg === 1){
  559. $param_k = [
  560. 'form_id'=> $detail['id'],
  561. 'pccs' => 0,
  562. /*'sjhm' => $detail['sjhm'],*/
  563. 'is_tg' => $is_tg,
  564. 'jjfa' => $extend_info['sbzy'].$extend_info['sbdj'].'[协助申报]',
  565. 'xy_info' => json_encode($str_no_err,JSON_UNESCAPED_UNICODE),
  566. ];
  567. }else{
  568. $yy = [];
  569. foreach ($str_no_err as $k => $v) {
  570. foreach ($v as $k1 => $v1) {
  571. foreach ($v1 as $k2 => $v2) {
  572. if(!empty($v2)){
  573. $yy[] = $v2.'[解决方案]';
  574. }
  575. }
  576. }
  577. }
  578. $param_k = [
  579. 'form_id'=> $detail['id'],
  580. 'pccs' => 0,
  581. /*'sjhm' => $detail['sjhm'],*/
  582. 'is_tg' => $is_tg,
  583. 'jjfa' => $yy[0], /*//不符合 总有原因**/
  584. 'xy_info' => json_encode($str_no_err,JSON_UNESCAPED_UNICODE),
  585. ];
  586. }
  587. /*var_dump($param_k);*/
  588. $param_k_json = json_encode($param_k,JSON_UNESCAPED_UNICODE);
  589. ?>
  590. {eyou:else /}
  591. <?php
  592. /*
  593. * 选择地区
  594. * 申报专业
  595. * 选择等级
  596. */
  597. ?>
  598. <fieldset>
  599. <div class="form-top">
  600. <div class="form-title">
  601. <span>职称申报&nbsp;一键测评</span>
  602. </div>
  603. <div class="form-top-left">
  604. <h3>第一步</h3>
  605. <p>选择申报专业:</p>
  606. </div>
  607. <div class="form-top-right">
  608. <!-- <i class="fa fa-user"></i>-->
  609. <img src="/template/pc/js/botstrap-step/img_1.png" />
  610. </div>
  611. </div>
  612. <div class="form-bottom">
  613. <div class="form-group">
  614. <!--<label class="sr-only" for="form-first-name">First name</label>
  615. <input type="text" name="form-first-name" placeholder="First name..." class="form-first-name form-control" id="form-first-name">-->
  616. <select class="form-control" id="choose1" name="yxdq" style="display:none;">
  617. <option value="0">选择地区(可选)</option>
  618. <option value="10001">不限制</option>
  619. <option value="20000">全国</option>
  620. {eyou:sql sql="select id,name from ey_citysite where level=1 and status=1" cachetime='3600' empty='' id='field'}
  621. <option value="{$field.id}">{$field.name}</option>
  622. {/eyou:sql}
  623. </select>
  624. </div>
  625. <div class="form-group" style="margin-bottom: 15px;">
  626. <div class="col-sm-6 col-xs-6" style="padding-left:0px;padding-right:3px;">
  627. <select class="form-control" id="choose11" name="szsf">
  628. <option value="0">选择省份</option> <!--您所在-->
  629. {eyou:sql sql="select id,name from ey_citysite where level=1" cachetime='3600' empty='' id='field'}
  630. <option value="{$field.id}">{$field.name}</option>
  631. {/eyou:sql}
  632. </select>
  633. </div>
  634. <div class="col-sm-6 col-xs-6" style="padding-right:0px;padding-left: 3px;">
  635. <select class="form-control" id="choose12" name="szcs">
  636. <option value="0">选择城市</option><!--您所在-->
  637. </select>
  638. </div>
  639. <div class="clear"></div>
  640. </div>
  641. <div class="form-group">
  642. <!-- <label class="sr-only" for="form-last-name">Last name</label>
  643. <input type="text" name="form-last-name" placeholder="Last name..." class="form-last-name form-control" id="form-last-name">-->
  644. <select class="form-control" id="choose2" name="sbzy">
  645. <option value="0">选择申报类目</option>
  646. {eyou:sql sql="select id,title from ey_zc_position where is_del=0 and status=1" cachetime='3600' empty='' id='field'}
  647. <option value="{$field.id}">{$field.title}</option>
  648. {/eyou:sql}
  649. </select>
  650. </div>
  651. <!--增加申报专业--->
  652. <div class="form-group">
  653. <select class="form-control" id="choose36" name="sbzyson">
  654. <option value="0" selected>选择申报专业</option>
  655. </select>
  656. </div>
  657. <button type="button" class="btn btn-next">下一步</button>
  658. <button type="button" class="btn but-success">成功匹配示例</button>
  659. <div class="context-menu-arrow"></div>
  660. </div>
  661. </fieldset>
  662. <?php
  663. /*
  664. * 输入年龄
  665. * 选择学历
  666. * 输入毕业专业
  667. * 选择学校类型
  668. * 选择毕业时间
  669. */
  670. ?>
  671. <fieldset>
  672. <div class="form-top">
  673. <div class="form-title">
  674. <span>职称申报&nbsp;一键测评</span>
  675. </div>
  676. <div class="form-top-left">
  677. <h3>第二步</h3>
  678. <p>个人基本信息:</p>
  679. </div>
  680. <div class="form-top-right">
  681. <!--<i class="fa fa-key"></i>-->
  682. <img src="/template/pc/js/botstrap-step/img_2.png" />
  683. </div>
  684. </div>
  685. <div class="form-bottom">
  686. <div class="form-group">
  687. <!--<label class="sr-only" for="form-about-yourself">About yourself</label>
  688. <textarea name="form-about-yourself" placeholder="About yourself..."
  689. class="form-about-yourself form-control" id="form-about-yourself"></textarea>-->
  690. <select class="form-control" id="choose3" name="sbdj">
  691. <option value="0" selected>选择申报等级</option>
  692. </select>
  693. </div>
  694. <div class="form-group">
  695. <!--<label class="sr-only" for="form-email">Email</label>
  696. <input type="text" name="form-email" placeholder="Email..." class="form-email form-control" id="form-email">-->
  697. <select class="form-control" id="choose6" name="nl">
  698. <option value="0">选择年龄</option>
  699. {eyou:for start='18' end='80'}
  700. <option value="{$i}">{$i}岁</option>
  701. {/eyou:for}
  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. <select class="form-control" id="choose5" name="xl">
  708. <option value="0">选择学历</option>
  709. <option value="1">中专</option>
  710. <option value="2">高技</option>
  711. <option value="3">大专</option>
  712. <option value="4">本科</option>
  713. <option value="5">硕士</option>
  714. <option value="6">博士</option>
  715. </select>
  716. </div>
  717. <div class="form-group">
  718. <!--<label class="sr-only" for="form-repeat-password">Repeat password</label>
  719. <input type="password" name="form-repeat-password" placeholder="Repeat password..."
  720. class="form-repeat-password form-control" id="form-repeat-password">-->
  721. <select class="form-control" id="choose7" name="xxlx">
  722. <option value="0">选择学校类型</option>
  723. <option value="1">全日制</option>
  724. <option value="2">非全日制</option>
  725. </select>
  726. </div>
  727. <!--<div class="form-group">
  728. <label class="sr-only" for="form-password">Password</label>
  729. <input type="password" name="form-password" placeholder="Password..." class="form-password form-control" id="form-password">
  730. </div>-->
  731. <div class="form-group daterange" style="display:none;">
  732. <label style="margin-left: 5px;">选择毕业时间</label>
  733. <!--range_date-->
  734. <div class="">
  735. <input class="form-control" name="bysj" type="text" value="">
  736. <i class="fa fa-calendar"></i>
  737. </div>
  738. </div>
  739. <?php
  740. $end_year = date('Y', time()) + 1;
  741. /*{eyou:if condition='($i==$end_year)'}selected{/eyou:if}**/
  742. ?>
  743. <select class="form-control" id="choose33" name="bysj2" style="margin-bottom: 15px;">
  744. <option value="0">选择毕业时间</option>
  745. {eyou:for start='1990' end="$end_year"}
  746. <option value="{$i}-07-01">{$i}年</option>
  747. {/eyou:for}
  748. </select>
  749. <div id="zy_box" class="form-group" style="padding-left: 5px;position: relative;display: none;">
  750. <label class="col-sm-12 control-label" style="padding-left: 0;">是否以下相关学校毕业专业:</label>
  751. <div class="col-sm-12" style="padding-left: 0;margin-bottom: 0px;" id="zys">
  752. <!--先初始化证书-->
  753. <!--<p class="form-control-static" style="min-height:20px;padding-top:5px;padding-bottom:0px;">
  754. <font>建筑一级证书</font> <font style="margin-left:15px;">3年</font>
  755. </p>-->
  756. </div>
  757. <div class="col-sm-12" style="padding-left: 0;margin-bottom: 0px;" id="zys-list">
  758. <!--
  759. <span class="hjk">计算机技术</span>
  760. <span class="hjk">计算机网络技术</span>
  761. <span class="hjk">计算机网络技术</span>
  762. <span class="hjk hjk-check">计算机网络技术</span>-->
  763. </div>
  764. <div class="clear"></div>
  765. </div>
  766. <!--复制--->
  767. <div id="zy_box66" class="form-group" style="padding-left: 5px;position: relative;">
  768. <label class="col-sm-12 control-label" style="padding-left: 0;">学校毕业专业是否与申报专业一致:</label>
  769. <div class="col-sm-12" style="padding-left: 0;margin-bottom: 0px;margin-top:5px;" id="zys66">
  770. <label class="radio-inline" style="line-height: 24px;color: #666;margin-left: 2px;">
  771. <input type="radio" class="form-control-radio byzy-is" name="byzy-is" id="inlineRadio1-zy" value="1" checked> 是
  772. </label>
  773. <label class="radio-inline" style="line-height: 24px;color: #666;margin-left:15px;">
  774. <input type="radio" class="form-control-radio byzy-is" name="byzy-is" id="inlineRadio2-zy" value="0"> 否
  775. </label>
  776. </div>
  777. <div class="col-sm-12" style="padding-left: 0;margin-bottom: 0px;" id="zys-list66">
  778. </div>
  779. <div class="clear"></div>
  780. </div>
  781. <div class="form-group" style="display: none;" id="byzy-name-p">
  782. <input type="text" name="byzy-name" value="" placeholder="请输入毕业专业" class="form-first-name form-control" id="byzy-name">
  783. </div>
  784. <!--<label class="sr-only" for="form-google-plus">Google plus</label>
  785. <input type="text" name="form-google-plus" placeholder="Google plus..." class="form-google-plus form-control" id="form-google-plus">-->
  786. <!--<div class="form-group radio-box" style="padding-left: 7px;">
  787. <label class="radio-inline">
  788. <input type="radio" class="form-control-radio" name="inlineRadioOptions" id="inlineRadio1" value="option1" checked> 是
  789. </label>
  790. <label class="radio-inline">
  791. <input type="radio" class="form-control-radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> 否
  792. </label>
  793. </div>-->
  794. <!--<label class="sr-only" for="form-repeat-password">Repeat password</label>
  795. <input type="password" name="form-repeat-password" placeholder="Repeat password..."
  796. class="form-repeat-password form-control" id="form-repeat-password">-->
  797. <!--<div class="form-group">
  798. <input type="text" name="form-first-name" value="默认" placeholder="请输入毕业专业" class="form-first-name form-control" id="form-first-name">
  799. </div>-->
  800. <button type="button" class="btn btn-previous">上一步</button>
  801. <button type="button" class="btn btn-next">下一步</button>
  802. </div>
  803. </fieldset>
  804. <?php
  805. /* (使用是否 问答形式)
  806. * 已有证书
  807. * 时间年限
  808. * 工作要求 (结果展示)
  809. * 其他条件 (结果展示)
  810. */
  811. ?>
  812. <fieldset>
  813. <div class="form-top">
  814. <div class="form-title">
  815. <span>职称申报&nbsp;一键测评</span>
  816. </div>
  817. <div class="form-top-left">
  818. <h3>第三步</h3>
  819. <p>前置条件咨询:</p>
  820. </div>
  821. <div class="form-top-right">
  822. <!--<i class="fa fa-twitter"></i>-->
  823. <img src="/template/pc/js/botstrap-step/img_3.png" />
  824. </div>
  825. </div>
  826. <div class="form-bottom">
  827. <!--<div class="form-group">
  828. <label class="sr-only" for="form-facebook">Facebook</label>
  829. <input type="text" name="form-facebook" placeholder="Facebook..." class="form-facebook form-control" id="form-facebook">
  830. </div>
  831. <div class="form-group">
  832. <label class="sr-only" for="form-twitter">Twitter</label>
  833. <input type="text" name="form-twitter" placeholder="Twitter..." class="form-twitter form-control" id="form-twitter">
  834. </div>-->
  835. <?php
  836. //没法判断要不要 是在匹配结果去展示
  837. ?>
  838. <!--<div class="form-group">
  839. <label class="col-sm-2 control-label" style="padding-left: 0;">本申报专业是否要求前置证书</label>
  840. <div class="col-sm-10" style="padding-left: 0;">
  841. <p class="form-control-static">
  842. <font style="color:red;">需要</font>
  843. </p>
  844. <p class="form-control-static">
  845. <font style="color:red;">不需要</font>
  846. </p>
  847. <p class="form-control-static">
  848. <font style="color:red;">请点击进行下一步</font>
  849. </p>
  850. </div>
  851. </div>-->
  852. <div class="form-group zsssfg">
  853. <label class="col-sm-12 control-label" style="padding-left: 0;">选择相关证书以及时间年限</label>
  854. <div class="col-sm-12" style="padding-left: 0;margin-bottom: 15px;" id="zss" data="" datac="" datad="">
  855. <!--<p class="form-control-static" style="min-height:20px;padding-top:5px;padding-bottom:0px;">
  856. <font>建筑一级证书</font> <font style="margin-left:15px;">3年</font>
  857. </p>
  858. <p class="form-control-static" style="min-height:20px;padding-top:5px;padding-bottom:0px;">
  859. <font>建筑一级证书</font> <font style="margin-left:15px;">3年</font>
  860. </p>-->
  861. </div>
  862. <div class="clear"></div>
  863. <input type="hidden" id="zhengshu_val" name="zhengshu_val" value="" />
  864. </div>
  865. <!--<label class="sr-only" for="form-google-plus">Google plus</label>
  866. <input type="text" name="form-google-plus" placeholder="Google plus..." class="form-google-plus form-control" id="form-google-plus">-->
  867. <!--<div class="form-group radio-box">
  868. <label class="radio-inline">
  869. <input type="radio" class="form-control-radio" name="inlineRadioOptions2" id="inlineRadio12" value="option1" checked> 有
  870. </label>
  871. <label class="radio-inline">
  872. <input type="radio" class="form-control-radio" name="inlineRadioOptions2" id="inlineRadio22" value="option2"> 无
  873. </label>
  874. </div>-->
  875. <button type="button" class="btn btn-previous" id="jumpBtn2">上一步</button>
  876. <button type="button" class="btn btn-next" id="jumpBtn">下一步</button>
  877. </div>
  878. </fieldset>
  879. <?php
  880. /*
  881. * 姓名
  882. * 手机号码
  883. * 验证码
  884. * 获取结果-提交表单
  885. */
  886. ?>
  887. <fieldset>
  888. <div class="form-top">
  889. <div class="form-title">
  890. <span>职称申报&nbsp;一键测评</span>
  891. </div>
  892. <div class="form-top-left">
  893. <h3>第四步</h3>
  894. <p>请填写您用于接收匹配结果的手机号码:</p> <!--请填写您用于接收匹配结果的手机号码:--> <!--请填写您的手机号码进行安全验证:-->
  895. </div>
  896. <div class="form-top-right">
  897. <!--<i class="fa fa-twitter"></i>-->
  898. <img src="/template/pc/js/botstrap-step/img_4.png" />
  899. </div>
  900. </div>
  901. <div class="form-bottom fdtgry">
  902. <div class="form-group">
  903. <input type="text" name="ch" value="" placeholder="请输入称呼" class="form-first-name form-control" id="per-name">
  904. </div>
  905. <div class="form-group">
  906. <input type="text" name="sjhm" value="" placeholder="请输入手机号码" class="form-first-name form-control" id="per-phone">
  907. </div>
  908. <div class="form-group" style="position:relative;">
  909. <input type="text" name="yzm" value="" placeholder="请输入验证码" class="form-first-name form-control" id="per-code" style="width:60%;">
  910. <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>
  911. </div>
  912. <input type="hidden" name="__mobile_1_token__" value="" id="token" />
  913. <button type="button" class="btn btn-previous">上一步</button>
  914. <button type="submit" class="btn">获取结果</button>
  915. </div>
  916. </fieldset>
  917. {/eyou:if}
  918. </form>
  919. </div>
  920. </div>
  921. </div>
  922. </div>
  923. </div>
  924. </div>
  925. {eyou:if condition='($is_mobile === false)'}
  926. <div class="center-div center-div-uo" style="height:410px;width:100%;">
  927. </div>
  928. <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;">
  929. <form class="form-inline form-inline-pc">
  930. <div class="form-group" style="float: left;width: 100%;height: 20px;margin-bottom:5px;text-align: left;">
  931. <label class="form-info-t" for="exampleInputFile" style="color: #fff;">如果您提交过资料信息:</label>
  932. </div>
  933. <div class="form-group" style="text-align: left;width: 100%;float: left;width: 100%;margin-bottom:5px;text-align: center;">
  934. <label class="sr-only" for="form-first-name">请输入手机号码</label>
  935. <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;">
  936. <input type="hidden" name="t" value="" id="times"/>
  937. <input type="text" name="cxyzm" value="" placeholder="请输入验证码" class="form-first-name form-control" id="cx-code" style="width: 150px;float: left;margin-left:5px;">
  938. <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>
  939. <button type="submit" id="cx-submit" class="btn btn-default btn-sm" onclick="return false;" style="float: left;margin-left: 5px;">立即查询</button>
  940. </div>
  941. <div class="form-group" style="position:relative;float: left;width: 100%;height: 50px;margin-bottom:5px;text-align: center;">
  942. </div>
  943. <div class="form-group" style="float: left;width: 100%;height: 50px;margin-bottom:5px;">
  944. </div>
  945. <div class="clear"></div>
  946. </form>
  947. </div>
  948. {eyou:else /}
  949. <div class="center-div" style="height:410px;width:100%;">
  950. </div>
  951. <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;">
  952. <form class="form-inline">
  953. <div style="width:100%;">
  954. <label for="exampleInputFile" style="color: #fff;font-size:16px;">如果您提交过资料信息:</label>
  955. </div>
  956. <div class="form-group" style="text-align: left;width: 100%;float: left;width: 100%;margin-bottom:5px;">
  957. <label class="sr-only" for="form-first-name">请输入手机号码</label>
  958. <input type="text" name="p" placeholder="请输入手机号码" class="form-first-name form-control" id="ffnp" value="<?php echo $param['p']?$param['p']:$detail['sjhm']; ?>" >
  959. <input type="hidden" name="t" value="" id="times"/>
  960. </div>
  961. <div class="form-group" style="position:relative;float: left;width: 100%;height: 40px;margin-bottom:5px;">
  962. <input type="text" name="cxyzm" value="" placeholder="请输入验证码" class="form-first-name form-control" id="cx-code" style="position:absolute;left:0;width: 64%;">
  963. <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>
  964. </div>
  965. <div class="form-group" style="float: left;width: 100%;height: 50px;margin-bottom:5px;">
  966. <button type="submit" id="cx-submit" class="btn btn-default btn-sm" onclick="return false;">立即查询</button>
  967. </div>
  968. <div class="clear"></div>
  969. </form>
  970. </div>
  971. {/eyou:if}
  972. <style>
  973. @media (min-width: 768px){
  974. #sele-box{
  975. /*text-align: center !important;
  976. margin-top:-100px !important;
  977. padding-bottom: 70px !important;*/
  978. }
  979. }
  980. </style>
  981. <!-- 加载状态 -->
  982. <div class="modal" id="loadingModal" tabindex="-1">
  983. <div class="modal-dialog">
  984. <div class="modal-content">
  985. <div class="modal-body text-center">
  986. <div class="spinner-border text-primary" role="status">
  987. <span class="visually-hidden">Loading...</span>
  988. </div>
  989. <!-- <p>Loading...</p>-->
  990. </div>
  991. </div>
  992. </div>
  993. </div>
  994. <div class="modal fade" tabindex="-1" role="dialog" id="myModal">
  995. <div class="modal-dialog" role="document">
  996. <div class="modal-content">
  997. <div class="modal-header" style="padding: 8px;">
  998. <button type="button" class="close" data-dismiss="modal" aria-label="Close" style="font-size: 24px;"><span aria-hidden="true">&times;</span></button>
  999. <h4 class="modal-title">提示</h4>
  1000. </div>
  1001. <div class="modal-body">
  1002. <p>One fine body&hellip;</p>
  1003. </div>
  1004. <div class="modal-footer">
  1005. <button type="button" class="btn btn-default" data-dismiss="modal" style="height: 30px;line-height: 30px;">关闭</button>
  1006. <!--<button type="button" class="btn btn-primary">Save changes</button>-->
  1007. </div>
  1008. </div><!-- /.modal-content -->
  1009. </div><!-- /.modal-dialog -->
  1010. </div><!-- /.modal -->
  1011. <style>
  1012. .night{
  1013. color: #333 !important;
  1014. }
  1015. </style>