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
Email Patches
Plain Diff
Browse Files
Authored by
王水玲
9 years ago
Commit
3d30ab1604c6de644cd2262eb92288174914f618
1 parent
9d9b76e7
有货分期
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
public/js/home/installment.starting-service.page.js
public/js/home/installment.starting-service.page.js
View file @
3d30ab1
...
...
@@ -247,17 +247,15 @@ $('#apply-button').click(function() {
var
params
=
{
action
:
'go.instalmentActivated'
,
params
:
{
status
:
result
.
data
.
status
status
:
result
.
data
&&
result
.
data
.
status
||
0
}
};
if
(
result
.
code
===
200
&&
result
.
data
)
{
// that.attr('href', '/home/installment/review?status=' + result.data.status);
that
.
attr
(
'href'
,
location
.
pathname
+
'?openby:yohobuy='
+
encodeURIComponent
(
JSON
.
stringify
(
params
)));
ret
=
true
;
}
else
if
(
result
.
code
===
500
)
{
// 接口可能超时返回审核中 by 孟令阶
// that.attr('href', '/home/installment/review?status=' + result.data.status);
params
.
params
.
status
=
'1'
;
that
.
attr
(
'href'
,
location
.
pathname
+
'?openby:yohobuy='
+
encodeURIComponent
(
JSON
.
stringify
(
params
)));
ret
=
true
;
...
...
Please
register
or
login
to post a comment