mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-18 07:42:55 +00:00
数据库备份
This commit is contained in:
parent
fde2328142
commit
e115130767
@ -50,7 +50,7 @@
|
|||||||
var fileList = layui.table;
|
var fileList = layui.table;
|
||||||
var tableList = layui.table;
|
var tableList = layui.table;
|
||||||
//加载sql备份列表
|
//加载sql备份列表
|
||||||
fileList.render({
|
var buckdata = fileList.render({
|
||||||
elem: '#fileList'
|
elem: '#fileList'
|
||||||
,url:"{:Url('fileList')}"
|
,url:"{:Url('fileList')}"
|
||||||
,cols: [[
|
,cols: [[
|
||||||
@ -72,7 +72,7 @@
|
|||||||
layer.confirm('真的删除行么', function(index){
|
layer.confirm('真的删除行么', function(index){
|
||||||
layList.basePost(layList.Url({a:'delFile'}),{feilname:data.time},function (res) {
|
layList.basePost(layList.Url({a:'delFile'}),{feilname:data.time},function (res) {
|
||||||
layList.msg(res.msg);
|
layList.msg(res.msg);
|
||||||
// layList.reload();
|
buckdata.reload();
|
||||||
});
|
});
|
||||||
obj.del();
|
obj.del();
|
||||||
layer.close(index);
|
layer.close(index);
|
||||||
@ -111,7 +111,7 @@
|
|||||||
if(tables.length){
|
if(tables.length){
|
||||||
layList.basePost(layList.Url({a:'backup'}),{tables:tables},function (res) {
|
layList.basePost(layList.Url({a:'backup'}),{tables:tables},function (res) {
|
||||||
layList.msg(res.msg);
|
layList.msg(res.msg);
|
||||||
fileList.reload();
|
//fileList.reload();
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
layList.msg('请选择表');
|
layList.msg('请选择表');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user