prod
校文 3 years ago
parent 418b7068fc
commit 2f0d90b263

@ -1,7 +1,7 @@
/*
* @Author: your name
* @Date: 2021-10-20 16:36:08
* @LastEditTime: 2021-11-15 15:29:21
* @LastEditTime: 2021-11-30 18:56:02
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/api/comm/index.js
@ -143,3 +143,15 @@ export function getEventType(params) {
}
})
}
// 按车型查看品牌
export function getBrandName(params) {
let obj = Object.assign({action: 'getBrandName'}, params)
return httpService({
url: `/api/v6.ashx`,
method: 'post',
data: obj,
headers: {
'content-type': 'application/x-www-form-urlencoded'
}
})
}

@ -1,7 +1,7 @@
<!--
* @Author: xw
* @Date: 2021-10-08 15:56:35
* @LastEditTime: 2021-11-29 10:37:39
* @LastEditTime: 2021-11-30 18:57:02
* @LastEditors: Please set LastEditors
* @Description: 实时事件
* @FilePath: /data-show/src/views/Index/realTimeEvent/index.vue

@ -1,7 +1,7 @@
<!--
* @Author: xw
* @Date: 2021-10-09 10:53:21
* @LastEditTime: 2021-11-29 10:41:14
* @LastEditTime: 2021-11-30 18:58:54
* @LastEditors: Please set LastEditors
* @Description: 传播声量TOP10
* @FilePath: /data-show/src/views/Index/spreadTheSound/index.vue
@ -26,6 +26,7 @@
<script>
import createOpt from "./opt";
import { getHomeBrandSourceType0528 } from "@/api/home";
import {getBrandName} from "@/api/comm"
export default {
name: "spread-the-sound",
data() {
@ -90,7 +91,15 @@ 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) => {
console.log(res)
// this.$router.push("/modelInsight");
})
} else {
let brand = ele.axisValueLabel;
this.setBrand({brandname: brand});

Loading…
Cancel
Save