From c92379b55f168cd9df616d8002c3cf62ae73f3b3 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Tue, 18 Jun 2024 10:30:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=85=A5=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/pages/accessMge/accessMge.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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";