|
@@ -315,6 +315,7 @@
|
|
|
<div class="titleContext">
|
|
|
<span class="spot"> </span>
|
|
|
分版位数据
|
|
|
+ <span class="titleTip" style="font-size:12px;margin-left:10px">数据与消耗存在一定误差</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="eachrt">
|
|
@@ -331,6 +332,7 @@
|
|
|
<div class="titleContext">
|
|
|
<span class="spot"> </span>
|
|
|
分年龄数据
|
|
|
+ <!-- <span class="titleTip" style="font-size:12px;margin-left:10px">数据与消耗存在一定误差</span> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="eachrt">
|
|
@@ -345,6 +347,7 @@
|
|
|
<div class="titleContext">
|
|
|
<span class="spot"> </span>
|
|
|
分性别数据
|
|
|
+ <!-- <span class="titleTip" style="font-size:12px;margin-left:10px">数据与消耗存在一定误差</span> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="eachrt">
|
|
@@ -883,8 +886,8 @@ const columns=[
|
|
|
changeColumn(val){
|
|
|
if(this.AggregateByHourList.today && this.AggregateByHourList.yesterday){
|
|
|
val.forEach(item=>{
|
|
|
- item.today=this.AggregateByHourList.today[item.dataIndex];
|
|
|
- item.yesterday=this.AggregateByHourList.yesterday[item.dataIndex]
|
|
|
+ item.today=this.AggregateByHourList.today?this.AggregateByHourList.today[item.dataIndex]:0;
|
|
|
+ item.yesterday=this.AggregateByHourList.yesterday?this.AggregateByHourList.yesterday[item.dataIndex]:0
|
|
|
})
|
|
|
this.columns=[...val];
|
|
|
let arr = JSON.stringify(this.columns)
|
|
@@ -931,6 +934,10 @@ const columns=[
|
|
|
if (columns.length >= columnsFixd.length) {
|
|
|
|
|
|
columns = columns.slice(columnsFixd.length)
|
|
|
+ columns.forEach(item=>{
|
|
|
+ item.today=0;
|
|
|
+ item.yesterday=0;
|
|
|
+ })
|
|
|
this.columns = [...columnsFixd, ...columns]
|
|
|
|
|
|
|