计算达成率
This commit is contained in:
@@ -301,14 +301,13 @@ export default {
|
|||||||
show: true,
|
show: true,
|
||||||
formatter: ({ name, value }) => {
|
formatter: ({ name, value }) => {
|
||||||
if (this.tabIndex == 0) {
|
if (this.tabIndex == 0) {
|
||||||
return `{name|任务达成率\n\n}{value|${ this.detail.completionRate || 0 }%}`;
|
return `{name|任务达成率\n\n}{value|${ (value / this.info.planCount * 100).toFixed(1) }%}`;
|
||||||
} else {
|
} else {
|
||||||
return `{name|群发送达率\n\n}{value|${ this.detail.completionRate || 0 }%}`;
|
return `{name|群发送达率\n\n}{value|${ (value / this.info.planCount * 100).toFixed(1) }%}`;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
textStyle: {
|
textStyle: {
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
|
|
||||||
},
|
},
|
||||||
rich: {
|
rich: {
|
||||||
name: {
|
name: {
|
||||||
|
|||||||
Reference in New Issue
Block a user