Browse Source

Merge branch 'develop' of zhengxifeng/zc100 into master

zhengxifeng 5 months ago
parent
commit
3e7d3be83b

+ 17
- 4
application/api/controller/Diyajax.php View File

@@ -556,6 +556,7 @@ class Diyajax extends Base
556 556
             'byzy_is' => $param['byzy-is'],
557 557
             'byzy_name' => $param['byzy-name'],
558 558
             'sbzyson' => $param['sbzyson'],
559
+            'diqu' => '<div></div>',
559 560
         ];
560 561
         $res_id = Db::name('zc_form')->insertGetId($insertData);
561 562
         if($res_id > 0){
@@ -657,6 +658,7 @@ class Diyajax extends Base
657 658
                     'is_tg' => (int)$param['is_tg'],
658 659
                     'jjfa' => $param['jjfa'],
659 660
                     'xy_info' => $param['xy_info'],
661
+                    'diqu' => $param['diqu'],
660 662
                 ];
661 663
                 //更新表单数据
662 664
                 $list = Db::name('zc_form')
@@ -675,7 +677,7 @@ class Diyajax extends Base
675 677
     {
676 678
         $list = Db::name('zc_form')
677 679
             //->where('pccs', 1) //同一号码 只调用一次
678
-            ->field('id,ch,sjhm,is_tg,jjfa,extend')
680
+            ->field('id,ch,sjhm,is_tg,jjfa,extend,diqu')
679 681
             ->where('is_del', 0)
680 682
             ->where('pccs', '>',0)
681 683
             ->order('updatetime desc')
@@ -687,10 +689,21 @@ class Diyajax extends Base
687 689
         foreach ($list as $key => $item) {
688 690
             $item['is_tg_n'] = $item['is_tg'];
689 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 705
             $list[$key] = $item;
706
+
694 707
         }
695 708
         $zrs = $list[0]['id'] + 1000;
696 709
         respose(['code'=>1, 'msg'=>'请求成功', 'data'=>$list,'zrs'=>$zrs]);

+ 3
- 0
template/pc/components/index/kop.htm View File

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

+ 41
- 4
template/pc/components/index/step.htm View File

@@ -262,7 +262,7 @@
262 262
                             <div class="ssl-list-b">
263 263
                                 <div class="ti">
264 264
                                     <span class="sp1">姓名</span>
265
-                                    <span class="sp2">手机号码</span>
265
+                                    <span class="sp2">申报专业</span>
266 266
                                     <span class="sp3">申报等级</span>
267 267
                                     <span class="sp4">匹配结果</span>
268 268
                                 </div>
@@ -360,7 +360,7 @@
360 360
 
361 361
                     <!--成功示例--->
362 362
                     <div class="ssl-box">
363
-                        <div class="ssl-box-t">
363
+                        <div class="ssl-box-t" style="display: none;">
364 364
 
365 365
                             <p>匹配成功结果展示:</p>
366 366
                             <p>
@@ -408,7 +408,7 @@
408 408
                                     <tr>
409 409
                                         <td>年龄</td>
410 410
                                         <td>不限制</td>
411
-                                        <td>30岁</td>
411
+                                        <td>34岁</td>
412 412
                                         <td class="td-r">
413 413
                                             <img src="/template/pc/js/botstrap-step/img_6.png" />
414 414
                                         </td> <!--<td class="td-b"><img src="/template/pc/js/botstrap-step/img_7.png" /></td>-->
@@ -416,9 +416,44 @@
416 416
                                     <tr>
417 417
                                         <td>毕业专业</td>
418 418
                                         <td>不限制</td>
419
-                                        <td></td>
419
+                                        <td>与申报类目一致</td>
420 420
                                         <td class="td-r"><img src="/template/pc/js/botstrap-step/img_6.png" /></td>
421 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 457
                                     </tbody>
423 458
                                    <!-- <tfoot>
424 459
                                     <tr>
@@ -682,6 +717,7 @@
682 717
                                         'is_tg' => $is_tg,
683 718
                                         'jjfa' => $extend_info['sbzy'].$extend_info['sbdj'].'[协助申报]',
684 719
                                         'xy_info' => json_encode($str_no_err,JSON_UNESCAPED_UNICODE),
720
+                                        'diqu' => $result_map_add
685 721
                                     ];
686 722
                             }else{
687 723
                                 $yy = [];
@@ -701,6 +737,7 @@
701 737
                                     'is_tg' => $is_tg,
702 738
                                     'jjfa' => $yy[0], /*//不符合 总有原因**/
703 739
                                     'xy_info' => json_encode($str_no_err,JSON_UNESCAPED_UNICODE),
740
+                                    'diqu' => $result_map_add
704 741
                                 ];
705 742
                             }
706 743
                             /*var_dump($param_k);*/

+ 9
- 9
template/pc/js/botstrap-step/style.css View File

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

Loading…
Cancel
Save