|
@@ -402,15 +402,12 @@ function finish()
|
|
|
|
|
|
success: function (data) {
|
|
success: function (data) {
|
|
// var index = config.host + "lib/manage.code&id=<{$active_id}>";
|
|
// var index = config.host + "lib/manage.code&id=<{$active_id}>";
|
|
- layer.alert(data.msg, function(){
|
|
|
|
- location.href = config.host + "lib/manage.setInfoStatus&id=" + id;
|
|
|
|
-
|
|
|
|
- });
|
|
|
|
|
|
+ location.reload();
|
|
|
|
+ layui.layer.closeAll();
|
|
|
|
|
|
},
|
|
},
|
|
});
|
|
});
|
|
- location.reload();
|
|
|
|
- layui.layer.closeAll();
|
|
|
|
|
|
+
|
|
|
|
|
|
});
|
|
});
|
|
}
|
|
}
|
|
@@ -434,13 +431,11 @@ function finish()
|
|
dataType: "json",
|
|
dataType: "json",
|
|
|
|
|
|
success: function (data) {
|
|
success: function (data) {
|
|
- layer.alert(data.msg, function(){
|
|
|
|
- location.href = config.host + "lib/manage.setInfoStatus&type=" + type +"&id=" + id;
|
|
|
|
- });
|
|
|
|
|
|
+ location.reload();
|
|
|
|
+ layui.layer.closeAll();
|
|
},
|
|
},
|
|
});
|
|
});
|
|
- location.reload();
|
|
|
|
- layui.layer.closeAll();
|
|
|
|
|
|
+
|
|
|
|
|
|
});
|
|
});
|
|
}
|
|
}
|