prod
校文 3 years ago
parent ef2799e580
commit cf9bc6cac3

@ -1,7 +1,7 @@
<!--
* @Author: xw
* @Date: 2021-10-08 15:56:35
* @LastEditTime: 2021-11-22 10:53:54
* @LastEditTime: 2021-11-29 10:37:39
* @LastEditors: Please set LastEditors
* @Description: 实时事件
* @FilePath: /data-show/src/views/Index/realTimeEvent/index.vue
@ -86,6 +86,7 @@ export default {
let ele = this.darr[row.rowIndex];
if (row.columnIndex === 0) {
let id = ele[3];
this.setHeaderType(3);
this.$router.push({
path: "/eventDEC",
query: { events_id: id },
@ -95,6 +96,7 @@ export default {
let brand = ele[2];
let obj = {brandname: brand};
this.setBrand(obj);
this.setHeaderType(3);
this.$router.push({
path: "/brandInsight"
});

@ -1,7 +1,7 @@
<!--
* @Author: xw
* @Date: 2021-10-08 18:58:00
* @LastEditTime: 2021-11-22 10:54:16
* @LastEditTime: 2021-11-29 10:40:00
* @LastEditors: Please set LastEditors
* @Description: 热销排行
* @FilePath: /data-show/src/views/Index/salesRank/index.vue
@ -117,10 +117,12 @@ export default {
if(this.type === 1) {
let model = ele.axisValueLabel
this.setModel({name: model});
this.setHeaderType(3);
this.$router.push("/modelInsight");
} else {
let brand = ele.axisValueLabel;
this.setBrand({brandname: brand});
this.setHeaderType(3);
this.$router.push("/brandInsight");
}
}

@ -1,7 +1,7 @@
<!--
* @Author: xw
* @Date: 2021-10-09 10:53:21
* @LastEditTime: 2021-11-22 10:54:28
* @LastEditTime: 2021-11-29 10:41:14
* @LastEditors: Please set LastEditors
* @Description: 传播声量TOP10
* @FilePath: /data-show/src/views/Index/spreadTheSound/index.vue
@ -89,10 +89,12 @@ export default {
if(this.type === 1) {
let model = ele.axisValueLabel
this.setModel({name: model});
this.setHeaderType(3);
this.$router.push("/modelInsight");
} else {
let brand = ele.axisValueLabel;
this.setBrand({brandname: brand});
this.setHeaderType(3);
this.$router.push("/brandInsight");
}
}

@ -1,7 +1,7 @@
<!--
* @Author: xw
* @Date: 2021-10-09 11:56:50
* @LastEditTime: 2021-11-22 10:54:34
* @LastEditTime: 2021-11-29 10:41:57
* @LastEditors: Please set LastEditors
* @Description: 尾翼洞察
* @FilePath: /data-show/src/views/Index/tailInsight/index.vue
@ -90,10 +90,12 @@ export default {
if(this.type === 1) {
let model = ele.axisValueLabel
this.setModel({name: model});
this.setHeaderType(3);
this.$router.push("/modelInsight");
} else {
let brand = ele.axisValueLabel;
this.setBrand({brandname: brand});
this.setHeaderType(3);
this.$router.push("/brandInsight");
}
}

@ -1,7 +1,7 @@
<!--
* @Author: your name
* @Date: 2021-10-25 13:20:36
* @LastEditTime: 2021-11-16 15:53:19
* @LastEditTime: 2021-11-29 10:22:21
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/ModelInsight/ml-brand-data/index.vue
@ -55,9 +55,9 @@
</template>
</template>
<span class="s2">
<span class="s2-s1" :style="{width: affObj.a/affObj.z * width +'px'}"></span>
<span class="s2-s1" :style="{width: affObj.b/affObj.z * width + 'px', background: '#54BF93'}"></span>
<span class="s2-s1" :style="{width: affObj.c/affObj.z * width + 'px',background: '#CC9D12'}"></span>
<span class="s2-s1" :style="{width: affObj.a/affObj.z * 100 + '%'}"></span>
<span class="s2-s1" :style="{width: affObj.b/affObj.z * 100 + '%', background: '#54BF93'}"></span>
<span class="s2-s1" :style="{width: affObj.c/affObj.z * 100 + '%',background: '#CC9D12'}"></span>
</span>
</a-popover>
</div>
@ -73,7 +73,6 @@ export default {
props: ["brand", "model"],
data() {
return {
width: 274,
load: false,
form: {
sBrand: "",
@ -137,7 +136,8 @@ export default {
this.affObj.a * 1 +
this.affObj.b * 1 +
this.affObj.c * 1;
resolve(data)
resolve(data)
console.log(this.affObj)
}).catch(() => {
reject(false);
});
@ -189,8 +189,9 @@ export default {
.s2 {
margin-right: 0px;
display: flex;
justify-content: flex-start;
justify-content: flex-end;
cursor: pointer;
width: 274px;
.s2-s1 {
display: block;
width: 102px;

Loading…
Cancel
Save