diff --git a/src/views/super/Ranking/RankBatchList.vue b/src/views/super/Ranking/RankBatchList.vue
index 0588b70..9999c9f 100644
--- a/src/views/super/Ranking/RankBatchList.vue
+++ b/src/views/super/Ranking/RankBatchList.vue
@@ -2,7 +2,7 @@
{{ pageTitle }}
-
+
@@ -23,8 +23,8 @@
-
+
= 0; i--) {
- this.labels.push((year - i) + '年' + this.rank_type_desc[this.dataRank]);
+ this.labels.push((year - i) + '年' + this.rank_type_desc[this.rank_type]);
}
} else {
const monthLabels = [];
@@ -478,7 +487,7 @@ export default {
let m = month - i;
if (m <= 0) m += 12;
- monthLabels.push(m + '月' + this.rank_type_desc[this.dataRank]);
+ monthLabels.push(m + '月' + this.rank_type_desc[this.rank_type]);
}
this.labels = monthLabels;
}
@@ -526,6 +535,7 @@ export default {
})
},
getTypeRanking() {
+ console.log(this.dataRank,'that.dataRank===');
//产品排行
const that = this
that.tableData = []
@@ -546,6 +556,7 @@ export default {
that.total = response.data.total
})
}).catch(error => {
+ this.loading = false;
console.error(error, 'error')
})
},