mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-03 18:38:12 +00:00
数据库备份
This commit is contained in:
parent
b5d620597a
commit
334d9079f2
@ -110,13 +110,18 @@
|
||||
switch(obj.event){
|
||||
case 'getCheckData':
|
||||
var data = checkStatus.data;
|
||||
var ids = [];
|
||||
var tables = [];
|
||||
$.each(data, function (name, value) {
|
||||
if (value['name'] != undefined) ids.push(value['name']);
|
||||
if (value['name'] != undefined) tables.push(value['name']);
|
||||
});
|
||||
console.log(data);
|
||||
console.log(ids);
|
||||
layer.alert(JSON.stringify(ids));
|
||||
if(tables.length){
|
||||
layList.basePost(layList.Url({a:'optimize'}),{tables:tables},function (res) {
|
||||
layList.msg(res.msg);
|
||||
filelist.reload();
|
||||
});
|
||||
}else{
|
||||
layList.msg('请选择表');
|
||||
}
|
||||
break;
|
||||
case 'getCheckLength':
|
||||
var data = checkStatus.data;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user