|
@@ -19,6 +19,11 @@ function doSubmit(obj){ // 添加项目提交方法
|
|
layer.msg("请输入项目名称",{icon:3});
|
|
layer.msg("请输入项目名称",{icon:3});
|
|
throw SyntaxError;
|
|
throw SyntaxError;
|
|
}
|
|
}
|
|
|
|
+ layer.msg('加载中', {
|
|
|
|
+ icon: 16
|
|
|
|
+ ,shade: 0.01
|
|
|
|
+ ,offset:['37%','36%']
|
|
|
|
+ });
|
|
$.ajax({
|
|
$.ajax({
|
|
type: "post",
|
|
type: "post",
|
|
url: "${ctx}/project/tem/verfiy",
|
|
url: "${ctx}/project/tem/verfiy",
|
|
@@ -29,8 +34,7 @@ function doSubmit(obj){ // 添加项目提交方法
|
|
if(data.code=="1"){
|
|
if(data.code=="1"){
|
|
$("#inputForm").submit();
|
|
$("#inputForm").submit();
|
|
}else{
|
|
}else{
|
|
- alert(data.msg);
|
|
|
|
- layer.alert(data.msg, {icon: 6});
|
|
|
|
|
|
+ layer.msg(data.msg, {icon: 5,offset:['33%','33%'});
|
|
}
|
|
}
|
|
}
|
|
}
|
|
});
|
|
});
|