Authored by hongweigao

修改SRC—_ID

... ... @@ -184,15 +184,8 @@ function submitIdentity(json) {
}).then(function(data) {
if (data.code === 200) {
identityFlag = false;
// xls-4身份认证成功埋点
// givePoint('YB_STUDENT_ATTCT_RESULT', {
// SRC_ID: 5,
// SUBMIT_RES: 1,
// ATTCT_INFO: json
// });
// xls-3提交认证埋点
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 2, SUBMIT_RES: 1});
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 5, SUBMIT_RES: 1});
window.location.href = data.data;
} else {
identityFlag = false;
... ... @@ -202,15 +195,7 @@ function submitIdentity(json) {
$identityWrap.append(identityFn({msg: data.message}));
// xls-3提交认证埋点
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 2, SUBMIT_RES: 2, FAILURE_CAUSE: data.message});
// xls-4身份认证失败埋点
// givePoint('YB_STUDENT_ATTCT_RESULT', {
// SRC_ID: 5,
// SUBMIT_RES: 2,
// FAILURE_CAUSE: data.message,
// ATTCT_INFO: json
// });
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 5, SUBMIT_RES: 2, FAILURE_CAUSE: data.message});
}
});
}
... ... @@ -529,9 +514,6 @@ $('.enable .info').on('click', function(e) {
requestCoupon($(this).closest('a').data('id'));
redirect.gunangSrc = $(this).closest('a').get(0).href;
// xls-5学生营销,页面加载埋点
// givePoint('YB_STUDENT_VIP_FLR', {F_ID: 'stu-coupon-box', F_NAME: '优惠券',
// F_URL: '', F_INDEX: 4, I_INDEX: $(this).parents('.coupon').index() + 1});
});
$('.coupon > a').on('click', function() {
// xls-5学生营销,页面加载埋点
... ... @@ -560,7 +542,7 @@ $('#identity-Btn').on('click', function() {
$prompt.html(failText);
// xls-3埋点
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 2, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 5, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
return;
}
if (identData.certNo === '') {
... ... @@ -568,7 +550,7 @@ $('#identity-Btn').on('click', function() {
$prompt.html(failText);
// xls-3埋点
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 2, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 5, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
return;
}
if (!/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test(identData.certNo)) {
... ... @@ -576,7 +558,7 @@ $('#identity-Btn').on('click', function() {
$prompt.html(failText);
// xls-3埋点
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 2, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 5, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
return;
}
if (provCode === '') {
... ... @@ -584,7 +566,7 @@ $('#identity-Btn').on('click', function() {
$prompt.html(failText);
// xls-3埋点
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 2, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 5, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
return;
}
if (identData.collegeName === '') {
... ... @@ -592,7 +574,7 @@ $('#identity-Btn').on('click', function() {
$prompt.html(failText);
// xls-3埋点
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 2, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 5, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
return;
}
if (identData.educationDegree === '') {
... ... @@ -600,7 +582,7 @@ $('#identity-Btn').on('click', function() {
$prompt.html(failText);
// xls-3埋点
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 2, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 5, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
return;
}
if (identData.enrollmentYear === '') {
... ... @@ -608,7 +590,7 @@ $('#identity-Btn').on('click', function() {
$prompt.html(failText);
// xls-3埋点
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 2, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 5, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
return;
}
if (!$agreen.hasClass('active')) {
... ... @@ -616,7 +598,7 @@ $('#identity-Btn').on('click', function() {
$prompt.html(failText);
// xls-3埋点
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 2, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
givePoint('YB_STUDENT_ATTCT_SUBMIT', {SRC_ID: 5, SUBMIT_RES: 2, FAILURE_CAUSE: failText});
return;
}
$prompt.html('');
... ... @@ -721,7 +703,6 @@ $(function() {
SRC_ID: 5,
SUBMIT_RES: 1,
ATTCT_INFO: {
uid: $('.identity-back-wrap .result-uid').html(),
birthDay: $('.identity-back-wrap .result-birthDay').html(),
sex: $('.identity-back-wrap .result-sex').html(),
collegeName: $('.identity-back-wrap .result-collegeName').html(),
... ... @@ -736,15 +717,7 @@ $(function() {
givePoint('YB_STUDENT_ATTCT_RESULT', {
SRC_ID: 5,
SUBMIT_RES: 2,
FAILURE_CAUSE: $('#identity-fail-text').html(),
ATTCT_INFO: {
uid: $('.identity-back-wrap .result-uid').html(),
birthDay: $('.identity-back-wrap .result-birthDay').html(),
sex: $('.identity-back-wrap .result-sex').html(),
collegeName: $('.identity-back-wrap .result-collegeName').html(),
educationDegree: $('.identity-back-wrap .result-educationDegree').html(),
enrollmentYear: $('.identity-back-wrap .result-enrollmentYear').html()
}
FAILURE_CAUSE: $('#identity-fail-text').html()
});
}
... ...