|
@@ -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();
|