Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
王水玲
2016-11-21 20:52:25 +0800
Commit
de34079fbdfdfdaea32322bc871de48fd82a0fbd
2 parents
46ec958e
bbde9470
Merge branch 'feature/installment3' into release/5.2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
apps/home/controllers/installment.js
apps/home/views/action/installment/open-result.hbs
public/js/home/installment.starting-service.page.js
apps/home/controllers/installment.js
View file @
de34079
...
...
@@ -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
=
{
...
...
apps/home/views/action/installment/open-result.hbs
View file @
de34079
...
...
@@ -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
}}
...
...
public/js/home/installment.starting-service.page.js
View file @
de34079
...
...
@@ -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
{
...
...
Please
register
or
login
to post a comment