mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-17 15:02:48 +00:00
数据库备份
This commit is contained in:
parent
1bfc2015bb
commit
15ad097d22
@ -89,12 +89,24 @@
|
|||||||
switch (layEvent){
|
switch (layEvent){
|
||||||
case 'import':
|
case 'import':
|
||||||
layer.confirm('真的倒入该备份吗?', function(index){
|
layer.confirm('真的倒入该备份吗?', function(index){
|
||||||
layList.basePost(layList.Url({a:'import'}),data,function (res) {
|
var datas = {
|
||||||
console.log(123);
|
time:data.time,
|
||||||
|
part:part,
|
||||||
|
start:start
|
||||||
|
};
|
||||||
|
|
||||||
|
$.ajax({
|
||||||
|
url: layList.Url({a:'import'}),
|
||||||
|
data: datas,
|
||||||
|
type: 'post',
|
||||||
|
dataType: 'json',
|
||||||
|
success: function (rem) {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
},
|
||||||
|
error: function (err) {
|
||||||
|
console.log(res)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
});
|
|
||||||
//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