mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-03-17 11:13:45 +00:00
数据库备份
This commit is contained in:
parent
ab9f5e00fd
commit
410e42702f
@ -59,7 +59,12 @@
|
|||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
setTimeout(ipmosrting(time,res.data.part,res.data.start),2000);
|
if(res.code){
|
||||||
|
setTimeout(ipmosrting(time,res.data.part,res.data.start),2000);
|
||||||
|
}else{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
error: function (err) {
|
error: function (err) {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
@ -92,7 +97,6 @@
|
|||||||
switch (layEvent){
|
switch (layEvent){
|
||||||
case 'import':
|
case 'import':
|
||||||
layer.confirm('真的倒入该备份吗?', function(index){
|
layer.confirm('真的倒入该备份吗?', function(index){
|
||||||
|
|
||||||
ipmosrting(data.time,null,null);
|
ipmosrting(data.time,null,null);
|
||||||
layer.close(index);
|
layer.close(index);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user