Merge branch 'release/5.2' of git.yoho.cn:fe/yohobuywap-node into release/5.2
Showing
3 changed files
with
8 additions
and
2 deletions
@@ -206,7 +206,8 @@ const review = (req, res) => { | @@ -206,7 +206,8 @@ const review = (req, res) => { | ||
206 | }; | 206 | }; |
207 | } else if (openStatus === '3') { | 207 | } else if (openStatus === '3') { |
208 | params = { | 208 | params = { |
209 | - error: true | 209 | + error: true, |
210 | + failReason: req.query.failReason || '姓名、身份证、银行卡不匹配' | ||
210 | }; | 211 | }; |
211 | } else if (openStatus === '4') { | 212 | } else if (openStatus === '4') { |
212 | params = { | 213 | params = { |
@@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
31 | <div class="error"> | 31 | <div class="error"> |
32 | <i class="error-icon"></i> | 32 | <i class="error-icon"></i> |
33 | <p class="error-txt1">审核未通过暂时无法授信</p> | 33 | <p class="error-txt1">审核未通过暂时无法授信</p> |
34 | - <p class="error-txt2">可能原因:姓名、身份证、银行卡不匹配</p> | 34 | + <p class="error-txt2">可能原因:{{failReason}}</p> |
35 | <a href="/home/installment/starting-service" class="open-btn">重新申请</a> | 35 | <a href="/home/installment/starting-service" class="open-btn">重新申请</a> |
36 | </div> | 36 | </div> |
37 | {{/ error}} | 37 | {{/ error}} |
@@ -259,6 +259,11 @@ $('#apply-button').click(function() { | @@ -259,6 +259,11 @@ $('#apply-button').click(function() { | ||
259 | bp.setContYas('YB_INST_OPEN_SUCCESS', {}); | 259 | bp.setContYas('YB_INST_OPEN_SUCCESS', {}); |
260 | } | 260 | } |
261 | 261 | ||
262 | + // 开通失败 | ||
263 | + if (result.data.status === '3') { | ||
264 | + params.params.failReason = result.data.failReason || '姓名、身份证、银行卡不匹配'; | ||
265 | + } | ||
266 | + | ||
262 | if (asyncMode) { | 267 | if (asyncMode) { |
263 | yohoApp.invokeMethod('go.instalmentActivated', params.params); | 268 | yohoApp.invokeMethod('go.instalmentActivated', params.params); |
264 | } else { | 269 | } else { |
-
Please register or login to post a comment