Authored by 周少峰

Merge branch 'feature/studentsTwo' into release/5.1

@@ -149,7 +149,7 @@ exports.verifyIdentity = (uid, params) => { @@ -149,7 +149,7 @@ exports.verifyIdentity = (uid, params) => {
149 educationDegree: params.educationDegree, 149 educationDegree: params.educationDegree,
150 enrollmentYear: params.enrollmentYear 150 enrollmentYear: params.enrollmentYear
151 }) + '&'; 151 }) + '&';
152 - 152 +
153 return studentsApi.verifyIdentity(uid, params.certNo, params.name, pageUrl); 153 return studentsApi.verifyIdentity(uid, params.certNo, params.name, pageUrl);
154 }; 154 };
155 155
@@ -71,6 +71,7 @@ @@ -71,6 +71,7 @@
71 <span class="hide result-uid">{{uid}}</span> 71 <span class="hide result-uid">{{uid}}</span>
72 <span class="hide result-birthDay">{{birthDay}}</span> 72 <span class="hide result-birthDay">{{birthDay}}</span>
73 <span class="hide result-sex">{{sex}}</span> 73 <span class="hide result-sex">{{sex}}</span>
  74 + <span class="hide result-provName">{{provName}}</span>
74 <span class="hide result-collegeName">{{collegeName}}</span> 75 <span class="hide result-collegeName">{{collegeName}}</span>
75 <span class="hide result-educationDegree">{{educationDegree}}</span> 76 <span class="hide result-educationDegree">{{educationDegree}}</span>
76 <span class="hide result-enrollmentYear">{{enrollmentYear}}</span> 77 <span class="hide result-enrollmentYear">{{enrollmentYear}}</span>
@@ -80,7 +81,7 @@ @@ -80,7 +81,7 @@
80 <p id="identity-fail-text" class="identity-back-title">{{errorMsg}}</p> 81 <p id="identity-fail-text" class="identity-back-title">{{errorMsg}}</p>
81 <p class="identity-back-subtitle">您可以<span class="backForm">重新验证></span></p> 82 <p class="identity-back-subtitle">您可以<span class="backForm">重新验证></span></p>
82 {{else}} 83 {{else}}
83 - {{#if isStudent}} 84 + {{#if isStudent}}
84 <div id="identity-success" class="identity-back-icon success-icon"></div> 85 <div id="identity-success" class="identity-back-icon success-icon"></div>
85 <p class="identity-back-title">恭喜您,您的验证成功啦!</p> 86 <p class="identity-back-title">恭喜您,您的验证成功啦!</p>
86 <p class="identity-back-subtitle"><span>{{prompt}}</span></p> 87 <p class="identity-back-subtitle"><span>{{prompt}}</span></p>
@@ -98,4 +99,4 @@ @@ -98,4 +99,4 @@
98 <a target="_blank" href="{{url}}"><img src="{{image adImg 401 360}}"></a> 99 <a target="_blank" href="{{url}}"><img src="{{image adImg 401 360}}"></a>
99 {{/if}} 100 {{/if}}
100 </div> 101 </div>
101 -</div>  
  102 +</div>
@@ -635,13 +635,14 @@ $(function() { @@ -635,13 +635,14 @@ $(function() {
635 // xls-4学生认证成功埋点 635 // xls-4学生认证成功埋点
636 givePoint('YB_STUDENT_ATTCT_RESULT', { 636 givePoint('YB_STUDENT_ATTCT_RESULT', {
637 SRC_ID: 5, 637 SRC_ID: 5,
638 - SUBMIT_RES: 1, 638 + ATTCT_RES: 1,
639 ATTCT_INFO: { 639 ATTCT_INFO: {
640 - birthDay: $('.identity-back-wrap .result-birthDay').html(), 640 + birth: $('.identity-back-wrap .result-birthDay').html(),
641 sex: $('.identity-back-wrap .result-sex').html(), 641 sex: $('.identity-back-wrap .result-sex').html(),
642 - collegeName: $('.identity-back-wrap .result-collegeName').html(),  
643 - educationDegree: $('.identity-back-wrap .result-educationDegree').html(),  
644 - enrollmentYear: $('.identity-back-wrap .result-enrollmentYear').html() 642 + college_province: $('.identity-back-wrap .result-provName').html(),
  643 + college_name: $('.identity-back-wrap .result-collegeName').html(),
  644 + education_degree: $('.identity-back-wrap .result-educationDegree').html(),
  645 + enrollment_year: $('.identity-back-wrap .result-enrollmentYear').html()
645 } 646 }
646 }); 647 });
647 } 648 }
@@ -650,7 +651,7 @@ $(function() { @@ -650,7 +651,7 @@ $(function() {
650 // xls-4学生认证失败埋点 651 // xls-4学生认证失败埋点
651 givePoint('YB_STUDENT_ATTCT_RESULT', { 652 givePoint('YB_STUDENT_ATTCT_RESULT', {
652 SRC_ID: 5, 653 SRC_ID: 5,
653 - SUBMIT_RES: 2, 654 + ATTCT_RES: 2,
654 FAILURE_CAUSE: $('#identity-fail-text').html() 655 FAILURE_CAUSE: $('#identity-fail-text').html()
655 }); 656 });
656 } 657 }
@@ -824,7 +825,7 @@ $(function() { @@ -824,7 +825,7 @@ $(function() {
824 $('#stuRights .stu-rights-item:eq(0), #stuRights .stu-rights-item:eq(1),' + 825 $('#stuRights .stu-rights-item:eq(0), #stuRights .stu-rights-item:eq(1),' +
825 '#stuRights .stu-rights-item:eq(2), #stuRights .stu-rights-item:eq(3)').hover(function() { 826 '#stuRights .stu-rights-item:eq(2), #stuRights .stu-rights-item:eq(3)').hover(function() {
826 var content = $(this).find('.item-content'); 827 var content = $(this).find('.item-content');
827 - 828 +
828 var gapHeight; 829 var gapHeight;
829 830
830 content.removeClass('hide'); 831 content.removeClass('hide');