From 6675cb37eb61db3c16ffcb8103a76d650849c8e6 Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Tue, 5 Dec 2017 00:45:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E5=BA=A6=E6=8A=A5=E8=A1=A8=E4=BC=98?= =?UTF-8?q?=E5=8C=96=EF=BC=8C=E6=94=AF=E6=8C=81=E6=97=B6=E9=97=B4=E5=8C=BA?= =?UTF-8?q?=E9=97=B4=E7=AD=9B=E9=80=89=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xxl-job-admin/src/main/webapp/static/js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xxl-job-admin/src/main/webapp/static/js/index.js b/xxl-job-admin/src/main/webapp/static/js/index.js index d20136d6..ff411c43 100644 --- a/xxl-job-admin/src/main/webapp/static/js/index.js +++ b/xxl-job-admin/src/main/webapp/static/js/index.js @@ -6,7 +6,7 @@ $(function () { // 过滤时间 - var _startDate = moment().subtract(1, 'months'); + var _startDate = moment().subtract(1, 'months'); // 默认,最近一月 var _endDate = moment(); $('#filterTime').daterangepicker({ autoApply:false, @@ -23,7 +23,7 @@ $(function () { '本月': [moment().startOf('month'), moment().endOf('month')], '上个月': [moment().subtract(1, 'months').startOf('month'), moment().subtract(1, 'months').endOf('month')], '最近1周': [moment().subtract(1, 'weeks'), moment()], - '最近1月': [moment().subtract(1, 'months'), moment()] + '最近1月': [_startDate, _endDate] }, locale : { format: 'YYYY-MM-DD HH:mm:ss',