|
@@ -251,13 +251,10 @@ const specialQuarter2 = computed(() => {
|
|
|
const RanKingData = ref([]);
|
|
const RanKingData = ref([]);
|
|
|
const rankImgIconArr = [one, two, three, four, five, six, seven, eight, nine, ten];
|
|
const rankImgIconArr = [one, two, three, four, five, six, seven, eight, nine, ten];
|
|
|
const getTaxTop10 = async () => {
|
|
const getTaxTop10 = async () => {
|
|
|
- let res = await getLastQuarterYoY2(specialQuarter.value.quarter);
|
|
|
|
|
- // console.log(specialQuarter.value,111111111);
|
|
|
|
|
- // console.log(specialQuarter2.value,1222222222222);
|
|
|
|
|
- // console.log(res, 7777);
|
|
|
|
|
|
|
+ let res = await getLastQuarterYoY2(specialQuarter.value.quarter,false);
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
- if (res.data[0].lastQuarterCurrentTotal == 0) {
|
|
|
|
|
- res = await getLastQuarterYoY2(specialQuarter2.value.quarter);
|
|
|
|
|
|
|
+ if (res.data[0].lastQuarterCurrentTotal == 0 || res.data[0].lastQuarterCurrentTotal == null) {
|
|
|
|
|
+ res = await getLastQuarterYoY2(specialQuarter2.value.quarter,false);
|
|
|
}
|
|
}
|
|
|
res.data = res.data.slice(0, 10);
|
|
res.data = res.data.slice(0, 10);
|
|
|
if(!specialQuarter.value.isPassYear && !specialQuarter2.value.isPassYear){
|
|
if(!specialQuarter.value.isPassYear && !specialQuarter2.value.isPassYear){
|