Browse Source

修改切换品牌、服务数据显示错误问题

pull/130/head
zq 1 week ago
parent
commit
5ad01c3115
  1. 19
      src/views/super/Ranking/RankBatchList.vue

19
src/views/super/Ranking/RankBatchList.vue

@ -268,11 +268,8 @@ export default {
document.title = this.pageTitle; document.title = this.pageTitle;
this.text = this.getNowDate() this.text = this.getNowDate()
this.dataType = this.type this.dataType = this.type
const dataRankObj = { this.dataRank = this.rank_type
'check_type':'1',
'ver_type':'2'
}
this.dataRank = dataRankObj[this.selectedType]
this.getRankingData(); this.getRankingData();
}, },
@ -442,12 +439,12 @@ export default {
this.show_detail_index = row.sort this.show_detail_index = row.sort
}, },
changeRankType() { changeRankType() {
const dataRankObj = { // const dataRankObj = {
'check_type':'1', // 'check_type':'1',
'ver_type':'2' // 'ver_type':'2'
} // }
this.dataType = this.selectedType this.dataType = this.selectedType
this.dataRank = dataRankObj[this.selectedType] // this.dataRank = dataRankObj[this.selectedType]
this.getRankingData() this.getRankingData()
}, },
// //
@ -705,4 +702,4 @@ export default {
color: #1E2226; color: #1E2226;
height: 100%; height: 100%;
} }
</style> </style>

Loading…
Cancel
Save