张雄 3 years ago
parent 1c2ed91893
commit f7bbecd005

@ -16,6 +16,7 @@
</template>
<script>
import {getBrandName} from '@/api/comm/index.js'
import { getHomeBrandGroupBy } from "@/api/KeyMediaHome/index.js"
import createOpt from "./opt"
export default {
@ -56,6 +57,7 @@ export default {
})
},
clickEchars(data) {
if(!this.getToken) {return false}
let ele = data;
let brand = ele.axisValueLabel;
this.setBrand({ brandname: brand });

@ -16,6 +16,7 @@
</template>
<script>
import {getBrandName} from '@/api/comm/index.js'
import { getHomeCartypeTop10 } from "@/api/KeyMediaHome/index.js"
import createOpt from "./opt"
export default {
@ -59,7 +60,14 @@ export default {
let ele = data;
let model = ele.axisValueLabel;
this.setModel({ name: model });
this.$router.push("/modelInsight");
let obj = {
token: this.getToken,
sSeriesName: model
}
getBrandName(obj).then(res => {
this.setBrand({ brandname: res.data });
this.$router.push("/modelInsight");
})
}
}
}

Loading…
Cancel
Save