This commit is contained in:
cxc
2022-06-24 17:38:12 +08:00
parent c1a79aa727
commit 6c5de74adf
3 changed files with 13 additions and 4 deletions

View File

@ -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);
});

Binary file not shown.

View File

@ -35,9 +35,9 @@ module.exports = {
[process.env.VUE_APP_BASE_API]: {
// target: `http://localhost:1818`,
// target: `http://120.26.107.74:1818`,
// target: `http://192.168.3.127:1818`,
target: `http://192.168.10.3:1818`,
// target: `http://172.18.3.127:1818`,
// target: `http://172.18.3.109:1818`,
// target: `http://192.168.10.3:1818`,
target: `http://172.18.3.127:1818`,
// target: `http://124.70.138.50:1818`,
changeOrigin: true,
pathRewrite: {