|
|
|
@ -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});
|
|
|
|
|