diff --git a/pages/center/Piabodata/TrendAnalysis.vue b/pages/center/Piabodata/TrendAnalysis.vue index e3353e6..9007cc7 100644 --- a/pages/center/Piabodata/TrendAnalysis.vue +++ b/pages/center/Piabodata/TrendAnalysis.vue @@ -200,7 +200,7 @@ + :default-value="selindexList"> @@ -222,6 +222,7 @@ export default { data() { return { + selindexList: [0], // 默认选中第一项 compareFlag: false, numlist: [{ name: '接待量', @@ -736,6 +737,11 @@ this.pamect.accountId = this.lopanobj.id; this.ConsultantDimension() this.Showhiddenunits = false; + for(let i = 0; i < this.selectlist.length; i++) { + if (e[0].value == this.selectlist[i].value) { + this.selindexList[0] = i + } + } }, //获取顾问 getguwenlist() {