From bd3a890bbe73a3654cbc8fa9d7b00faa04bad885 Mon Sep 17 00:00:00 2001 From: zx <604444282@qq.com> Date: Tue, 30 Aug 2022 15:01:28 +0800 Subject: [PATCH 1/2] zx --- src/api/SpecialAnalize/index.js | 2 +- src/api/comm/index.js | 13 ++ .../iSpecialBrandChoose/index.vue | 8 + .../iSpecialSeriesChoose/index.vue | 160 +++++++++++++++--- src/views/SpecialAnalize/index.vue | 2 +- src/views/SpecialAnalize/tbEvent.js | 4 +- .../sourceTopTen/index.vue | 3 + .../v-ranking-fhtd/index.vue | 1 + .../weiboContentType/index.vue | 2 +- .../wyAffectionPercent/index.vue | 7 +- .../wyAffectionPercent/opt.js | 4 +- src/views/SpecialAnalizeChoose/index.vue | 10 +- 12 files changed, 184 insertions(+), 32 deletions(-) diff --git a/src/api/SpecialAnalize/index.js b/src/api/SpecialAnalize/index.js index aae286d..9030bb3 100644 --- a/src/api/SpecialAnalize/index.js +++ b/src/api/SpecialAnalize/index.js @@ -231,7 +231,7 @@ export function getSourceTopWY(params) { } // 专项分析 - 尾翼调性占比 export function getAffectionsTimeWY(params) { - let obj = Object.assign({action: 'getAffectionsTime', sType: 'BrandWeiYi'}, params) + let obj = Object.assign({action: 'getAffections', sType: 'BrandWeiYi'}, params) return httpService({ url: `/api/v6.ashx`, method: 'post', diff --git a/src/api/comm/index.js b/src/api/comm/index.js index 384060e..6972e16 100644 --- a/src/api/comm/index.js +++ b/src/api/comm/index.js @@ -231,4 +231,17 @@ export function getBrandType(params) { } }) } + +// 车型筛选(精细) +export function getSeriesNameByCategory(params) { + let obj = Object.assign({action: 'getSeriesNameByCategory'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} ///////// diff --git a/src/lycomponents/iSpecialBrandChoose/index.vue b/src/lycomponents/iSpecialBrandChoose/index.vue index ebb292f..16df241 100644 --- a/src/lycomponents/iSpecialBrandChoose/index.vue +++ b/src/lycomponents/iSpecialBrandChoose/index.vue @@ -16,6 +16,7 @@
@@ -153,6 +154,13 @@ export default { handlerSubmit() { this.$emit("change", this.list); }, + selectAll() { + let arr = []; + this.showCars.forEach(ele => { + arr.push(ele.brandname); + }) + this.$emit("selectAll", arr); + } }, }; diff --git a/src/lycomponents/iSpecialSeriesChoose/index.vue b/src/lycomponents/iSpecialSeriesChoose/index.vue index 2a8f3bb..1b00eb9 100644 --- a/src/lycomponents/iSpecialSeriesChoose/index.vue +++ b/src/lycomponents/iSpecialSeriesChoose/index.vue @@ -16,8 +16,55 @@ -
+
+ + + + + {{item.value}} + + + + {{item.value}} + + + + + + {{item.value}} + + + + + {{item.value}} + + + + + {{item.value}} + + + + {{item.value}} + + + + + + {{item.value}} + + + + + {{item.value}} + + + 查询 + + +
@@ -31,13 +78,12 @@
-
-
-
{{item.name}}
-
{{item.name}}
+
+
{{item.seriesname}}
+
{{item.seriesname}}
@@ -52,7 +98,8 @@