数据库备份

This commit is contained in:
sugar1569 2018-09-25 12:29:39 +08:00
parent fde2328142
commit e115130767

View File

@ -50,7 +50,7 @@
var fileList = layui.table;
var tableList = layui.table;
//加载sql备份列表
fileList.render({
var buckdata = fileList.render({
elem: '#fileList'
,url:"{:Url('fileList')}"
,cols: [[
@ -72,7 +72,7 @@
layer.confirm('真的删除行么', function(index){
layList.basePost(layList.Url({a:'delFile'}),{feilname:data.time},function (res) {
layList.msg(res.msg);
// layList.reload();
buckdata.reload();
});
obj.del();
layer.close(index);
@ -111,7 +111,7 @@
if(tables.length){
layList.basePost(layList.Url({a:'backup'}),{tables:tables},function (res) {
layList.msg(res.msg);
fileList.reload();
//fileList.reload();
});
}else{
layList.msg('请选择表');