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