Browse Source

Merge pull request '任务完成比例整数显示' (#866) from wangjr_pro into V20211115

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/866
Reviewed-by: zhoupzh <zhoupzh@pcl.ac.cn>
pull/873/head
zhoupzh 3 years ago
parent
commit
1793fa823b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      web_src/js/components/ProAnalysis.vue

+ 2
- 1
web_src/js/components/ProAnalysis.vue View File

@@ -182,7 +182,7 @@
</el-col>
<el-col :span='4' style="text-align: center;">
<el-row>任务完成比例</el-row>
<el-row class="item_content">{{(tableDataIDTotal.issueClosedRatio * 100) | rounding}}%</el-row>
<el-row class="item_content">{{Math.round(tableDataIDTotal.issueClosedRatio * 100) }}%</el-row>
</el-col>
</el-row>
</div>
@@ -961,6 +961,7 @@
}
},
filters:{

rounding (value) {
return Number(value).toFixed(2)
},


Loading…
Cancel
Save