Authored by chenchao

show tips

... ... @@ -241,7 +241,7 @@ var conditionEdit={
common.util.__tip("保存成功!", "success");
}else{
common.util.__tip(rs.message || rs.data.message);
location.reload();
//location.reload();
location.href = "/promotionInfo/edit/"+_g.promotionId;
}
},function(rs){
... ...
... ... @@ -31,6 +31,7 @@ var limitEdit={
if (res.code == "200") {
e.$tip("提交成功", function () {
location.href = "/promotionInfo/edit/"+_g.promotionId;
return false;
}, 'growl-success');
} else {
e.$tip(res.message);
... ... @@ -41,6 +42,7 @@ var limitEdit={
e.$tip(res.message);
};
console.log(option.data);
return false;
});
return false;
... ...
... ... @@ -303,7 +303,7 @@ var operationEdit={
common.util.__tip("保存成功!", "success");
}else{
common.util.__tip(rs.message || rs.data.message);
location.reload();
//location.reload();
location.href = "/promotionInfo/edit/"+_g.promotionId;
}
return false;
... ...