修改未加样式的提示
This commit is contained in:
@@ -77,9 +77,7 @@
|
||||
else {
|
||||
url = '/userBusiness/update?id=' + id;
|
||||
}
|
||||
|
||||
if (confirm("您确定要保存吗?")) {
|
||||
|
||||
$.messager.confirm("提示","您确定要保存吗?",function(data){
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: "post",
|
||||
@@ -95,14 +93,14 @@
|
||||
success: function (res) {
|
||||
if(res && res.code === 200) {
|
||||
self.parent.$.colorbox.close();
|
||||
alert("操作成功!");
|
||||
$.messager.alert('提示',"操作成功!","info");
|
||||
}
|
||||
else {
|
||||
alert("操作失败!");
|
||||
$.messager.alert('提示',"操作失败!","error");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
@@ -135,6 +133,7 @@
|
||||
});
|
||||
return flag;
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -76,9 +76,7 @@
|
||||
else {
|
||||
url = '/userBusiness/update?id=' + id;
|
||||
}
|
||||
|
||||
if (confirm("您确定要保存吗?")) {
|
||||
|
||||
$.messager.confirm("提示","您确定要保存吗?",function(data){
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: "post",
|
||||
@@ -94,14 +92,15 @@
|
||||
success: function (res) {
|
||||
if(res && res.code === 200) {
|
||||
self.parent.$.colorbox.close();
|
||||
alert("操作成功!");
|
||||
$.messager.alert('提示',"操作成功!","info");
|
||||
}
|
||||
else {
|
||||
alert("操作失败!");
|
||||
$.messager.alert('提示',"操作失败!","error");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
}, 500);
|
||||
|
||||
$("#btnOK").off("click").on("click", function () {
|
||||
if (confirm("您确定要保存吗?")) {
|
||||
$.messager.confirm("提示","您确定要保存吗?",function(data){
|
||||
var bindList = $("#pushList .datagrid-view2 .datagrid-body .datagrid-row");
|
||||
var bindArr = [];
|
||||
var btnStr = "";
|
||||
@@ -239,7 +239,7 @@
|
||||
success: function (res) {
|
||||
if (res && res.code === 200) {
|
||||
self.parent.$.colorbox.close();
|
||||
alert("操作成功!");
|
||||
$.messager.alert('提示',"操作成功!","info");
|
||||
}
|
||||
else {
|
||||
$.messager.show({
|
||||
@@ -253,7 +253,7 @@
|
||||
return;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -76,9 +76,7 @@
|
||||
else {
|
||||
url = '/userBusiness/update?id=' + id;
|
||||
}
|
||||
|
||||
if (confirm("您确定要保存吗?")) {
|
||||
|
||||
$.messager.confirm("提示","您确定要保存吗?",function(data){
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: "post",
|
||||
@@ -94,14 +92,15 @@
|
||||
success: function (res) {
|
||||
if(res && res.code === 200) {
|
||||
self.parent.$.colorbox.close();
|
||||
alert("操作成功!");
|
||||
$.messager.alert('提示',"操作成功!","info");
|
||||
}
|
||||
else {
|
||||
alert("操作失败!");
|
||||
$.messager.alert('提示',"操作失败!","error");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -76,9 +76,7 @@
|
||||
else {
|
||||
url = '/userBusiness/update?id=' + id;
|
||||
}
|
||||
|
||||
if (confirm("您确定要保存吗?")) {
|
||||
|
||||
$.messager.confirm("提示","您确定要保存吗?",function(data){
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: "post",
|
||||
@@ -94,14 +92,14 @@
|
||||
success: function (res) {
|
||||
if(res && res.code === 200) {
|
||||
self.parent.$.colorbox.close();
|
||||
alert("操作成功!");
|
||||
$.messager.alert('提示',"操作成功!","info");
|
||||
}
|
||||
else {
|
||||
alert("操作失败!");
|
||||
$.messager.alert('提示',"操作失败!","error");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -76,9 +76,7 @@
|
||||
else {
|
||||
url = '/userBusiness/update?id=' + id;
|
||||
}
|
||||
|
||||
if (confirm("您确定要保存吗?")) {
|
||||
|
||||
$.messager.confirm("提示","您确定要保存吗?",function(data){
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: "post",
|
||||
@@ -94,14 +92,14 @@
|
||||
success: function (res) {
|
||||
if(res && res.code === 200) {
|
||||
self.parent.$.colorbox.close();
|
||||
alert("操作成功!");
|
||||
$.messager.alert('提示',"操作成功!","info");
|
||||
}
|
||||
else {
|
||||
alert("操作失败!");
|
||||
$.messager.alert('提示',"操作失败!","error");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user