Authored by 王水玲

分期3

... ... @@ -206,7 +206,8 @@ const review = (req, res) => {
};
} else if (openStatus === '3') {
params = {
error: true
error: true,
failReason: req.query.failReason || '姓名、身份证、银行卡不匹配'
};
} else if (openStatus === '4') {
params = {
... ...
... ... @@ -31,7 +31,7 @@
<div class="error">
<i class="error-icon"></i>
<p class="error-txt1">审核未通过暂时无法授信</p>
<p class="error-txt2">可能原因:姓名、身份证、银行卡不匹配</p>
<p class="error-txt2">可能原因:{{failReason}}</p>
<a href="/home/installment/starting-service" class="open-btn">重新申请</a>
</div>
{{/ error}}
... ...
... ... @@ -259,6 +259,11 @@ $('#apply-button').click(function() {
bp.setContYas('YB_INST_OPEN_SUCCESS', {});
}
// 开通失败
if (result.data.status === '3') {
params.params.failReason = result.data.failReason || '姓名、身份证、银行卡不匹配';
}
if (asyncMode) {
yohoApp.invokeMethod('go.instalmentActivated', params.params);
} else {
... ...