xiuli.gao %!s(int64=6) %!d(string=před) roky
rodič
revize
2b1a694db4

+ 2 - 2
fund_h5_01/css/fund_h5_api.css

@@ -518,7 +518,7 @@ nav p span{
518 518
 	margin-right: 0.1rem;
519 519
 	text-align: center;
520 520
 	line-height: 0.18rem;
521
-}
521
+}*/
522 522
 .loan_recommendation .data{
523 523
 	font-size: 0.12rem;
524 524
 	line-height: 0.16rem;
@@ -535,7 +535,7 @@ nav p span{
535 535
 	background-size:100% ;
536 536
 	margin-right: 0.05rem;
537 537
 	vertical-align: middle;
538
-}*/
538
+}
539 539
 .loan_recommendation{
540 540
 	padding-top: 0.1rem;
541 541
 }

+ 3 - 2
fund_h5_01/fund_h5_api.html

@@ -6,7 +6,7 @@
6 6
     <title>公积金查询</title>
7 7
     <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
8 8
     <link rel="stylesheet" href="./css/reset.css">
9
-    <link rel="stylesheet" href="./css/fund_h5_api.css?v=15">
9
+    <link rel="stylesheet" href="./css/fund_h5_api.css?v=16">
10 10
     <link rel="stylesheet" href="./css/swiper-3.4.2.min.css"/>
11 11
     <script src="./js/jquery.min.js"></script>
12 12
     <script src="./js/swiper-3.4.2.min.js"></script>
@@ -68,6 +68,7 @@
68 68
         	<div class="mySwiper">
69 69
         		<img src="img/banner@3x.png" />
70 70
         	</div>
71
+        	<div class="data"><icon></icon>数据加密 | 官网直连 | 保险承诺</div>
71 72
         </div>
72 73
         
73 74
         
@@ -107,7 +108,7 @@
107 108
     </div>
108 109
     <script src="./js/auto_size.js"></script>
109 110
     <script src="./js/tips.js?v=2"></script>
110
-    <script src="./js/fund_h5_api.js?v=21"></script>
111
+    <script src="./js/fund_h5_api.js?v=22"></script>
111 112
 </body>
112 113
 
113 114
 </html>

+ 8 - 6
fund_h5_01/js/fund_h5_api.js

@@ -243,7 +243,6 @@ function getLoginInfo() {
243 243
         contentType: 'application/json;charset=utf-8',
244 244
         success: function(data) {
245 245
         	cityInfo = data;
246
-        	console.log(data)
247 246
             return renderLoginInfo(data);
248 247
         },
249 248
         error: function(err) {
@@ -485,6 +484,7 @@ function submitTask(data) {
485 484
     });
486 485
 
487 486
     posting.done(function(task) {
487
+    	console.log(task+"000")
488 488
         tid = task.tid;
489 489
         $("#tid").val(task.tid); // for next submit
490 490
         window.sessionStorage.tid = tid;
@@ -590,6 +590,7 @@ function checkTaskStatus(tid) {
590 590
 
591 591
     getting.done(function(task) {
592 592
         if (task.status === 'done') {
593
+        	console.log("成功")
593 594
             process.stop(100);
594 595
             $("#tid").val('');
595 596
             showLoading(false);
@@ -624,10 +625,11 @@ function checkTaskStatus(tid) {
624 625
         }
625 626
 
626 627
         if (task.status == "suspended") {
628
+        	console.log("填写有误")
627 629
             process.stop(0);
628 630
             showLoading(false);
629 631
             enableCommitButton(false);
630
-
632
+			
631 633
             switch (task.need) {
632 634
                 case 'changeLoginType': // 无记录,请尝试切换登录类型
633 635
                 case 'regionOrLogintype': // 请选择地区信息 | 请选择登录类型 | 请选择补充地区信息 | 该地区不支持公积金 | 发送的fundId或loginTypeId错误 
@@ -675,9 +677,9 @@ function showLoading(isShow) {
675 677
  */
676 678
 function redirectToFailedReturnUrl(tid, result, failCode, reason) {
677 679
     if (returnUrl.indexOf('?') < 0) {
678
-        returnUrl += "?result=" + result + "&tid=" + tid + "&token=" + token + "&failCode=" + failCode + "&reason=" + reason;
680
+        returnUrl += "?result=" + result + "&tid=" + tid + "&token=" + token + "&failCode=" + failCode + "&reason=" + reason + "&city=" + qs.name;
679 681
     } else {
680
-        returnUrl += "&result=" + result + "&tid=" + tid + "&token=" + token + "&failCode=" + failCode + "&reason=" + reason;
682
+        returnUrl += "&result=" + result + "&tid=" + tid + "&token=" + token + "&failCode=" + failCode + "&reason=" + reason + "&city=" + qs.name;
681 683
     }
682 684
 
683 685
     window.sessionStorage.clear();
@@ -689,9 +691,9 @@ function redirectToFailedReturnUrl(tid, result, failCode, reason) {
689 691
  */
690 692
 function redirectToSucsessReturnUrl(tid, result) {
691 693
     if (returnUrl.indexOf('?') < 0) {
692
-        returnUrl += "?result=" + result + "&tid=" + tid + "&token=" + token;
694
+        returnUrl += "?result=" + result + "&tid=" + tid + "&token=" + token + "&city=" + qs.name;
693 695
     } else {
694
-        returnUrl += "&result=" + result + "&tid=" + tid + "&token=" + token;
696
+        returnUrl += "&result=" + result + "&tid=" + tid + "&token=" + token + "&city=" + qs.name;
695 697
     }
696 698
 
697 699
     window.sessionStorage.clear();