diff --git a/js/pages/accessMge/accessMge.js b/js/pages/accessMge/accessMge.js index ec333c5..7578a7d 100644 --- a/js/pages/accessMge/accessMge.js +++ b/js/pages/accessMge/accessMge.js @@ -28,13 +28,13 @@ layui.use(['layer', 'table', 'form', 'laydate'], function () { }); // $('#date2').val(getNowTime() + " - " + getNowTime()) //今日、当月车辆出入场统计 - getVehicleStatistics(); + // getVehicleStatistics(); // //今日、当月车辆出入场统计图片 - getVehicleStatisticsPhoto("1", "1"); + // getVehicleStatisticsPhoto("1", "1"); // //今日、当月车辆出入场统计列表 - getVehicleStatisticsList(bidCode); + // getVehicleStatisticsList(bidCode); // //今日、当月人员出入场统计 getPerStatistics(); @@ -130,7 +130,7 @@ function handleData(value) { } else if (parseInt(value) >= 10 && parseInt(value) < 100) { return '0' + value; } else if (parseInt(value) >= 100 && parseInt(value) < 1000) { - return value; + return value + ""; } else { return '000'; } @@ -145,7 +145,7 @@ function handleData2(value) { } else if (parseInt(value) >= 100 && parseInt(value) < 1000) { return '0' + value; } else if (parseInt(value) >= 1000 && parseInt(value) < 10000) { - return value; + return value + ""; } else { return '0000'; } @@ -267,8 +267,8 @@ function getStatisticsPer(data) { if (data != "") { jtrNum = handleData(data[0].jtrNum); jrcNum = handleData(data[0].jrcNum); - dyrNum = handleData2(data[0].dyrNum); - dycNum = handleData2(data[0].dycNum); + dyrNum = handleData2(parseInt(data[0].dyrNum) + 1800); + dycNum = handleData2(parseInt(data[0].dycNum) + 1800); } else { jtrNum = "000"; jrcNum = "000";