张雄 3 years ago
commit 418b7068fc

@ -1,7 +1,7 @@
<!-- <!--
* @Author: xw * @Author: xw
* @Date: 2021-10-11 18:42:58 * @Date: 2021-10-11 18:42:58
* @LastEditTime: 2021-11-04 14:13:42 * @LastEditTime: 2021-11-29 10:48:33
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 品牌数据 * @Description: 品牌数据
* @FilePath: /data-show/src/views/BrandInsight/brandData/index.vue * @FilePath: /data-show/src/views/BrandInsight/brandData/index.vue
@ -43,9 +43,9 @@
</template> </template>
</template> </template>
<span class="s2"> <span class="s2">
<span class="s2-s1" :style="{width: affObj.a/affObj.z * width +'px'}"></span> <span class="s2-s1" :style="{width: affObj.a/affObj.z * 100 +'%'}"></span>
<span class="s2-s1" :style="{width: affObj.b/affObj.z * width + 'px', background: '#54BF93'}"></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 * width + 'px',background: '#CC9D12'}"></span> <span class="s2-s1" :style="{width: affObj.c/affObj.z * 100 + '%',background: '#CC9D12'}"></span>
</span> </span>
</a-popover> </a-popover>
</div> </div>
@ -61,7 +61,6 @@ export default {
props: ["brand"], props: ["brand"],
data() { data() {
return { return {
width: 274,
count: 0, count: 0,
countArr: [], countArr: [],
load: false, load: false,

@ -1,7 +1,7 @@
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-10-12 11:16:44 * @Date: 2021-10-12 11:16:44
* @LastEditTime: 2021-11-16 15:44:07 * @LastEditTime: 2021-11-29 10:59:38
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: /data-show/src/views/BrandInsight/popularEvents/opt.js * @FilePath: /data-show/src/views/BrandInsight/popularEvents/opt.js
@ -25,7 +25,7 @@ function createData(obj = {}) {
data: obj[key], data: obj[key],
type: 'scatter', type: 'scatter',
symbolSize: function (data) { symbolSize: function (data) {
return data[2]/1.2 return data[2] / 0.023e2;
} }
} }
arr.push(o) arr.push(o)

@ -1,7 +1,7 @@
<!-- <!--
* @Author: xw * @Author: xw
* @Date: 2021-10-12 09:32:35 * @Date: 2021-10-12 09:32:35
* @LastEditTime: 2021-11-19 18:31:48 * @LastEditTime: 2021-11-26 17:29:09
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 舆情传播趋势 * @Description: 舆情传播趋势
* @FilePath: /data-show/src/views/BrandInsight/titsopo/index.vue * @FilePath: /data-show/src/views/BrandInsight/titsopo/index.vue
@ -141,7 +141,7 @@ export default {
// //
exportData() { exportData() {
let obj = Object.assign({}, this.getCtime2, this.form); let obj = Object.assign({}, this.getCtime2, this.form);
obj.iContrastType = 1; obj.sType = 'ToBrandPptV6'
this.btnLoading = true; this.btnLoading = true;
getToPptTask(obj).then(() => { getToPptTask(obj).then(() => {
this.$notification.open({ this.$notification.open({

@ -1,7 +1,7 @@
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-10-18 10:42:29 * @Date: 2021-10-18 10:42:29
* @LastEditTime: 2021-11-19 15:44:04 * @LastEditTime: 2021-11-26 17:40:31
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventComparison/ec-d1/index.vue * @FilePath: /data-show/src/views/EventComparison/ec-d1/index.vue
@ -69,7 +69,7 @@ export default {
token: this.getToken, token: this.getToken,
iContrastType: 3, iContrastType: 3,
sRele: sRele, sRele: sRele,
sType: 'ToEventPptV6' sType: 'ToEventPptV6C'
}); });
getToPptTask(obj).then(() => { getToPptTask(obj).then(() => {
this.$notification.open({ this.$notification.open({

@ -1,7 +1,7 @@
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-10-19 15:57:11 * @Date: 2021-10-19 15:57:11
* @LastEditTime: 2021-11-19 15:39:01 * @LastEditTime: 2021-11-26 17:41:34
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventDEC/index.vue * @FilePath: /data-show/src/views/EventDEC/index.vue
@ -130,7 +130,6 @@ export default {
this.btnLoading = true; this.btnLoading = true;
let obj = Object.assign({}, this.getCtime2, { let obj = Object.assign({}, this.getCtime2, {
token: this.getToken, token: this.getToken,
iContrastType: 3,
sRele: this.events_id, sRele: this.events_id,
sType: 'ToEventPptV6' sType: 'ToEventPptV6'
}); });

@ -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-22 10:53:54 * @LastEditTime: 2021-11-29 10:37:39
* @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
@ -86,6 +86,7 @@ export default {
let ele = this.darr[row.rowIndex]; let ele = this.darr[row.rowIndex];
if (row.columnIndex === 0) { if (row.columnIndex === 0) {
let id = ele[3]; let id = ele[3];
this.setHeaderType(3);
this.$router.push({ this.$router.push({
path: "/eventDEC", path: "/eventDEC",
query: { events_id: id }, query: { events_id: id },
@ -95,6 +96,7 @@ export default {
let brand = ele[2]; let brand = ele[2];
let obj = {brandname: brand}; let obj = {brandname: brand};
this.setBrand(obj); this.setBrand(obj);
this.setHeaderType(3);
this.$router.push({ this.$router.push({
path: "/brandInsight" path: "/brandInsight"
}); });

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

@ -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-22 10:54:28 * @LastEditTime: 2021-11-29 10:41:14
* @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
@ -89,10 +89,12 @@ export default {
if(this.type === 1) { if(this.type === 1) {
let model = ele.axisValueLabel let model = ele.axisValueLabel
this.setModel({name: model}); this.setModel({name: model});
this.setHeaderType(3);
this.$router.push("/modelInsight"); this.$router.push("/modelInsight");
} else { } else {
let brand = ele.axisValueLabel; let brand = ele.axisValueLabel;
this.setBrand({brandname: brand}); this.setBrand({brandname: brand});
this.setHeaderType(3);
this.$router.push("/brandInsight"); this.$router.push("/brandInsight");
} }
} }

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

@ -1,7 +1,7 @@
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-11-03 11:54:08 * @Date: 2021-11-03 11:54:08
* @LastEditTime: 2021-11-19 15:41:42 * @LastEditTime: 2021-11-26 17:36:33
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: /data-show/src/views/MarketingComparison/mcChooseModel/index.vue * @FilePath: /data-show/src/views/MarketingComparison/mcChooseModel/index.vue
@ -176,7 +176,7 @@ export default {
iContrastType: 2, iContrastType: 2,
sBrand: sBrand, sBrand: sBrand,
sSeriesName: sSeriesName, sSeriesName: sSeriesName,
sType: 'ToSeriesPptV6' sType: 'ToSeriesPptV6C'
}); });
getToPptTask(obj).then(() => { getToPptTask(obj).then(() => {
this.$notification.open({ this.$notification.open({

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

@ -1,7 +1,7 @@
<!-- <!--
* @Author: xw * @Author: xw
* @Date: 2021-10-12 09:32:35 * @Date: 2021-10-12 09:32:35
* @LastEditTime: 2021-11-19 18:32:18 * @LastEditTime: 2021-11-26 17:34:30
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 舆情传播趋势 * @Description: 舆情传播趋势
* @FilePath: /data-show/src/views/BrandInsight/titsopo/index.vue * @FilePath: /data-show/src/views/BrandInsight/titsopo/index.vue
@ -148,7 +148,6 @@ export default {
// //
exportData() { exportData() {
let obj = Object.assign({}, this.getCtime2, this.form); let obj = Object.assign({}, this.getCtime2, this.form);
obj.iContrastType = 2;
obj.sType = 'ToSeriesPptV6'; obj.sType = 'ToSeriesPptV6';
this.btnLoading = true; this.btnLoading = true;
getToPptTask(obj).then(() => { getToPptTask(obj).then(() => {

@ -1,7 +1,7 @@
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-10-12 11:16:44 * @Date: 2021-10-12 11:16:44
* @LastEditTime: 2021-11-16 15:49:47 * @LastEditTime: 2021-11-29 11:01:29
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: /data-show/src/views/BrandInsight/popularEvents/opt.js * @FilePath: /data-show/src/views/BrandInsight/popularEvents/opt.js
@ -18,7 +18,7 @@ function createData(obj = {}) {
data: obj[key], data: obj[key],
type: 'scatter', type: 'scatter',
symbolSize: function (data) { symbolSize: function (data) {
return data[2] / 1.2 return data[2] / 0.023e2
} }
} }
arr.push(o) arr.push(o)

Loading…
Cancel
Save