|
@ -138,11 +138,11 @@ |
|
|
hideLoading(); |
|
|
hideLoading(); |
|
|
renderBillingDom([]) |
|
|
renderBillingDom([]) |
|
|
$('.loading').show(); |
|
|
$('.loading').show(); |
|
|
|
|
|
$('.filter-item').removeClass('active'); |
|
|
|
|
|
const key = $(this).attr('data-query-key'); |
|
|
|
|
|
$(this).addClass('active') |
|
|
const timer = setTimeout(() => { |
|
|
const timer = setTimeout(() => { |
|
|
clearTimeout(timer) |
|
|
clearTimeout(timer) |
|
|
$('.filter-item').removeClass('active'); |
|
|
|
|
|
const key = $(this).attr('data-query-key'); |
|
|
|
|
|
$(this).addClass('active') |
|
|
|
|
|
if (key === 'nearlyMonth') { |
|
|
if (key === 'nearlyMonth') { |
|
|
renderBillingDom(nearlyMonth) |
|
|
renderBillingDom(nearlyMonth) |
|
|
} else if (key === 'lastThreeMonths') { |
|
|
} else if (key === 'lastThreeMonths') { |
|
|