前端
This commit is contained in:
parent
f860bef1fa
commit
691f23590c
@ -2022,8 +2022,27 @@ if ($act == 'newevent') {
|
||||
$('#data_box').hide();
|
||||
$("#echarts-time").hide();
|
||||
$('#datarepairname').html('查看统计');
|
||||
|
||||
$("#dataimg").attr("src",'assets/images/tongji.png');
|
||||
$('#calendardiv').show();
|
||||
$.ajax({
|
||||
url: './?app=pmcalendar&act=getEvents',
|
||||
dataType: 'json',
|
||||
data: {
|
||||
start: Math.round(starttime.getTime() / 1000),
|
||||
end: Math.round(endtime.getTime() / 1000),
|
||||
game: showGame
|
||||
},
|
||||
success: function (doc) {
|
||||
console.log(doc);
|
||||
$("#dabaonum").html("("+doc.count['打包']+")");
|
||||
$("#gengxinnum").html("("+doc.count['版本更新']+")");
|
||||
$("#xiufunum").html("("+doc.count['修复外网']+")");
|
||||
$("#jeidiannum").html("("+doc.count['节点']+")");
|
||||
$("#shangxainnum").html("("+ doc.count['上线'] +")");
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user