Browse Source

modify code

tags/v1.21.12.1
Gitea 4 years ago
parent
commit
6c6d660276
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