repay-record.page.js 643 Bytes
/**
 * 还款记录
 * @author: wsl<shuiling.wang@yoho.cn>
 * @date: 2016/08/04
 */

let $ = require('yoho-jquery'),
    ListData = require('./installment-goods'),
    bp = require('./burying-point');

let listData = new ListData({
    url: '/home/installment/repay/get-record',
    page: 0,
    boxArea: $('.record-list'),
    noResult: true
});

listData.getListData(0);

$(window).load(function() {
    // 统计:分期首页点击还款记录进入落地页时
    bp.setContYas({
        op: 'YB_INST_REPAYMENT',
        appop: 'YB_H5_INST_REPAYMENT_C'
    }, {
        POS_ID: $('.repayment-list-page').data('posId')
    }, true);
});