|
@ -167,11 +167,11 @@ |
|
|
result?.map(item => { |
|
|
result?.map(item => { |
|
|
if (moment(item.time).isAfter(nearlyWeekS)) { |
|
|
if (moment(item.time).isAfter(nearlyWeekS)) { |
|
|
nearlyWeek.unshift(item); |
|
|
nearlyWeek.unshift(item); |
|
|
} else if (moment(item.time).isAfter(nearlyMonthS)) { |
|
|
} |
|
|
nearlyMonth = [...nearlyWeek]; |
|
|
if (moment(item.time).isAfter(nearlyMonthS)) { |
|
|
nearlyMonth.unshift(item); |
|
|
nearlyMonth.unshift(item); |
|
|
} if (moment(item.time).isAfter(lastThreeMonthsS)) { |
|
|
} |
|
|
lastThreeMonths = [...nearlyMonth] |
|
|
if (moment(item.time).isAfter(lastThreeMonthsS)) { |
|
|
lastThreeMonths.unshift(item); |
|
|
lastThreeMonths.unshift(item); |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|