diff --git a/pages/center/Piabodata/TrendAnalysis.vue b/pages/center/Piabodata/TrendAnalysis.vue index 09b0e7b..836338f 100644 --- a/pages/center/Piabodata/TrendAnalysis.vue +++ b/pages/center/Piabodata/TrendAnalysis.vue @@ -443,6 +443,10 @@ console.log(res) if (res) { this.showMarketingList = res + this.showMarketingList.unshift({ + templateName: '全部', + id: '' + }) } }) }, @@ -708,8 +712,8 @@ //tab切换 tabxuanxiangtap(index) { if (index == 1 || index == 3 || index == 4) { - this.marketingBusinessText = this.showMarketingList[0].templateName - this.marketingBusiness = this.showMarketingList[0].id + this.marketingBusinessText = this.showMarketingList[1].templateName + this.marketingBusiness = this.showMarketingList[1].id } this.newactiveTotal = index; this.Selectlevel = false;