根据国家相关监管规范要求,本平台已正式启动清退工作,

请您点击“获取清退方案”了解您的账户清退详情。

获取清退方案
'; $(".toast").append(str); $(".message").fadeIn().find("span").html(message); setTimeout(function () { $(".message").fadeOut().remove(); }, 2000) } // 确权 $("#confirm_quit,#confirm_quit2").click(function () { if (!$('#agreement:checked').val()) { openBox("请勾选已阅读并确认的内容"); return; } app.loginUser.get(false).then(loginUser => { $.ajax({ type: "GET", url: `/p2p/service/users/${loginUser.id}/confirm_quit`, method: 'POST', nosetHead: true, cache: false, success: function (data) { window.location.reload(); }, error: function (err) { console.log('err: ', err); } }); }).catch(function (error) { console.log('error: ', error); }); }) let agreementConfirm = { claims: null, declaration: null, risk: null, commitment: null } window.addEventListener('storage', function (event) { if (event.newValue === "Y") { agreementConfirm[event.key] = event.newValue; } }); // 勾选协议 function agreementClick(e) { const claims = agreementConfirm.claims; const declaration = agreementConfirm.declaration; const risk = agreementConfirm.risk; const commitment = agreementConfirm.commitment; const isSpecialRedeemUser = confirmQuitInfo.isSpecialRedeemUser; if (isSpecialRedeemUser === "N") { if (claims !== "Y" || declaration !== "Y" || risk !== "Y") { e.stopPropagation(); if (e.preventDefault) { e.preventDefault(); } else { window.event.returnValue = false; } openBox("请您仔细阅读《风险提示》《债权转让协议》及《声明函》,并在协议页面中确认"); return false; } } else if (isSpecialRedeemUser === "Y") { if (claims !== "Y" || declaration !== "Y" || risk !== "Y" || commitment !== "Y") { e.stopPropagation(); if (e.preventDefault) { e.preventDefault(); } else { window.event.returnValue = false; } openBox("请您仔细阅读《风险提示》《债权转让协议》《声明函》及《承诺函》,并在协议页面中确认"); return false; } } } $("#agreement").click(agreementClick); // 隐藏获取清退方案 文案 function hideGetClearAwayPlan() { window.localStorage.setItem("isGetClearAwayPlan", "Y"); if (confirmQuitInfo) { $('.clearAway-content-pre').hide(); $('.clearAway-main-content').show(); $('.clearAway-amount-box').show(); } } if (window.localStorage.getItem("isGetClearAwayPlan") === "Y") { hideGetClearAwayPlan(); } $('.clearAway-btn').click(() => { if (confirmQuitInfo) { hideGetClearAwayPlan() } else { window.location.href = "/user/login"; } }); })