Your Name 5 月之前
父節點
當前提交
2eb1956bdc

+ 17
- 4
application/api/controller/Diyajax.php 查看文件

556
             'byzy_is' => $param['byzy-is'],
556
             'byzy_is' => $param['byzy-is'],
557
             'byzy_name' => $param['byzy-name'],
557
             'byzy_name' => $param['byzy-name'],
558
             'sbzyson' => $param['sbzyson'],
558
             'sbzyson' => $param['sbzyson'],
559
+            'diqu' => '<div></div>',
559
         ];
560
         ];
560
         $res_id = Db::name('zc_form')->insertGetId($insertData);
561
         $res_id = Db::name('zc_form')->insertGetId($insertData);
561
         if($res_id > 0){
562
         if($res_id > 0){
657
                     'is_tg' => (int)$param['is_tg'],
658
                     'is_tg' => (int)$param['is_tg'],
658
                     'jjfa' => $param['jjfa'],
659
                     'jjfa' => $param['jjfa'],
659
                     'xy_info' => $param['xy_info'],
660
                     'xy_info' => $param['xy_info'],
661
+                    'diqu' => $param['diqu'],
660
                 ];
662
                 ];
661
                 //更新表单数据
663
                 //更新表单数据
662
                 $list = Db::name('zc_form')
664
                 $list = Db::name('zc_form')
675
     {
677
     {
676
         $list = Db::name('zc_form')
678
         $list = Db::name('zc_form')
677
             //->where('pccs', 1) //同一号码 只调用一次
679
             //->where('pccs', 1) //同一号码 只调用一次
678
-            ->field('id,ch,sjhm,is_tg,jjfa,extend')
680
+            ->field('id,ch,sjhm,is_tg,jjfa,extend,diqu')
679
             ->where('is_del', 0)
681
             ->where('is_del', 0)
680
             ->where('pccs', '>',0)
682
             ->where('pccs', '>',0)
681
             ->order('updatetime desc')
683
             ->order('updatetime desc')
687
         foreach ($list as $key => $item) {
689
         foreach ($list as $key => $item) {
688
             $item['is_tg_n'] = $item['is_tg'];
690
             $item['is_tg_n'] = $item['is_tg'];
689
             $extend_info = json_decode($item['extend'],true);
691
             $extend_info = json_decode($item['extend'],true);
690
-            $item['sbxx'] = $extend_info['sbzy'].$extend_info['sbdj'];
691
-            $item['sjhm'] = preg_replace('/(\d{3})\d{4}(\d{4})/', '$1****$2', $item['sjhm']);
692
-            $item['is_tg'] = $is_tg_str[$item['is_tg']];
692
+            $item['sbxx'] = $extend_info['sbdj'];
693
+            //$item['sjhm'] = preg_replace('/(\d{3})\d{4}(\d{4})/', '$1****$2', $item['sjhm']);
694
+            $item['sjhm'] = $extend_info['sbzy'];
695
+            //$item['is_tg'] = $is_tg_str[$item['is_tg']];
696
+
697
+            if($item['diqu'] != '<div></div>'){
698
+                $diqu = explode('地区',$item['diqu']);
699
+            }
700
+
701
+
702
+            //$item['diqu'] = $diqu[0];
703
+            $item['is_tg'] = $diqu[0];
704
+            //var_dump($item['is_tg']);
693
             $list[$key] = $item;
705
             $list[$key] = $item;
706
+
694
         }
707
         }
695
         $zrs = $list[0]['id'] + 1000;
708
         $zrs = $list[0]['id'] + 1000;
696
         respose(['code'=>1, 'msg'=>'请求成功', 'data'=>$list,'zrs'=>$zrs]);
709
         respose(['code'=>1, 'msg'=>'请求成功', 'data'=>$list,'zrs'=>$zrs]);

+ 3
- 0
template/pc/components/index/kop.htm 查看文件

659
 <!--以下输出结果-->
659
 <!--以下输出结果-->
660
 <?php
660
 <?php
661
     //var_dump($is_list_empty);
661
     //var_dump($is_list_empty);
662
+    $result_map_add = '<div></div>';
662
 ?>
663
 ?>
663
 {eyou:if condition='(empty($is_list_empty))'}
664
 {eyou:if condition='(empty($is_list_empty))'}
664
     <?php
665
     <?php
678
         $result_map = "<font class='result-div'>抱歉!未找到完全符合条件的地区!</font>";
679
         $result_map = "<font class='result-div'>抱歉!未找到完全符合条件的地区!</font>";
679
         $class = 'alert-danger';
680
         $class = 'alert-danger';
680
         $is_tg = 0;
681
         $is_tg = 0;
682
+        $result_map_add = '<div></div>';
681
     }else{
683
     }else{
682
         //$result_map;
684
         //$result_map;
683
         $info = "<font class='result-div'>找到以下条件完全符合申请的地区:</font>";
685
         $info = "<font class='result-div'>找到以下条件完全符合申请的地区:</font>";
684
         $class = 'alert-success';
686
         $class = 'alert-success';
685
         $is_tg = 1;
687
         $is_tg = 1;
688
+        $result_map_add = $result_map;
686
     }
689
     }
687
     ?>
690
     ?>
688
     <div class="alert {$class}" role="alert" style="margin-top:10px;display: block;margin-bottom:8px;">
691
     <div class="alert {$class}" role="alert" style="margin-top:10px;display: block;margin-bottom:8px;">

+ 41
- 4
template/pc/components/index/step.htm 查看文件

262
                             <div class="ssl-list-b">
262
                             <div class="ssl-list-b">
263
                                 <div class="ti">
263
                                 <div class="ti">
264
                                     <span class="sp1">姓名</span>
264
                                     <span class="sp1">姓名</span>
265
-                                    <span class="sp2">手机号码</span>
265
+                                    <span class="sp2">申报专业</span>
266
                                     <span class="sp3">申报等级</span>
266
                                     <span class="sp3">申报等级</span>
267
                                     <span class="sp4">匹配结果</span>
267
                                     <span class="sp4">匹配结果</span>
268
                                 </div>
268
                                 </div>
360
 
360
 
361
                     <!--成功示例--->
361
                     <!--成功示例--->
362
                     <div class="ssl-box">
362
                     <div class="ssl-box">
363
-                        <div class="ssl-box-t">
363
+                        <div class="ssl-box-t" style="display: none;">
364
 
364
 
365
                             <p>匹配成功结果展示:</p>
365
                             <p>匹配成功结果展示:</p>
366
                             <p>
366
                             <p>
408
                                     <tr>
408
                                     <tr>
409
                                         <td>年龄</td>
409
                                         <td>年龄</td>
410
                                         <td>不限制</td>
410
                                         <td>不限制</td>
411
-                                        <td>30岁</td>
411
+                                        <td>34岁</td>
412
                                         <td class="td-r">
412
                                         <td class="td-r">
413
                                             <img src="/template/pc/js/botstrap-step/img_6.png" />
413
                                             <img src="/template/pc/js/botstrap-step/img_6.png" />
414
                                         </td> <!--<td class="td-b"><img src="/template/pc/js/botstrap-step/img_7.png" /></td>-->
414
                                         </td> <!--<td class="td-b"><img src="/template/pc/js/botstrap-step/img_7.png" /></td>-->
416
                                     <tr>
416
                                     <tr>
417
                                         <td>毕业专业</td>
417
                                         <td>毕业专业</td>
418
                                         <td>不限制</td>
418
                                         <td>不限制</td>
419
-                                        <td></td>
419
+                                        <td>与申报类目一致</td>
420
                                         <td class="td-r"><img src="/template/pc/js/botstrap-step/img_6.png" /></td>
420
                                         <td class="td-r"><img src="/template/pc/js/botstrap-step/img_6.png" /></td>
421
                                     </tr>
421
                                     </tr>
422
+                                    <tr>
423
+                                        <td>毕业专业</td>
424
+                                        <td>不限制</td>
425
+                                        <td>与申报类目一致</td>
426
+                                        <td class="td-r"><img src="/template/pc/js/botstrap-step/img_6.png" /></td>
427
+                                    </tr>
428
+                                    <tr>
429
+                                        <td>学校类型</td>
430
+                                        <td>全日制</td>
431
+                                        <td>全日制</td>
432
+                                        <td class="td-r"><img src="/template/pc/js/botstrap-step/img_6.png" /></td>
433
+                                    </tr>
434
+                                    <tr>
435
+                                        <td>毕业时间</td>
436
+                                        <td>要求>=10年</td>
437
+                                        <td>已毕业12年</td>
438
+                                        <td class="td-r"><img src="/template/pc/js/botstrap-step/img_6.png" /></td>
439
+                                    </tr>
440
+                                    <tr>
441
+                                        <td>前置证书</td>
442
+                                        <td>不限制</td>
443
+                                        <td>一建证书
444
+                                            (拥有8年)
445
+                                            中级职称
446
+                                            (拥有4年)
447
+                                        </td>
448
+                                        <td class="td-r"><img src="/template/pc/js/botstrap-step/img_6.png" /></td>
449
+                                    </tr>
450
+
451
+                                    <tr>
452
+                                        <td>综合评估</td>
453
+                                        <td colspan="3" style="vertical-align:middle;">
454
+                                            <font style="color: blue;">完全符合要求!</font>
455
+                                        </td>
456
+                                    </tr>
422
                                     </tbody>
457
                                     </tbody>
423
                                    <!-- <tfoot>
458
                                    <!-- <tfoot>
424
                                     <tr>
459
                                     <tr>
682
                                         'is_tg' => $is_tg,
717
                                         'is_tg' => $is_tg,
683
                                         'jjfa' => $extend_info['sbzy'].$extend_info['sbdj'].'[协助申报]',
718
                                         'jjfa' => $extend_info['sbzy'].$extend_info['sbdj'].'[协助申报]',
684
                                         'xy_info' => json_encode($str_no_err,JSON_UNESCAPED_UNICODE),
719
                                         'xy_info' => json_encode($str_no_err,JSON_UNESCAPED_UNICODE),
720
+                                        'diqu' => $result_map_add
685
                                     ];
721
                                     ];
686
                             }else{
722
                             }else{
687
                                 $yy = [];
723
                                 $yy = [];
701
                                     'is_tg' => $is_tg,
737
                                     'is_tg' => $is_tg,
702
                                     'jjfa' => $yy[0], /*//不符合 总有原因**/
738
                                     'jjfa' => $yy[0], /*//不符合 总有原因**/
703
                                     'xy_info' => json_encode($str_no_err,JSON_UNESCAPED_UNICODE),
739
                                     'xy_info' => json_encode($str_no_err,JSON_UNESCAPED_UNICODE),
740
+                                    'diqu' => $result_map_add
704
                                 ];
741
                                 ];
705
                             }
742
                             }
706
                             /*var_dump($param_k);*/
743
                             /*var_dump($param_k);*/

+ 9
- 9
template/pc/js/botstrap-step/style.css 查看文件

439
     }
439
     }
440
     .ssl-box-b{
440
     .ssl-box-b{
441
         width: 90%;
441
         width: 90%;
442
-        height: 220px;
442
+        height: 455px;
443
         border-radius: 5px;
443
         border-radius: 5px;
444
         background: #fff;
444
         background: #fff;
445
-        margin-top: 8px;
445
+        margin-top: 0px;
446
     }
446
     }
447
     .ssl-box-b .p-con{
447
     .ssl-box-b .p-con{
448
         font-size: 15px;
448
         font-size: 15px;
644
         font-weight: bold;
644
         font-weight: bold;
645
     }
645
     }
646
     .sp1{
646
     .sp1{
647
-        width: 13%;
647
+        width: 20%;
648
     }
648
     }
649
     .sp2{
649
     .sp2{
650
         width: 24%;
650
         width: 24%;
651
     }
651
     }
652
     .sp3{
652
     .sp3{
653
-        width: 43%;
653
+        width: 36%;
654
     }
654
     }
655
     .sp4{
655
     .sp4{
656
         width: 20%;
656
         width: 20%;
1238
     }
1238
     }
1239
     .ssl-box-b{
1239
     .ssl-box-b{
1240
         width: 90%;
1240
         width: 90%;
1241
-        height: 220px;
1241
+        height: 455px;
1242
         border-radius: 5px;
1242
         border-radius: 5px;
1243
         background: #fff;
1243
         background: #fff;
1244
-        margin-top: 8px;
1244
+        margin-top: 0px;
1245
     }
1245
     }
1246
     .ssl-box-b .p-con{
1246
     .ssl-box-b .p-con{
1247
         font-size: 15px;
1247
         font-size: 15px;
1299
         padding-left: 23px;
1299
         padding-left: 23px;
1300
     }
1300
     }
1301
     .ssl-box-b .p-con2 tr td:nth-child(3){
1301
     .ssl-box-b .p-con2 tr td:nth-child(3){
1302
-        padding-left: 23px;
1302
+      /*  padding-left: 23px;*/
1303
     }
1303
     }
1304
     .ssl-box-b .p-con2 tr td:nth-child(4){
1304
     .ssl-box-b .p-con2 tr td:nth-child(4){
1305
         text-align: center;
1305
         text-align: center;
1387
         font-weight: bold;
1387
         font-weight: bold;
1388
     }
1388
     }
1389
     .sp1{
1389
     .sp1{
1390
-        width: 13%;
1390
+        width: 20%;
1391
     }
1391
     }
1392
     .sp2{
1392
     .sp2{
1393
         width: 24%;
1393
         width: 24%;
1394
     }
1394
     }
1395
     .sp3{
1395
     .sp3{
1396
-        width: 43%;
1396
+        width: 36%;
1397
     }
1397
     }
1398
     .sp4{
1398
     .sp4{
1399
         width: 20%;
1399
         width: 20%;

Loading…
取消
儲存