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
王水玲
8 years ago
Commit
50cbe183fdc1ea5c89b1364b79323e98a40adf40
1 parent
5c9e75b6
分期埋点修改
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
public/js/home/repayment-list.page.js
public/js/home/repayment-list.page.js
View file @
50cbe18
...
...
@@ -10,6 +10,13 @@ var $ = require('yoho-jquery'),
bp
=
require
(
'./burying-point'
);
var
CHECKBOX_SELECTOR
=
'.repay-list input'
;
var
curTermNo
=
{
1
:
1
,
3
:
2
,
6
:
3
,
9
:
4
,
12
:
5
};
var
repayment
=
new
Repayment
({
onGetSelection
:
function
()
{
var
ret
=
[];
...
...
@@ -81,7 +88,6 @@ $(window).load(function() {
});
});
// 统计yas 需要传的参数
function
countYasParams
()
{
var
curBillNo
=
''
;
...
...
@@ -97,9 +103,10 @@ function countYasParams() {
opt
.
billNoAll
+=
(
key
!==
0
)
?
','
:
''
;
opt
.
termNoAll
+=
(
key
!==
0
)
?
','
:
''
;
opt
.
billNoAll
+=
curBillNo
;
opt
.
termNoAll
+=
$
(
item
).
parent
().
data
(
'terms'
)
;
opt
.
termNoAll
+=
curTermNo
[
$
(
item
).
parent
().
data
(
'terms'
)]
;
}
});
return
opt
;
}
...
...
@@ -122,7 +129,7 @@ $('.list-right a').on('click', function() {
bp
.
setContYas
(
'YB_INST_TOPAY_INFO'
,
{
POS_ID
:
$
(
'.repayment-list-page'
).
data
(
'posId'
),
ORDER_CODE
:
li
.
data
(
'billNo'
),
INST_STYLE
:
li
.
data
(
'terms'
)
,
INST_STYLE
:
curTermNo
[
li
.
data
(
'terms'
)]
,
PERIODS
:
li
.
data
(
'currterm'
)
});
});
...
...
Please
register
or
login
to post a comment