|
@@ -172,8 +172,13 @@
|
|
|
},
|
|
},
|
|
|
success : function(resData) {
|
|
success : function(resData) {
|
|
|
if (resData.MINStatus == 0) {
|
|
if (resData.MINStatus == 0) {
|
|
|
- layer.alert('操作成功!', {icon: 1});
|
|
|
|
|
- obj.del(); //删除对应行(tr)的DOM结构,并更新缓存
|
|
|
|
|
|
|
+ //成功后刷新
|
|
|
|
|
+ var btn=$(".layui-laypage-btn")[0];
|
|
|
|
|
+ btn.click();
|
|
|
|
|
+ layer.alert('操作成功!', {
|
|
|
|
|
+ icon: 6,
|
|
|
|
|
+ title: "提示"
|
|
|
|
|
+ });
|
|
|
} else {
|
|
} else {
|
|
|
layer.alert(resData.MINErrorMessage, {
|
|
layer.alert(resData.MINErrorMessage, {
|
|
|
icon: 5,
|
|
icon: 5,
|