prod
校文 3 years ago
parent 406c7e898e
commit a021779b50

@ -1,7 +1,7 @@
<!--
* @Author: xw
* @Date: 2021-10-08 18:58:00
* @LastEditTime: 2021-11-29 10:40:00
* @LastEditTime: 2021-12-02 10:26:23
* @LastEditors: Please set LastEditors
* @Description: 热销排行
* @FilePath: /data-show/src/views/Index/salesRank/index.vue
@ -29,6 +29,7 @@
<script>
import createOpt from "./opt";
import {getCheZhuBrandCount0528, getCheZhuTime0528} from "@/api/home"
import {getBrandName} from "@/api/comm"
export default {
name: "sales-rank",
data() {
@ -118,7 +119,14 @@ export default {
let model = ele.axisValueLabel
this.setModel({name: model});
this.setHeaderType(3);
this.$router.push("/modelInsight");
let obj = {
token: this.getToken,
sSeriesName: model
}
getBrandName(obj).then((res) => {
this.setBrand({brandname: res.data})
this.$router.push("/modelInsight");
})
} else {
let brand = ele.axisValueLabel;
this.setBrand({brandname: brand});

@ -1,7 +1,7 @@
<!--
* @Author: xw
* @Date: 2021-10-09 11:56:50
* @LastEditTime: 2021-11-29 10:41:57
* @LastEditTime: 2021-12-02 10:24:43
* @LastEditors: Please set LastEditors
* @Description: 尾翼洞察
* @FilePath: /data-show/src/views/Index/tailInsight/index.vue
@ -27,10 +27,12 @@
<script>
import createOpt from "./opt"
import {getWeiYiCountHome0528} from "@/api/home"
import {getBrandName} from "@/api/comm"
export default {
name: "tail-insight",
data() {
return {
type: 0,
load: false,
form: {
sQueryType: 1
@ -48,6 +50,7 @@ export default {
methods: {
//
handlerChange(n) {
this.type = n;
this.form.sQueryType = n+1;
this.getData();
},
@ -91,7 +94,14 @@ export default {
let model = ele.axisValueLabel
this.setModel({name: model});
this.setHeaderType(3);
this.$router.push("/modelInsight");
let obj = {
token: this.getToken,
sSeriesName: model
}
getBrandName(obj).then((res) => {
this.setBrand({brandname: res.data})
this.$router.push("/modelInsight");
})
} else {
let brand = ele.axisValueLabel;
this.setBrand({brandname: brand});

Loading…
Cancel
Save