|
|
@ -1545,13 +1545,9 @@ function getMasterRepSlaveUserCmd(username, db=''){ |
|
|
|
function delMasterRepSlaveUser(username){ |
|
|
|
function delMasterRepSlaveUser(username){ |
|
|
|
myPost('del_master_rep_slave_user', {username:username}, function(data){ |
|
|
|
myPost('del_master_rep_slave_user', {username:username}, function(data){ |
|
|
|
var rdata = $.parseJSON(data.data); |
|
|
|
var rdata = $.parseJSON(data.data); |
|
|
|
layer.msg(rdata.msg); |
|
|
|
showMsg(rdata.msg, function(){ |
|
|
|
|
|
|
|
|
|
|
|
$('.layui-layer-close1').click(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setTimeout(function(){ |
|
|
|
|
|
|
|
getMasterRepSlaveList(); |
|
|
|
getMasterRepSlaveList(); |
|
|
|
},1000); |
|
|
|
},{icon: rdata.status ? 1 : 2},1000) |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|