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 @@