记得上下班打卡 | git大法好,push需谨慎

Commit 0bf5e328 authored by liuran's avatar liuran

修改会员基础信息

parent c76c85ad
......@@ -1234,6 +1234,33 @@ var table = {
};
$.ajax(config)
},
// 保存信息 弹出提示框
saveModalBody: function(url, data, callback) {
var config = {
url: url,
type: "post",
dataType: "json",
contentType: 'application/json',
data: data,
beforeSend: function () {
$.modal.loading("正在处理中,请稍后...");
},
success: function(result) {
if (typeof callback == "function") {
callback(result);
}
if (result.code == web_status.SUCCESS) {
$.modal.alertSuccess(result.msg)
} else if (result.code == web_status.WARNING) {
$.modal.alertWarning(result.msg)
} else {
$.modal.alertError(result.msg);
}
$.modal.closeLoading();
}
};
$.ajax(config)
},
// 保存选项卡信息
saveTab: function(url, data, callback) {
var config = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment