|
|
|
@ -283,12 +283,7 @@
|
|
|
|
|
content: url
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
var isclick = false;
|
|
|
|
|
$("#submit").on("click",function(){
|
|
|
|
|
if(isclick){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
isclick = true;
|
|
|
|
|
var obj = {
|
|
|
|
|
"company_name":["required","推广公司名称不允许为空"],
|
|
|
|
|
"platform_name":["nocheck"],
|
|
|
|
@ -326,7 +321,6 @@
|
|
|
|
|
data:cres,
|
|
|
|
|
dataType:"json",
|
|
|
|
|
success:function(data){
|
|
|
|
|
isclick = false;
|
|
|
|
|
if(data.status == 1){
|
|
|
|
|
layer.msg(data.info,function(){
|
|
|
|
|
window.location.href="{:U('PromoteCompany/lists')}";
|
|
|
|
@ -336,7 +330,7 @@
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
error:function(e){
|
|
|
|
|
isclick = false;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|