...
|
...
|
@@ -28,7 +28,8 @@ var $sortItem = $('.sort-item'), |
|
|
var $rightDia = $('#rights-dia'),
|
|
|
$couponDia = $('#coupon-dia');
|
|
|
|
|
|
var provFn;
|
|
|
var provFn,
|
|
|
identityFn;
|
|
|
|
|
|
var alertConfig,
|
|
|
makeAlert;
|
...
|
...
|
@@ -98,7 +99,7 @@ function clearSelectUl($li, code) { |
|
|
if (arguments.length === 2) {
|
|
|
$show.attr(code, $a.attr(code));
|
|
|
$input.val($a.attr(code));
|
|
|
}else {
|
|
|
} else {
|
|
|
$input.val($a.html());
|
|
|
}
|
|
|
$ul.empty();
|
...
|
...
|
@@ -108,11 +109,11 @@ function clearSelectUl($li, code) { |
|
|
/**
|
|
|
* 最终提交表单
|
|
|
*/
|
|
|
function submitIdentity(data) {
|
|
|
function submitIdentity(json) {
|
|
|
$.ajax({
|
|
|
type: 'GET',
|
|
|
url: '/product/students/verify',
|
|
|
data: data
|
|
|
data: json
|
|
|
}).then(function(data) {
|
|
|
if (data.code === 200) {
|
|
|
$identity.remove('.identity-back-wrap');
|
...
|
...
|
@@ -125,7 +126,7 @@ function submitIdentity(data) { |
|
|
fail: true
|
|
|
}));
|
|
|
|
|
|
$('#backForm').on('click',function(){
|
|
|
$('#backForm').on('click', function() {
|
|
|
$identity.remove('.identity-back-wrap');
|
|
|
$identityForm.removeClass('hide');
|
|
|
});
|
...
|
...
|
@@ -420,7 +421,7 @@ $('#identity-Btn').on('click', function() { |
|
|
collegeName: $('#stu-school').val(),
|
|
|
educationDegree: $('#stu-edu').val(),
|
|
|
enrollmentYear: $('#stu-entrance-year').val()
|
|
|
}
|
|
|
};
|
|
|
|
|
|
var $prompt = $('#prompt'),
|
|
|
$agreen = $('#agreen-show');
|
...
|
...
|
@@ -463,8 +464,8 @@ $('#identity-Btn').on('click', function() { |
|
|
$identityForm.addClass('hide');
|
|
|
$identity.remove('.identity-back-wrap');
|
|
|
$identity.append(identityFn({
|
|
|
fail: true
|
|
|
wait: true
|
|
|
}));
|
|
|
|
|
|
|
|
|
}); |
|
|
\ No newline at end of file |
|
|
}); |
...
|
...
|
|