|
@ -88,7 +88,7 @@ var nowDay = now.getDate(); //当前日
|
|
|
var nowMonth = now.getMonth(); //当前月
|
|
|
var nowYear = now.getYear(); //当前年
|
|
|
nowYear += (nowYear < 2000) ? 1900 : 0; //
|
|
|
nowYear = nowYear-1;//由于2018年没数据,故查询2017年数据(测试)
|
|
|
//nowYear = nowYear-1;//由于2018年没数据,故查询2017年数据(测试)
|
|
|
var lastMonthDate = new Date(); //上月日期
|
|
|
lastMonthDate.setDate(1);
|
|
|
lastMonthDate.setMonth(lastMonthDate.getMonth() - 1);
|