diff --git a/src/views/ModelInsight/index.vue b/src/views/ModelInsight/index.vue
index e4d1100..24bf4d9 100644
--- a/src/views/ModelInsight/index.vue
+++ b/src/views/ModelInsight/index.vue
@@ -113,11 +113,16 @@ export default {
this.modelData();
},
methods: {
+ // 前往各个详情
+ goRouter(path, query = {}) {
+ this.$router.push({path: path, query: query});
+ },
openModel() {
this.modelShow = true;
},
// 获取车型
modelData() {
+
let model = this.getModel.name || "";
if (!model) {
this.getUserSeriesName(this.brand);
diff --git a/src/views/TailInsightDetails/index.vue b/src/views/TailInsightDetails/index.vue
index 1e753d2..aa60a4b 100644
--- a/src/views/TailInsightDetails/index.vue
+++ b/src/views/TailInsightDetails/index.vue
@@ -15,10 +15,10 @@
- 奥迪
+ {{this.form.sBrand}}
- 洞察分析:共监测到尾翼信息5条,2021-06-15 10:00:00尾翼传播达到波峰值,共监测到1条信息.,尾翼信息主要分布在萝卜投研,微信等媒体平台,媒体尾翼分布占比为萝卜投研 60%,微信 40%.,网民对于该品牌主要关注"上市,全新,不错,亮点,搭载"等信息.,通过对行业大数据的聚合分析,可以发现网民热议TOP10车型分别为”奥迪h6,rav4荣放,博越"等.
+ 洞察分析:共{{msg}}
@@ -39,6 +39,7 @@ import mediaDistribution from "./mediaDistribution"
import theOverallToneOfTheTail from "./theOverallToneOfTheTail"
import popularWordCloud from "./popular-word-cloud"
import rearWingInformationList from "./rearWingInformationList"
+import {getWeiYiInsightAnalysis} from '@/api/TailInsightdetails'
export default {
name: "TailInsightDetails",
components: {
@@ -48,12 +49,33 @@ export default {
popularWordCloud, // 热门词云
rearWingInformationList // 尾翼信息列表
},
+ data() {
+ return {
+ msg: "",
+ form: {
+ sBrand: "",
+ token: "",
+ },
+ }
+ },
+ created() {
+ this.form.token = this.getToken;
+ this.form.sBrand = this.getBrand.brandname || '奥迪';
+ this.getDdta();
+ },
methods: {
+ getDdta(){
+ let obj = Object.assign({}, this.getCtime2, this.form);
+ getWeiYiInsightAnalysis(obj).then(res => {
+ let data = res.msg;
+ this.msg = data;
+ })
+ },
goback() {
this.$router.go(-1);
}
}
-};
+}