//
$(".forExecute").click(function(){
var tableSign = $("-sharptableSign").val();
if(!(tableSign > 0)){
layer.msg("");
return;
}
var forNum = $("-sharpforNum").val();
for(var i = 1; i <= forNum; iPP){
var data = {
"tableSign":tableSign,
"pageNo":i,
"pageSize":$(".pageSize").val(),
"startDate":$(".startDate").val()
};
setTimeout(executeDataCopy(data),5000);
}
})
function executeDataCopy(data){
$.ajax({
type: "get",
url: "executeCopyData.do",
data:data,
dataType: "json",
success: function(data){
if(data != null && data.success != null){
layer.alert(data.msg);
} else {
layer.alert(",");
}
}
});
}