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

@ -1,7 +1,7 @@
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-10-20 16:36:08 * @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 * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: /data-show/src/api/comm/index.js * @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 * @Author: xw
* @Date: 2021-10-08 15:56:35 * @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 * @LastEditors: Please set LastEditors
* @Description: 实时事件 * @Description: 实时事件
* @FilePath: /data-show/src/views/Index/realTimeEvent/index.vue * @FilePath: /data-show/src/views/Index/realTimeEvent/index.vue

@ -1,7 +1,7 @@
<!-- <!--
* @Author: xw * @Author: xw
* @Date: 2021-10-09 10:53:21 * @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 * @LastEditors: Please set LastEditors
* @Description: 传播声量TOP10 * @Description: 传播声量TOP10
* @FilePath: /data-show/src/views/Index/spreadTheSound/index.vue * @FilePath: /data-show/src/views/Index/spreadTheSound/index.vue
@ -26,6 +26,7 @@
<script> <script>
import createOpt from "./opt"; import createOpt from "./opt";
import { getHomeBrandSourceType0528 } from "@/api/home"; import { getHomeBrandSourceType0528 } from "@/api/home";
import {getBrandName} from "@/api/comm"
export default { export default {
name: "spread-the-sound", name: "spread-the-sound",
data() { data() {
@ -90,7 +91,15 @@ export default {
let model = ele.axisValueLabel let model = ele.axisValueLabel
this.setModel({name: model}); this.setModel({name: model});
this.setHeaderType(3); 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 { } else {
let brand = ele.axisValueLabel; let brand = ele.axisValueLabel;
this.setBrand({brandname: brand}); this.setBrand({brandname: brand});

Loading…
Cancel
Save