30625
This commit is contained in:
@@ -63,15 +63,15 @@
|
|||||||
<div class="broken_statistics">
|
<div class="broken_statistics">
|
||||||
<div class="broken_item">
|
<div class="broken_item">
|
||||||
<div>创建宣发任务数</div>
|
<div>创建宣发任务数</div>
|
||||||
<div>{{ peopleNum || 0 }}</div>
|
<div>{{ data.createCount || 0 }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="broken_item">
|
<div class="broken_item">
|
||||||
<div>执行宣发次数</div>
|
<div>执行宣发次数</div>
|
||||||
<div>{{ sendNum || 0 }}</div>
|
<div>{{ data.executeCount || 0 }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="broken_item">
|
<div class="broken_item">
|
||||||
<div>触达人次</div>
|
<div>触达人次</div>
|
||||||
<div>{{ predictNum || 0 }}</div>
|
<div>{{ data.receiveCount || 0 }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="title" >触达人次</div>
|
<div class="title" >触达人次</div>
|
||||||
@@ -232,10 +232,8 @@ export default {
|
|||||||
resY: [],
|
resY: [],
|
||||||
res2Y: [],
|
res2Y: [],
|
||||||
res3Y: [],
|
res3Y: [],
|
||||||
peopleNum: "",
|
colData: [],
|
||||||
sendNum: "",
|
data: {}
|
||||||
predictNum: "",
|
|
||||||
colData: []
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -348,6 +346,7 @@ export default {
|
|||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
|
this.data = res.data;
|
||||||
if (this.timeType == 0) {
|
if (this.timeType == 0) {
|
||||||
this.resX = res.data.trend.map(
|
this.resX = res.data.trend.map(
|
||||||
(e) =>
|
(e) =>
|
||||||
@@ -365,17 +364,8 @@ export default {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
this.resY = res.data.trend.map((e) => e.receiveCount);
|
this.resY = res.data.trend.map((e) => e.receiveCount);
|
||||||
this.peopleNum = this.resY.reduce((accumulator, currentValue) => {
|
|
||||||
return accumulator + currentValue;
|
|
||||||
});
|
|
||||||
this.res2Y = res.data.trend.map((e) => e.executeCount);
|
this.res2Y = res.data.trend.map((e) => e.executeCount);
|
||||||
this.sendNum = this.res2Y.reduce((accumulator, currentValue) => {
|
|
||||||
return accumulator + currentValue;
|
|
||||||
});
|
|
||||||
this.res3Y = res.data.trend.map((e) => e.createCount);
|
this.res3Y = res.data.trend.map((e) => e.createCount);
|
||||||
this.predictNum = this.res3Y.reduce((accumulator, currentValue) => {
|
|
||||||
return accumulator + currentValue;
|
|
||||||
});
|
|
||||||
this.getBrokenEcharts1();
|
this.getBrokenEcharts1();
|
||||||
this.getBrokenEcharts2();
|
this.getBrokenEcharts2();
|
||||||
this.getBrokenEcharts3();
|
this.getBrokenEcharts3();
|
||||||
|
|||||||
Reference in New Issue
Block a user