|
|
|
@ -1032,9 +1032,10 @@ function submit_pro_certification(type){
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if (data.result == 1){
|
|
|
|
|
if($("#user_certi_school_id").length == 1 && $("#user_certi_school_id").val() != $("input[name='occupation']").val().trim()){
|
|
|
|
|
if(($("#user_certi_school_id").length == 1 && $("#user_certi_school_id").val() != $("input[name='occupation']").val().trim()) ||
|
|
|
|
|
($("#user_certi_identity").length == 1 && $("#user_certi_identity").val() != $("input[name='identity']").val().trim())){
|
|
|
|
|
var htmlvalue = '<div class="task-popup" style="width:480px;"><div class="task-popup-title clearfix">提示</div>'+
|
|
|
|
|
'<div class="task-popup-content"><p class="task-popup-text-center font-16">修改单位名称后需要重新申请试用授权</p></div><div class="task-popup-submit clearfix"><a href="javascript:void(0);" onclick="cancel_submit_pro('+type+');" class="task-btn fl">取消</a>'+
|
|
|
|
|
'<div class="task-popup-content"><p class="task-popup-text-center font-16">修改单位名称/职业后需要重新申请试用授权</p></div><div class="task-popup-submit clearfix"><a href="javascript:void(0);" onclick="cancel_submit_pro('+type+');" class="task-btn fl">取消</a>'+
|
|
|
|
|
'<a href="javascript:void(0);" class="task-btn task-btn-orange fr pop_close" onclick="$(\'#my_pro_certification_form\').submit();">确定</a></div></div>';
|
|
|
|
|
pop_box_new(htmlvalue, 480, 160);
|
|
|
|
|
} else{
|
|
|
|
@ -1054,9 +1055,10 @@ function submit_pro_certification(type){
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
} else{
|
|
|
|
|
if($("#user_certi_school_id").length == 1 && $("#user_certi_school_id").val() != $("input[name='occupation']").val().trim()){
|
|
|
|
|
if(($("#user_certi_school_id").length == 1 && $("#user_certi_school_id").val() != $("input[name='occupation']").val().trim()) ||
|
|
|
|
|
($("#user_certi_identity").length == 1 && $("#user_certi_identity").val() != $("input[name='identity']").val().trim())){
|
|
|
|
|
var htmlvalue = '<div class="task-popup" style="width:480px;"><div class="task-popup-title clearfix">提示</div>'+
|
|
|
|
|
'<div class="task-popup-content"><p class="task-popup-text-center font-16">修改单位名称后需要重新申请试用授权</p></div><div class="task-popup-submit clearfix"><a href="javascript:void(0);" onclick="cancel_submit_pro('+type+');" class="task-btn fl">取消</a>'+
|
|
|
|
|
'<div class="task-popup-content"><p class="task-popup-text-center font-16">修改单位名称/职业后需要重新申请试用授权</p></div><div class="task-popup-submit clearfix"><a href="javascript:void(0);" onclick="cancel_submit_pro('+type+');" class="task-btn fl">取消</a>'+
|
|
|
|
|
'<a href="javascript:void(0);" class="task-btn task-btn-orange fr pop_close" onclick="$(\'#my_pro_certification_form\').submit();">确定</a></div></div>';
|
|
|
|
|
pop_box_new(htmlvalue, 480, 160);
|
|
|
|
|
} else{
|
|
|
|
@ -1610,9 +1612,10 @@ function my_account_form_submit() {
|
|
|
|
|
notice_box("该学号已被另一个账号(" + data.account + ")使用");
|
|
|
|
|
}
|
|
|
|
|
else if (data.result == 1){
|
|
|
|
|
if($("#user_certi_school_id").length == 1 && $("#user_certi_school_id").val() != $("input[name='occupation']").val().trim()){
|
|
|
|
|
if(($("#user_certi_school_id").length == 1 && $("#user_certi_school_id").val() != $("input[name='occupation']").val().trim()) ||
|
|
|
|
|
($("#user_certi_identity").length == 1 && $("#user_certi_identity").val() != $("input[name='identity']").val().trim())){
|
|
|
|
|
var htmlvalue = '<div class="task-popup" style="width:480px;"><div class="task-popup-title clearfix">提示</div>'+
|
|
|
|
|
'<div class="task-popup-content"><p class="task-popup-text-center font-16">修改单位名称后需要重新申请试用授权</p></div><div class="task-popup-submit clearfix"><a href="javascript:void(0);" onclick="hideModal();" class="task-btn fl">取消</a>'+
|
|
|
|
|
'<div class="task-popup-content"><p class="task-popup-text-center font-16">修改单位名称/职业后需要重新申请试用授权</p></div><div class="task-popup-submit clearfix"><a href="javascript:void(0);" onclick="hideModal();" class="task-btn fl">取消</a>'+
|
|
|
|
|
'<a href="javascript:void(0);" class="task-btn task-btn-orange fr pop_close" onclick="$(\'#my_account_form\').submit();">确定</a></div></div>';
|
|
|
|
|
pop_box_new(htmlvalue, 480, 160);
|
|
|
|
|
} else{
|
|
|
|
|