This commit is contained in:
shijingjing
2022-07-28 09:44:56 +08:00
parent 74caeaebf8
commit ea64a690d8
2 changed files with 8 additions and 5 deletions

View File

@@ -254,9 +254,9 @@ export default {
show: true,
formatter: ({ name, value }) => {
if (this.tabIndex == 0) {
return `{name|任务达成率\n\n}{value|${value}%}`;
return `{name|任务达成率\n\n}{value|${value / this.info.planCount }%}`;
} else {
return `{name|群发送达率\n\n}{value|${value}%}`;
return `{name|群发送达率\n\n}{value|${value / this.info.planCount }%}`;
}
},
textStyle: {
@@ -265,7 +265,7 @@ export default {
},
rich: {
name: {
color: "#7300000",
color: "#999",
},
value: {

View File

@@ -88,7 +88,7 @@
<span
:class="detailType == 0 ? 'active' : ''"
@click="detailType = 0, getColData()"
></span
>7</span
>
<span
:class="detailType == 1 ? 'active' : ''"
@@ -711,7 +711,10 @@ export default {
span {
margin-right: 12px;
padding: 8px 10px;
width: 108px;
height: 48px;
line-height: 48px;
text-align: center;
display: inline-block;
border: 1px solid #ddd;
border-radius: 8px;