备份
This commit is contained in:
@ -137,7 +137,16 @@ export default {
|
||||
for (let i = 0; i < this.res.list.length; i++) {
|
||||
const item = this.res.list[i];
|
||||
this.titData.push(item.indicator_name);
|
||||
this.valData.push({ value: item.cate, name: item.indicator_name });
|
||||
this.valData.push({
|
||||
value: item.cate,
|
||||
name: item.indicator_name,
|
||||
tooltip: {
|
||||
trigger: "item",
|
||||
formatter: `{b}</br>目标数:${item.targetTasks}</br>完成数:${
|
||||
item.completedTasks
|
||||
}<br>完成率:${item.cate.toFixed(2)}%`,
|
||||
},
|
||||
});
|
||||
}
|
||||
this.setPageData(val);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user