mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-02-07 06:15:33 +00:00
数据库备份
This commit is contained in:
parent
3193a3e30f
commit
2cea0bb4f9
@ -66,7 +66,7 @@
|
|||||||
//监听工具条
|
//监听工具条
|
||||||
fileList.on('tool(fileList)', function(obj){
|
fileList.on('tool(fileList)', function(obj){
|
||||||
var data = obj.data;
|
var data = obj.data;
|
||||||
var layEvent = obj.data;
|
var layEvent = obj.event;
|
||||||
switch (layEvent){
|
switch (layEvent){
|
||||||
case 'import':
|
case 'import':
|
||||||
layer.confirm('真的倒入该备份吗?', function(index){
|
layer.confirm('真的倒入该备份吗?', function(index){
|
||||||
@ -92,20 +92,7 @@
|
|||||||
$eb.createModalFrame('详情',layList.Url({a:'downloadFile',p:{feilname:data.name}}));
|
$eb.createModalFrame('详情',layList.Url({a:'downloadFile',p:{feilname:data.name}}));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(obj.event === 'import'){
|
|
||||||
layer.msg('ID:'+ data.id + ' 的查看操作');
|
|
||||||
} else if(obj.event === 'delFile'){
|
|
||||||
layer.confirm('真的删除行么', function(index){
|
|
||||||
layList.basePost(layList.Url({a:'delFile'}),{feilname:data.time},function (res) {
|
|
||||||
layList.msg(res.msg);
|
|
||||||
buckdata.reload();
|
|
||||||
});
|
|
||||||
obj.del();
|
|
||||||
layer.close(index);
|
|
||||||
});
|
|
||||||
} else if(obj.event === 'downloadFile'){
|
|
||||||
layer.alert('编辑行:<br>'+ JSON.stringify(data))
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
//加载table
|
//加载table
|
||||||
tableList.render({
|
tableList.render({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user